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.
I really admire the simplicity of this regex. I tried to solve it with a regex too, but failed. Some regex are so convoluted you do not want any of them in your code. But this piece of code is just nice.
I like the solution, but in my opinion a bare try/except is not a good substitute for an if statement. It is suitable in this context, but is not best practice in a broader way.