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.
See the third example in the kata's description.
Someone know why does this happen:
should ignore case: '(())())' should equal ')())())'
Besides that test everything ok :)
Lua translation!
I cannot replicate. It seems like someone cleared them at some point (the random tests use
rand
, notrandom
)fixed
closing as user error. The user likely created a regexp dynamically without escaping special characters.
Thanks for the help, i will check it out :)
it's hard to read your code because you didnt use code blocks so some characters got interpreted as formatting. That being said, it looks like you are creating a regexp dynamically without proper care. this might be of interest to you
"Is my code incorrect?"
"No, it is all twohundredthousand other solvers who are wrong."
wrong testing for lowercase regex, works in vsc but not here
Did you? And did you hit "submit"? Because your profile says you solved 0 kata so far.
I got the result
https://www.codewars.com/kata/5526fc09a1bbd946250002dc/discuss#5e77cfb4641432003621d6f8
I cannot reproduce the test case you're showing. It looks like you're showing an input of multiple tests combined.
Try changing your logging method to something like:
It should become clearer after this.
This comment is hidden because it contains spoiler information about the solution
Loading more items...