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.
Very impressive!
amazing
Not work for this case:ThE_wRonG-CaSe
regex jumpscare
awesome!
This comment is hidden because it contains spoiler information about the solution
amazing
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
really good solution! I should learn regular expressions :)
it's so beautiful
Thanks for taking the time to write that out, Krakonosh!
I really need to learn about regular expressions. This has really opened my eyes.
Very, very helpful indeed, could not make sense of this solution myself. The trick really is that the person does not think about "tokens" in the sense of "whole words", but rather simply searches for strings like "_f" or "-F" or "_b" or "_B" etc.
In the solution, if you would like to know why the first parameter (_) maps to the whole word, and the second parameter (c) maps to a capture group, I would recommend looking up MDN docs on the replacer function: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#specifying_a_function_as_a_parameter
Loading more items...