/
niceSOFT
/
pcre2
Обзор
Документация
Войти
/
niceSOFT
/
pcre2
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
testdata/testinput3
113 строк
1 KB
Carlo Marcelo Arenas Belón
perltest: add support for locale modifier (#534)
21 окт 2024, 16:54
Не верифицирован
21 окт 2024, 16:54
295f94c
Код
Авторство
О чём код?
# This set of tests checks local-specific features, using the "fr_FR" locale. # It is almost Perl-compatible. When run via RunTest, the locale is edited to # be whichever of "fr_FR", "french", or "fr" is found to exist. There is # different version of this file called wintestinput3 for use on Windows, # where the locale is called "french" and the tests are run using # RunTest.bat. #forbid_utf /^[\w]+/ \= Expect no match �cole /^[\w]+/locale=fr_FR �cole /^[\W]+/ �cole /^[\W]+/locale=fr_FR \= Expect no match �cole /[\b]/ \b \= Expect no match a /[\b]/locale=fr_FR \b \= Expect no match a /^\w+/ \= Expect no match �cole /^\w+/locale=fr_FR �cole /(.+)\b(.+)/ �cole /(.+)\b(.+)/locale=fr_FR \= Expect no match �cole /�cole/i �cole \= Expect no match �cole /�cole/i,locale=fr_FR �cole �cole /\w/I /\w/I,locale=fr_FR # All remaining tests are in the fr_FR locale, so set the default. #pattern locale=fr_FR /^[\xc8-\xc9]/i �cole �cole /^[\xc8-\xc9]/ �cole \= Expect no match �cole /\xb5/i � \= Expect no match \x9c /�/i \xff \= Expect no match y /(.)\1/i \xfe\xde /\W+/ >>>\xaa<<< >>>\xba<<< /[\W]+/ >>>\xaa<<< >>>\xba<<< /[^[:alpha:]]+/ >>>\xaa<<< >>>\xba<<< /\w+/ >>>\xaa<<< >>>\xba<<< /[\w]+/ >>>\xaa<<< >>>\xba<<< /[[:alpha:]]+/ >>>\xaa<<< >>>\xba<<< /[[:alpha:]][[:lower:]][[:upper:]]/IB # End of testinput3