[Bug libstdc++/63776] [C++11] Regex collate matching not working

2018-10-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63776 --- Comment #13 from Jonathan Wakely --- Oops, paste fail. The second one should be: #include #include int main() { std::locale::global(std::locale("en_US.UTF-8")); std::wstring s = L"joão méroço"; std::wregex r{L"[[:alpha:]]{4} [[:alph

[Bug libstdc++/63776] [C++11] Regex collate matching not working

2018-10-03 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63776 --- Comment #12 from Tim Shen --- I'm not sure anymore about the meaning of pinging back end (my bad), but > But this is (assuming wchar_t uses a unicode encoding): The two pieces of code looks identical to me. :)

[Bug libstdc++/63776] [C++11] Regex collate matching not working

2018-10-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63776 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/63776] [C++11] Regex collate matching not working

2018-10-01 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63776 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug libstdc++/63776] [C++11] Regex collate matching not working

2015-03-08 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63776 --- Comment #9 from Tim Shen --- Ping.

[Bug libstdc++/63776] [C++11] Regex collate matching not working

2015-02-05 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63776 --- Comment #8 from Tim Shen --- I'm not sure how you call boost::regex in your code, here's what I did: // g++ b.cc -lboost_regex -licuuc #include #include #include #include using namespace boost; int main() { std::locale loc("en_US.UT

[Bug libstdc++/63776] [C++11] Regex collate matching not working

2015-01-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63776 --- Comment #7 from Jonathan Wakely --- The codecvt stuff was implemented last week. Probably incorrectly, because I didn't really know what I was doing.

[Bug libstdc++/63776] [C++11] Regex collate matching not working

2015-01-20 Thread gnu-org at bignm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63776 --- Comment #6 from Tom Straub --- Hi Tim, After banging my head against the wall looking for a solution to the C++11 UTF-8 support problems, I finally found what seems to be a great addition to my project, which I think might be beneficial to G

[Bug libstdc++/63776] [C++11] Regex collate matching not working

2015-01-20 Thread gnu-org at bignm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63776 --- Comment #5 from Tom Straub --- Created attachment 34497 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34497&action=edit Test Program for UTF-8 CPP library

[Bug libstdc++/63776] [C++11] Regex collate matching not working

2014-11-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63776 --- Comment #4 from Jonathan Wakely --- (In reply to Tom Straub from comment #2) > Hi Tim, > > Okay, a program very similar to this using the Boost REGEX library and ICU > 4.55 works just fine with this. > > According to my understanding, the "

[Bug libstdc++/63776] [C++11] Regex collate matching not working

2014-11-08 Thread gnu-org at bignm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63776 --- Comment #3 from Tom Straub --- Hi Tim, OOPS! The versions used were Boost REGEX 1.55.0 and ICU 52. Got the versions mixed up in my head. Tom

[Bug libstdc++/63776] [C++11] Regex collate matching not working

2014-11-08 Thread gnu-org at bignm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63776 --- Comment #2 from Tom Straub --- Hi Tim, Okay, a program very similar to this using the Boost REGEX library and ICU 4.55 works just fine with this. According to my understanding, the "char" data type and "std::string" classes were specificall

[Bug libstdc++/63776] [C++11] Regex collate matching not working

2014-11-08 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63776 Tim Shen changed: What|Removed |Added CC||timshen at gcc dot gnu.org --- Comment #1 fro