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.
It's a brief passage from an original piece I composed for piano solo. If you happen to be curious, I have a number of recordings of my own compositions (as well as performances I've given of the works of other composers) on my YouTube channel (www.youtube.com/johncareycomposer). Thanks for your interest!
(By the way, apparently my code was failing due to a flaw in the test case itself, which has apparently been revised -- I just attempted to resubmit and I passed 100% immediately, despite the fact that I didn't alter my expression at all.)
what is the music in your image?
Hello,
regexis an external library, not a standard library module, so there is nothing kata authors and contributors can do about it.Python: Could regex (not just re) get enabled, because this kata seems to be a use case for recursion?
PHP -- a language I'm not really familiar with, but it supports subroutines in Regex whereas Python (my preferred language) does not. Not sure if that's relevant.
Thanks for the quick response!
In what language?
This comment is hidden because it contains spoiler information about the solution
After 2 days i finally passed all the tests, yet unsure how and why
Totally agree
( JS, possibly others )
Needs random tests.
C++ translation: https://www.codewars.com/kumite/64a89e76dddc251d5fdfced4?sel=64a89e76dddc251d5fdfced4
oky thanks :3 I understand a little I think
The point of this kata is not to write a function
boolean isDiv5(String s), but to create a regular expression that will match all strings that represent in binary a number divisible by five and only these strings.For example, this regular expression should match
"101","0"and"1111"because they represent5,0and15.But it should not match
"111","10000"nor"1"as they represent7,16and1.Excellent kata. But why is everything so strange here? I am not yet fully familiar with Java and I don’t know other languages, and I just can’t figure out where to get the string from and what to return. Why complicate things so much? :( Where are these regular methods with the usual String parameter? ;(
Nice kata, simple yet challenging, made me refresh my knowledge on regex
Loading more items...