Hello,
I read on the web that the regular expression /o{2,3}/ means that it would match if o repeats at least 2 times but not more than 3 times. But when I tested this RE
with "halloooo", it returned a match.
I wonder if someone could please help me understand why it returned a match when there was 4 occurences of o?
Thank you,
Akino
I read on the web that the regular expression /o{2,3}/ means that it would match if o repeats at least 2 times but not more than 3 times. But when I tested this RE
with "halloooo", it returned a match.
I wonder if someone could please help me understand why it returned a match when there was 4 occurences of o?
Thank you,
Akino
Comment