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.
Hi there, I'm sorry if the description wasn't clear for you. That's what code golfing is always about; they measure your entire code length, not a specific part of your code.
And if I may guess, it seems like you wrote something other than regex, because there's no way your code will be detected as 60 characters when your regex pattern is only 23 characters.
It is not clear from description that it is entire code length. I belive it should be fixed, or even modified to be regexp length, cause not passing tests with
re = ...
while tests are ok withre=...
is kinda confusing.25 characters is the limit of your entire code, not regex itself.
Why do I get
expected 60 to be at most 25
while my pattern length is 23 ?re.source.length; // 23
What I missed ?