On Tue, 2015-09-01 at 08:15 +0200, Murray Cumming wrote:
> I guess we can deprecate Glib::Regex now that we have std::regex:
> http://en.cppreference.com/w/cpp/regex
>
> Any objections?
I do wonder if we can use std::regex to find matches of UTF-8 substrings
in UTF-8 strings. Glib::Regex can.
I guess we can deprecate Glib::Regex now that we have std::regex:
http://en.cppreference.com/w/cpp/regex
Any objections?
--
Murray Cumming
murr...@murrayc.com
www.murrayc.com
___
gtkmm-list mailing list
gtkmm-list@gnome.org
std::regex only works correctly on UTF-8 strings if the system has an
UTF-8 locale, and Windows does not have it. The standard C++ library
is on Windows completely broken and unusable - for example, reading
into a wifstream converts to ASCII if the locale is set to "C".