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.
try using boost/regex.hpp , it should work without problems, for normal regex sometimes regex_search returns false all the time, though this bug should've been resolved. Replace <regex> with <boost/regex.hpp>
Edit: compile with -lboost_regex flag
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 28: RegEx, Patterns, and Intro to Databases
You are viewing a single comment's thread. Return to all comments →
try using boost/regex.hpp , it should work without problems, for normal regex sometimes regex_search returns false all the time, though this bug should've been resolved. Replace <regex> with <boost/regex.hpp>
Edit: compile with -lboost_regex flag