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.
@jhoffner thanks for updating to /\n/g but yep I'm trying to forbid that too...
Do you guys still having this issue?
Codewars is in the middle of rolling out the new Docker system to the user base and you are on the new system (or you have manually opted in via the account settings page). The updated framework uses RegExp internally which is why this is having issues. We are updating the code to use
/\n/g
instead to prevent this from happening.Notice BTW how easy it is to bypass the lack of RegExp being defined. Its a language feature and as such I don't think it is possible to fully disable regular expressions.
EDIT: NM, I just noticed the Function toString hack to check for literal notation.
Hi,
Do you still have the issue?
I'm trying with the code you posted here but I don't have this error. I got: "Test Failed: Invalid chars count! - Expected: 17, instead got: 16" on the 9th test case.
Maybe you didn't paste your whole code?
Remember: Regex are not allowed!
Tip: internally, RegExp has been setted to undefined like that :