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
This is so confusing 😅, took a while before i understood what was going on
Normalize explaining your code with comments please. I have a hard time understanding this code.
this solution is kinda cool (:
clean
do you mean this part
(0*)
of the regex?, he/she is grouping here the part w/ zeros, I think it's clever, in a good sense, don't you think so?, or am I missing something?Good solution!
Thanks!
match
is the full match of the regex, which in this case is ignored since we just want to use the two capture groups (p1 and p2).What does the 'match' in the function do?
Thanks man, this is really helpful for noobies like me.