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.
Thanks!
REGEXP
should be aRegExp
object, currently you have aString
.What would you do with
foo1bar
? Removing all numbers from the string and moving them at the end is a wrong interpretation of the instructions.Read the description again, where does it say it should increment every number in the string? Also, what's the logic in your answer, you're moving the numbers to the end of the strings, aren't you?
I agree an example in the kata's description would clarify it.