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.
The /../ part of the code represents a Regular Expression (RegEx) that looks for any 2 types of characters. If the length is even, When it comes time to check for the last character (i.e. the underscore) it will not be able to find another character after it, and thus won't add it to the resulting array.
I get confused when the string is even, why the match method doesn't match the underscore character?