Бьюсь с заданием со вчерашнего дня. Тема Regular Expressions: Match Single Character with Multiple Possibilities.
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 = vowelRegex.test(quoteSample); // Change this line
// running tests
You should find all 25 vowels.
Your regex should not match any consonants.
// tests completed
☒ You should find all 25 vowels.
☑ Your regex vowelRegex should use a character class.
☑ Your regex vowelRegex should use the global flag.
☑ Your regex vowelRegex should use the case insensitive flag.
☒ Your regex should not match any consonants.
(галочка - выполненное, крестик - невыполненное)