pcre2/testdata/testinput3

105 lines
1.4 KiB
Plaintext
Raw Normal View History

2014-07-24 20:01:11 +02:00
# 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=fr_FR
<20>cole
/^[\w]+/
*** Failers
<20>cole
/^[\W]+/
<20>cole
/^[\W]+/locale=fr_FR
*** Failers
<20>cole
/[\b]/
\b
*** Failers
a
/[\b]/locale=fr_FR
\b
*** Failers
a
/^\w+/
*** Failers
<20>cole
/^\w+/locale=fr_FR
<20>cole
/(.+)\b(.+)/
<20>cole
/(.+)\b(.+)/locale=fr_FR
*** Failers
<20>cole
/<2F>cole/i
<20>cole
*** Failers
<20>cole
/<2F>cole/i,locale=fr_FR
<20>cole
<20>cole
/\w/I
/\w/I,locale=fr_FR
2014-07-25 11:36:50 +02:00
# All remaining tests are in the fr_FR locale, so set the default.
#pattern locale=fr_FR
/^[\xc8-\xc9]/i
2014-07-24 20:01:11 +02:00
<20>cole
<20>cole
2014-07-25 11:36:50 +02:00
/^[\xc8-\xc9]/
2014-07-24 20:01:11 +02:00
<20>cole
*** Failers
<20>cole
2014-07-25 11:36:50 +02:00
/\W+/
2014-07-24 20:01:11 +02:00
>>>\xaa<<<
>>>\xba<<<
2014-07-25 11:36:50 +02:00
/[\W]+/
2014-07-24 20:01:11 +02:00
>>>\xaa<<<
>>>\xba<<<
2014-07-25 11:36:50 +02:00
/[^[:alpha:]]+/
2014-07-24 20:01:11 +02:00
>>>\xaa<<<
>>>\xba<<<
2014-07-25 11:36:50 +02:00
/\w+/
2014-07-24 20:01:11 +02:00
>>>\xaa<<<
>>>\xba<<<
2014-07-25 11:36:50 +02:00
/[\w]+/
2014-07-24 20:01:11 +02:00
>>>\xaa<<<
>>>\xba<<<
2014-07-25 11:36:50 +02:00
/[[:alpha:]]+/
2014-07-24 20:01:11 +02:00
>>>\xaa<<<
>>>\xba<<<
2014-07-25 11:36:50 +02:00
/[[:alpha:]][[:lower:]][[:upper:]]/IB
2014-07-24 20:01:11 +02:00
# End of testinput3