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.
needed to use use groups in the replacement
yeah for replacing matched groups we need parantheses
check this out for more info
https://stackoverflow.com/questions/37734164/regex-backreferences-in-java
Well, I feel dumb for not figuring out a fast enough algorithm for this.
Common feeling for me, but that's one of the things that pushes me to practice.