[Bug libstdc++/61425] std::regex ignores backslash when using basic or grep grammars

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 5 20:34:00 GMT 2014


--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Correction: it ignores it with -std=gnu++11, it throws regex_error with

So it's treating \| as illegal, which is wrong for a POSIX BRE.

More information about the Gcc-bugs mailing list