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.
It sets the 'case-insensitive' flag for the remaining pattern
what's (?i) for?
/** @exception NullPointerException if <code>input</code> is null. */
One thing is missing. Null input check.
You're (hehe) actually right about this one, but I think this concerns almost all other solutions as well, since it was not specified in the kata description that contractions should be respected. Also, regarding the kata rank, I suppose that it was not intended either. Translating "you're" to "your sister is" would require a much more complex regex/algorithm.
I think
you're
will error handling intoyour sister're
Very sophisticated solution! I was not aware of "\b" yet, so I definitely learned something new. thx!