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.
Your opinion is noted.
Thanks for solving it :)
Simple regex match is not a novel kata idea.
Seems good.
thank you for point that out. I was gonna add them (but forgot).
Added them in.
Can you confirm
There is no test case for this. Most existing solutions don't follow this requirement.
While it was not stated, it was expected to be false (after all it matches none of the 2 conditions ?)
but your point was valid (since I was not testing it), added the test, also edited description to include that part in as well.
added it in.
That is correct. The kata expects a regex pattern to be returned.
Isn't this yet another regex-match task? I don't know Perl and not going to enter the editor to see for myself, but judging by the description all you have to do is write a small simple regex which definitely is a duplicate to numerous katas.
The expected result of empty string is undefined at the moment, which should be defined and tested? There are no reasons to exclude it.
Sample tests still doesn't report the input:
No it's not. They are very different.
Approved
It's similar to this kata:
https://www.codewars.com/kata/55f9064161541a9e01000001/javascript
A bit harder, but might still be considered a duplicate.
Loading more items...