Tuesday, 3 September 2013

Going from boost::regex to std::regex

Going from boost::regex to std::regex

I ported some code from boost::regex to std::regex and now half of the
regular expressions don't match what they should.
I understand that boost::regex uses Perl grammar by default and std::regex
uses some ecma crap that I've never heard of.
Question: Are any of the new std::regex grammars similar enough to Perl
style for me to use or should I just stick with boost?
http://www.cplusplus.com/reference/regex/regex_constants/#syntax_option_type

No comments:

Post a Comment