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".
http://stackoverflow.com/questions/4324542/what-is-the-windows-equivalent-for-en-us-utf-8-locale Regards, Krzysztof 2015-09-01 9:21 GMT+02:00 Murray Cumming <murr...@murrayc.com>: > 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. > > -- > Murray Cumming > murr...@murrayc.com > www.murrayc.com > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtkmm-list _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtkmm-list