[Bug libstdc++/58576] std::regex_match() reports mismatched braces on a valid regex

schwab@linux-m68k.org gcc-bugzilla@gcc.gnu.org
Mon Sep 30 07:40:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58576

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
[:alnum:] only matches the six characters ":almnu".  If you want to match any
letter or digit you have to write [[:alnum:]].



More information about the Gcc-bugs mailing list