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.
Very nice! I should have thought of multiline. Also a much cleaner way to escape the metacharacters.
In my opinion, they are worth it. They become much easier to read once you know a few concepts, and they are very powerful even when you are no expert at regex. Downside is that they are not maintainable for someone who hasn't spent at least a few days practicing them. I recommend this resource: https://www.regular-expressions.info/, it is much more in depth than the many online regex-tutorials, that are just way too shallow in my opinion (you can find the book of the website's author if you search it)
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.
LOL.Well done.
Amazing
This comment is hidden because it contains spoiler information about the solution
It doesn't work on py3 :(