Invalid completion test - Sentence has 26 vowels

Tell us what’s happening:
I knew I Had this code correct. I went ahead and pasted it in to my local node to see what its output would be, and it works perfect. The problem is, theres 26 vowels in the text. I think you’re test is looking for 25 results, and errors. I was able to get it to come back successful by deleting one vowel in the sentence.

Your code so far

let quoteSample = "Beware of bugs in the above code; I have only proved it correct, not tried t.";
let vowelRegex = /[a,e,i,o,u]/ig; // Change this line
let result = quoteSample.match(vowelRegex); // 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/102.0.5005.61 Safari/537.36

Challenge: Match Single Character with Multiple Possibilities

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.