Added semicolon to end of first statement in challegeSeed for Regular Expressions: Find Characters with Lazy Matching

This commit is contained in:
Ankit Dwivedi
2017-02-04 07:09:54 -08:00
parent 682cef18df
commit 37ecbcb5b5

View File

@ -420,7 +420,7 @@
"Fix the regex <code>/&lt;.*&gt;/</code> to return the HTML tag <code>&lt;h1&gt;</code> and not the text <code>\"&lt;h1&gt;Winter is coming&lt;/h1&gt;\"</code>. Remember the wildcard <code>.</code> in a regular expression matches any character."
],
"challengeSeed": [
"let text = \"<h1>Winter is coming</h1>\"",
"let text = \"<h1>Winter is coming</h1>\";",
"let myRegex = /<.*>/; // Change this line",
"let result = text.match(myRegex);"
],