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 Digits & Non-Digit Characters
Matching Digits & Non-Digit Characters
Sort by
recency
|
168 Discussions
|
Please Login in order to post a comment
All C++ versions of the Regex series problems on HackerRank are broken.
None of them provide the expected template code to "just fill in the regex". Instead, you're forced to deduce the full C++ program, which goes against the spirit of a regex-only challenge.
On top of that, in this specific problem, Test Case 4 is invalid according to the problem statement, yet it's treated as a correct match.
Please fix the templates across the board and review the test cases for accuracy.
I literally don't understand what this question is asking? Anyone else think that the wording/description of this problem is atrociously crap?
Regex_Pattern = r"^\d\d\D\d\d\D\d\d\d\d"
82lotteryhack