This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61425

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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]