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.
That, I knew! ;p I wanted an example (so actually, that was phrase that I needed, not phrase1. Anyway)
Just tried it again with
"This, is an example?"
and still working very well on CW. That leads me to the question: are you sure you're using the right language version for the kata? If so, that means the error isn't at this line of your code.what is phrase1?
I just tried your exact code and it's working on cw:
By any chance, could you have forgotten that replaceAll does not mutate the string? It returns a fresh one that you have to store.
try to escape it with
"\\"