Tell us what’s happening:
here’s what appeared (and no matter how much I try again it still appears) in the console.
// running tests Your regex
myRegex should match 17 items.
// tests completed
This exercide is quite easy. It’s not complicated. I know my code is correct, since I already took a look at the solution, but I can not figure out what the problem here is. Maybe it is a bug.
Your code so far
let quoteSample = "Blueberry 3.141592653s are delicious."; let myRegex = /h-s2-6/gi; // Change this line let result = quoteSample.match(myRegex); // Change this line
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36 Edg/89.0.774.45.
Challenge: Match Numbers and Letters of the Alphabet
Link to the challenge: