#148: icu_regex_traits::translate_nocase doesn't use case-folding

In translate_nocase replace u_tolower by u_foldCase(c, U_FOLD_CASE_DEFAULT) suitable for single codeunit case folding
This commit is contained in:
Daniel Krügler
2021-08-08 18:29:12 +02:00
parent dfd700d858
commit 5ad8906e91
4 changed files with 209 additions and 2 deletions

View File

@ -122,6 +122,9 @@ test-suite regex
[ run unicode/unicode_iterator_test.cpp : : :
[ check-target-builds ../build//is_legacy_03 : : <source>../build//boost_regex ]
release <define>TEST_UTF16 : unicode_iterator_test_utf16 ]
[ run unicode/unicode_casefold_test.cpp
../build//boost_regex ../build//icu_options
]
[ run static_mutex/static_mutex_test.cpp
../../thread/build//boost_thread ../build//boost_regex
]