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.
You don't even need regex to be honest, I did it by mapping on the given array and checking on each entry if a predefined array of eyes for example includes the first position of the string.
dont make me feel more stupid then I already felt, until 5 min ago I din't know about regex.
Uff... God bless the kata author. There are only 12 correct answers :)
See Issue entered by FArekkusu and the reply to the resolve the Issue.
Additional static tests with names were added.
The random tests were updated by adding names to both the start and end arrays.
Both the new static and the new random test values in the arrays have names that can appear at the beginning of the test string, the middle of the test string or at the very end of the test string with a period at the end or no period at the end.
Thanks for pointing that out.
It looks like everyone wrote some code to resolve the case and then "upgrade" it to pass all the tests.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution