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.
Look at my solution to see what I mean
Do you mean that the group that I can't use the group found again?
Would you clarify for me what you mean by this?
This comment is hidden because it contains spoiler information about the solution
I wanted to do something like this but with split... And here i see what i searched, thx ! group in regex is very powerful
It is concise and easy to read, and if you want the negative lookbehind assertion, like I did, it seems simpler.
I really need to learn RegEx
this is definitely a unique approach
that's called PascalCase iirc
I threw a a lookahead (?!^) in the regexp so that it only matches capitalized letters in the middle of the text (e.g., 'FooBar' -> 'Foo Bar', rather than ' Foo Bar').
I'm sort of surprised this wasn't one of the tests, but perhaps initial caps are not proper camelCase.
r'some string'
means ignore all the blackslashes insome string
Can you explain what r in second argument does? I can't understand it looking at re.sub documentation
This comment is hidden because it contains spoiler information about the solution
I'm actually curious too
man, this is awesome
Loading more items...