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]+/
|
2015-09-16 18:49:48 +02:00
|
|
|
|
\= Expect no match
|
2014-07-24 20:01:11 +02:00
|
|
|
|
<20>cole
|
|
|
|
|
|
|
|
|
|
/^[\w]+/locale=fr_FR
|
|
|
|
|
<20>cole
|
|
|
|
|
|
|
|
|
|
/^[\w]+/
|
2015-09-16 18:49:48 +02:00
|
|
|
|
\= Expect no match
|
2014-07-24 20:01:11 +02:00
|
|
|
|
<20>cole
|
|
|
|
|
|
|
|
|
|
/^[\W]+/
|
|
|
|
|
<20>cole
|
|
|
|
|
|
|
|
|
|
/^[\W]+/locale=fr_FR
|
2015-09-16 18:49:48 +02:00
|
|
|
|
\= Expect no match
|
2014-07-24 20:01:11 +02:00
|
|
|
|
<20>cole
|
|
|
|
|
|
|
|
|
|
/[\b]/
|
|
|
|
|
\b
|
2015-09-16 18:49:48 +02:00
|
|
|
|
\= Expect no match
|
2014-07-24 20:01:11 +02:00
|
|
|
|
a
|
|
|
|
|
|
|
|
|
|
/[\b]/locale=fr_FR
|
|
|
|
|
\b
|
2015-09-16 18:49:48 +02:00
|
|
|
|
\= Expect no match
|
2014-07-24 20:01:11 +02:00
|
|
|
|
a
|
|
|
|
|
|
|
|
|
|
/^\w+/
|
2015-09-16 18:49:48 +02:00
|
|
|
|
\= Expect no match
|
2014-07-24 20:01:11 +02:00
|
|
|
|
<20>cole
|
|
|
|
|
|
|
|
|
|
/^\w+/locale=fr_FR
|
|
|
|
|
<20>cole
|
|
|
|
|
|
|
|
|
|
/(.+)\b(.+)/
|
|
|
|
|
<20>cole
|
|
|
|
|
|
|
|
|
|
/(.+)\b(.+)/locale=fr_FR
|
2015-09-16 18:49:48 +02:00
|
|
|
|
\= Expect no match
|
2014-07-24 20:01:11 +02:00
|
|
|
|
<20>cole
|
|
|
|
|
|
|
|
|
|
/<2F>cole/i
|
|
|
|
|
<20>cole
|
2015-09-16 18:49:48 +02:00
|
|
|
|
\= Expect no match
|
2014-07-24 20:01:11 +02:00
|
|
|
|
<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
|
2016-01-07 17:08:44 +01:00
|
|
|
|
\= Expect no match
|
2014-07-24 20:01:11 +02:00
|
|
|
|
<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
|