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.
Thanks for the fun kata! Really enjoyed the clean regex challenge — short, focused, and satisfying to solve. Appreciate your work creating it!
Thanks <3! I analyzed the logs and realized that I missed the "not" in the task conditions :)
Printing the input: https://docs.codewars.com/training/troubleshooting#print-input
How do I view the contents of a random case? All I see is a stack trace and nothing else
Thanks to the author for introducing closures in a simple form — though this one felt a bit too straightforward. It hints at the closure concept but could’ve gone deeper into how variables are captured per iteration. Still, a nice gentle reminder of how scope behaves in loops.
Read this: https://docs.codewars.com/training/training-example#writing-a-solution and this: https://docs.codewars.com/training/troubleshooting#expected-the-same
Your function should return the result, using Node is not the problem here. Also, don't use prompt, your function receives an argument:
And even if you're not forced to use regex, the kata's intent is that.
Yes, there is such a thing
I did it but whitout node, only in javascript and the result its an error. i corrected the code with chatGpt and i tested the code and its fine. node its mandatory?
Sample tests do contain mixed-case strings. Submit tests do not contain fixed cases.
Fixed.
Fork of the C# translation
@ejini You might want to look into this. Especially the Preloaded
Groovy Translation
Great Kata. I always love katas that teach Regex for it is a powerful tool indeed.
This comment is hidden because it contains spoiler information about the solution
Loading more items...