Merge pull request #13135 from ankitdwivedi23/fix/add-missing-semicolon

Added semicolon to end of first statement in the challenge "Regular Expressions: Find Characters with Lazy Matching"
pull/13141/head
Samuel Plumppu 2017-02-04 18:32:53 +01:00 committed by GitHub
commit 08e16b5d6b
1 changed files with 1 additions and 1 deletions

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);"
],