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.
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.
Matching Digits & Non-Digit Characters
You are viewing a single comment's thread. Return to all comments →
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.