pcre2/testdata/wintestinput3

105 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

# This set of tests checks local-specific features, using the "fr_FR" locale.
# It is not 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]+/
*** Failers
<20>cole
/^[\w]+/locale=french
<20>cole
/^[\w]+/
*** Failers
<20>cole
/^[\W]+/
<20>cole
/^[\W]+/locale=french
*** Failers
<20>cole
/[\b]/
\b
*** Failers
a
/[\b]/locale=french
\b
*** Failers
a
/^\w+/
*** Failers
<20>cole
/^\w+/locale=french
<20>cole
/(.+)\b(.+)/
<20>cole
/(.+)\b(.+)/locale=french
*** Failers
<20>cole
/<2F>cole/i
<20>cole
*** Failers
<20>cole
/<2F>cole/i,locale=french
<20>cole
<20>cole
/\w/I
/\w/I,locale=french
# All remaining tests are in the french locale, so set the default.
#pattern locale=french
/^[\xc8-\xc9]/i
<20>cole
<20>cole
/^[\xc8-\xc9]/
<20>cole
*** Failers
<20>cole
/\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