I used let result = vowelRegex.test(vowelRegex); and i

Tell us what’s happening:
Describe your issue in detail here.
i used let result = vowelRegex.test(quoteSample); got ERROR
while using let result = quoteSample.match(vowelRegex); got completed
why i got error by using test
error : You should find all 25 vowels.
Your regex should not match any consonants.

Your code so far

let quoteSample = "Beware of bugs in the above code; I have only proved it correct, not tried it.";
let vowelRegex = /change/; // Change this line
let result = 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/98.0.4758.102 Safari/537.36 Edg/98.0.1108.55

Challenge: Match Single Character with Multiple Possibilities

Link to the challenge:

It looks like you haven’t changed vowelRegex.

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