Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I really liked this kata. Some people didn't like the "hardcoding", but maybe some problems genuinely require it and this is a really practical example. Here in Java we've got it down to not much more than a single switch statement (with 30 cases).
Wait! The (?i) does not work with diacritics - this regex will actually not match uppercase vowels such as  or à like it looks like this solution is trying to do.