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.
It's regex knowledge rather than code knowledge.
If you had used string placeholders, it would of been more efficient. But yes, it is elegant.
Of course it is bad in terms of string concatenation and array creation but I liked the elegance.
Smart move on using a recursive method call.