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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
yeah, doesn't seem like it handles leading 0s in the cases 00, 01, 02, 03, 04, 05, 06, 07, 08, or 09
none of which appear in the test cases :)
regex is everything!
I really need to learn!
really nice. unkilled me
I really need to learn regex. Wow. Well done!
yor're expert regex
What does (?!$)|$)){4}(?=$) accomplish?
why make it simple...
I just explained this solution using verbose!
so anybudy who is still confused can see my version!
i can't believe i write [0-255] in my regex and confused why it won't work hahahahahhahaha
You could always just add a comment that explains what the code does. It's just a regular expression, you don't really need to understand what's going on, and you won't anyway unless you know RegEx.
re.VERBOSE aids with readability
I also agree that there is a small bug in that code. :D