This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/63776] New: [C++11] Regex collate matching not working
- From: "gnu-org at bignm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 07 Nov 2014 18:39:32 +0000
- Subject: [Bug c++/63776] New: [C++11] Regex collate matching not working
- Auto-submitted: auto-generated
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.