One'd better blame the kata set up, which does not enforce the use of regex, than the warriors who solved it. Worst of all: this kata is available in Haskell, a language that has no regular expressions implemented natively :D
@zebulan who hurt you so badly?
I think he's still stuck.
Not if you know some built-in methods.
Just getting to grips with Regex, so thanks for putting this Kata together.
i understood it, later i say it in above comment
this does return a Boolean result
My bad, didnt notice ==
It shoudnt work because fucntion have to return Boolean not str
Nice job, didn't know that was even possible.
There is using namespace std; in C++ Preloaded section which should be removed. See: https://github.com/codewars/content-issues/wiki/List-of-Cpp-Kata-to-Update
using namespace std;
Ruby 3.0 should be enabled, read this to learn how to do it
Please organize the structure of test fixture as following (although it has been mentioned in the attached link, I'm repeated here again)
describe "<This message should describe the categories of test groups inside this block>" do
it "<A short message describing this test group>" do
expect(...).to eq(...) #Assertions
#Or Test.assert_equals(user_response, reference_response)
wait, this is unfair
regex and smart title