Matching characters with single or multiple possibilities

Tell us what’s happening:

Your code so far

<p>kindly help, I'm not passing this test, what else am I supposed to do</p>
let quoteSample = "Beware of bugs in the above code; I have only proved it correct, not tried it.";
let vowelRegex = /[aeiou]gi/; // 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/89.0.4389.128 Safari/537.36.

Challenge: Match Single Character with Multiple Possibilities

Link to the challenge:

Hi @ayomideawolope !

The g and i flags are in the wrong place

They are supposed to be outside the /

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