We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Matching Anything But a Newline
Matching Anything But a Newline
Sort by
recency
|
413 Discussions
|
Please Login in order to post a comment
hints:
Why is the testcase failing at hackerrank when it is working fine for me on google colab? regex_pattern = r"(....)+..."
"Your task is to write a regular expression that matches only and exactly strings of form: abc.def.ghi.jkx."
"^.{3}..{3}..{3}..{3}$"
I think we have a wrong test cases here. pattern /(.{3}.){3}.{3}/ with string 1123.456.abc.def must return false. How can it return true In PHP and JavaScript it works wrong, but if I select python it works but failed in another cases.