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
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.This comment is hidden because it contains spoiler information about the solution
what is phrase1?
This comment is hidden because it contains spoiler information about the solution
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.
Thank you! I've tried it didn't help :(
try to escape it with
"\\"
This comment is hidden because it contains spoiler information about the solution