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.
This comment is hidden because it contains spoiler information about the solution
That's even shorter than the best of
Best Practices
! Neat!Right, thanks, now seeing it clearly. However, I believe
\w
usage is only for WORD character, not every character, therefore it might not cover variants with non-word characters, for example:4didas
.This comment is hidden because it contains spoiler information about the solution
Explanation much appreciated!
^ Asserts the start of the string. \w is any character. $ Asserts the end of the string.
That looks interesting - mind explaining it a bit?