Freecodecamp: [beta] Missing semicolon in challengeSeed for "Regular Expressions: Find Characters with Lazy Matching"

Created on 2 Feb 2017  路  1Comment  路  Source: freeCodeCamp/freeCodeCamp

Challenge find-characters-with-lazy-matching has an issue.


let text = "<h1>Winter is coming</h1>"
let myRegex = /<.*>/; // Change this line
let result = text.match(myRegex);

The first line of the challengeSeed for this challenge needs a semicolon to prevent the editor from showing a warning when the challenge loads.

If you want to fix this, please read CONTRIBUTING.md to get started.

When you're all set, add a semicolon to this line and make your commit.

If you have any questions, please come chat with us in the Contributors Chat Room.

Happy Coding :smile:

first timers only help wanted learn

Most helpful comment

Hi, I would like to fix this issue.

>All comments

Hi, I would like to fix this issue.

Was this page helpful?
0 / 5 - 0 ratings