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 had the same issue. It turns out one of the test cases is 'a #b \n c \n d $e f g', with # and $ as markers.
As you probably know, the $ symbol has a special meaning in Regex.
Thanks, that was good to know.
This is done to rule out e.g. leading 0's.
It's first turned into a number, then into a string and finally compared to the original.
String(Number("01")) is "1", which is not equal to "01".
Thanks for the explanation, I made the same mistake.
Thanks for this explanation.
Thank you.