Match Single Character with Multiple Possibilities- wrong test

Tell us what’s happening:
First Test says this should have 25 vowels. However, this line has 26 vowels.

Your code so far


let quoteSample = "Beware of bugs in the above code; I have only proved it correct, not tried it.";
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 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/regular-expressions/match-single-character-with-multiple-possibilities

i counted 25…

B
e 1
w
a 2
r
e 3

o 4
f

b
u 5
g
s

i 6
n

t
h
e 7

a 8
b
o 9
v
e 10

c
o 11
d
e 12
;

I 13

h
a 14
v
e 15

o 16
n
l
y

p
r
o 17
v
e 18
d

i 19
t

c
o 20
r
r
e 21
c
t
,

n
o 22
t

t
r
i 23
e 24
d

i 25
t
.

ps. this was one of the most boring responses I ever wrote. sigh. counting vowels…

But isn’t “y” a vowel as well?

Y is sometimes a vowel. Vowels are a, e ,I ,o ,u , and sometimes y.

Whether y is a vowel depends on the word in which it is used . But the tests (correctly for the word) don’t consider y a vowel.