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
commit
08e16b5d6b
|
@ -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."
|
||||
],
|
||||
"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);"
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue