Vowels in HackerRank challenges

Photo by Uriel SC

HackerRank is one of many good places to train our software craft. However challenges are not always clear enough.

While solving one of the challenges today I've learned that letter y is not a vowel in English language. Differently to Polish. Thus, the regular expression that includes English vowels should be:

/[aeiou]/

Furthermore I've learned, that MySQL has a great regexp_like function for matching patterns by regular expressions.

Photo by Uriel SC on Unsplash