Index: src/libchcore/TStringPattern.cpp =================================================================== diff -u -r6d90b96005710c802d5f141b69528e9e87a380c9 -r0951d2ccccffb16bd12dad494e561349da17c927 --- src/libchcore/TStringPattern.cpp (.../TStringPattern.cpp) (revision 6d90b96005710c802d5f141b69528e9e87a380c9) +++ src/libchcore/TStringPattern.cpp (.../TStringPattern.cpp) (revision 0951d2ccccffb16bd12dad494e561349da17c927) @@ -154,15 +154,15 @@ case EPatternType::eType_FilenameRegex: { std::wstring strText(pathToMatch.GetFileName().ToString()); - std::wregex pattern(m_strPattern.c_str(), std::regex_constants::icase | std::regex_constants::ECMAScript); + std::wregex pattern(m_strPattern.c_str(), std::regex::icase | std::regex::ECMAScript | std::regex::collate); return std::regex_match(strText, pattern); } case EPatternType::eType_FullPathRegex: { std::wstring strText(pathToMatch.ToString()); - std::wregex pattern(m_strPattern.c_str(), std::regex_constants::icase | std::regex_constants::ECMAScript); + std::wregex pattern(m_strPattern.c_str(), std::regex::icase | std::regex::ECMAScript | std::regex::collate); return std::regex_match(strText, pattern); }