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.
???
OMG!!!
I write 13 lines to achieve this.
Well dang.
a little hard to read, although the idea is simple
maybe there should be a simpler way to write regex
thanks for the explanation
if I understand correctly, this only works if the word is followed by a space or the end of the string, if you put a comma after the word, then it no longer works
I'm familiar (not expert) with regular explressions and this is hard to read.
You could say "get familiar with X concept and then it will be easy" for anything that is considered hard for the average person.
Best practice means best for the average person.
it's readable if you understand regexp.
You're not dumb. It's just another notation that a lot of languages have incorporated. Super useful, but if you haven't invested the time to learn it, you could hardly be expected to know it any more than you could be expected to know Ancient Greek, if you'd never studied it.
This comment is hidden because it contains spoiler information about the solution
It's not that hard to read, if you're familiar with regular expressions. I recommend getting familiar, they are pretty useful.
This comment is hidden because it contains spoiler information about the solution
What I see;
Wololoooo
Hard to read code is not best practice.
It is worth it. But chiefly in certain self-contained and exceptional scenarios:
Loading more items...