A user of the R programming language has reported that std::regex causes a hang for certain regular expressions when running in Japanese locale. I was able to reproduce this both with our production toolchain (mingw-w64 v5 + gcc 8) as well as the latest msys2 toolchains.
Is this a bug in mingw-w64 or elsewhere? Below a minimal example: #include <regex> int main() { setlocale(LC_ALL, "Japanese"); std::regex reg("[0-9]"); return 0; } _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public