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.
Looks good to me! Hope somebody with higher rank than me can approve this.
You're right.
This returns "small" also for animals with "alligator" in their name like... "not-an-alligator". I think /^alligator$/i would be better?
I really like this solution as it is really simple to read and understand.