[Bug c++/63776] New: [C++11] Regex collate matching not working
gnu-org at bignm dot com
gcc-bugzilla@gcc.gnu.org
Fri Nov 7 18:39:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63776
Bug ID: 63776
Summary: [C++11] Regex collate matching not working
Product: gcc
Version: 4.9.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gnu-org at bignm dot com
Created attachment 33919
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33919&action=edit
Full test program source code
The locale has been set to "pt_BR.UTF-8" and the following String should match
the Regexp passed to the group_regexp() function. It seems as if the collation
matching is not working.
String = "João Méroço" <email@isp.com>
DEBUG: group_regexp(): Using 'c' flag
DEBUG: group_regexp(): Using 'o' flag
DEBUG: group_regexp(): Match Failed!
group_regexp('/("[[:alpha:][:space:]]+")/co') returned failure!
Full test program source code is attached below.
More information about the Gcc-bugs
mailing list