Added semicolon to end of first statement in challegeSeed for Regular Expressions: Find Characters with Lazy Matching
This commit is contained in:
@ -420,7 +420,7 @@
|
|||||||
"Fix the regex <code>/<.*>/</code> to return the HTML tag <code><h1></code> and not the text <code>\"<h1>Winter is coming</h1>\"</code>. Remember the wildcard <code>.</code> in a regular expression matches any character."
|
"Fix the regex <code>/<.*>/</code> to return the HTML tag <code><h1></code> and not the text <code>\"<h1>Winter is coming</h1>\"</code>. Remember the wildcard <code>.</code> in a regular expression matches any character."
|
||||||
],
|
],
|
||||||
"challengeSeed": [
|
"challengeSeed": [
|
||||||
"let text = \"<h1>Winter is coming</h1>\"",
|
"let text = \"<h1>Winter is coming</h1>\";",
|
||||||
"let myRegex = /<.*>/; // Change this line",
|
"let myRegex = /<.*>/; // Change this line",
|
||||||
"let result = text.match(myRegex);"
|
"let result = text.match(myRegex);"
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user