Tell us what’s happening:
I think that the test should be more sophisticated. I haven’t had to use the lazy matching to pass the lesson.
Your code so far
let text = "<h1>Winter is coming</h1>"; let myRegex = /<h1>/; // Change this line let result = text.match(myRegex);
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0.