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
|
|
|
|
|
No match
|
|
|
|
|
|
|
|
|
|
/^[\w]+/locale=fr_FR
|
|
|
|
|
<20>cole
|
|
|
|
|
0: <20>cole
|
|
|
|
|
|
|
|
|
|
/^[\w]+/
|
2015-09-16 18:49:48 +02:00
|
|
|
|
\= Expect no match
|
2014-07-24 20:01:11 +02:00
|
|
|
|
<20>cole
|
|
|
|
|
No match
|
|
|
|
|
|
|
|
|
|
/^[\W]+/
|
|
|
|
|
<20>cole
|
|
|
|
|
0: \xc9
|
|
|
|
|
|
|
|
|
|
/^[\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
|
|
|
|
|
No match
|
|
|
|
|
|
|
|
|
|
/[\b]/
|
|
|
|
|
\b
|
|
|
|
|
0: \x08
|
2015-09-16 18:49:48 +02:00
|
|
|
|
\= Expect no match
|
2014-07-24 20:01:11 +02:00
|
|
|
|
a
|
|
|
|
|
No match
|
|
|
|
|
|
|
|
|
|
/[\b]/locale=fr_FR
|
|
|
|
|
\b
|
|
|
|
|
0: \x08
|
2015-09-16 18:49:48 +02:00
|
|
|
|
\= Expect no match
|
2014-07-24 20:01:11 +02:00
|
|
|
|
a
|
|
|
|
|
No match
|
|
|
|
|
|
|
|
|
|
/^\w+/
|
2015-09-16 18:49:48 +02:00
|
|
|
|
\= Expect no match
|
2014-07-24 20:01:11 +02:00
|
|
|
|
<20>cole
|
|
|
|
|
No match
|
|
|
|
|
|
|
|
|
|
/^\w+/locale=fr_FR
|
|
|
|
|
<20>cole
|
|
|
|
|
0: <20>cole
|
|
|
|
|
|
|
|
|
|
/(.+)\b(.+)/
|
|
|
|
|
<20>cole
|
|
|
|
|
0: \xc9cole
|
|
|
|
|
1: \xc9
|
|
|
|
|
2: 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
|
|
|
|
|
No match
|
|
|
|
|
|
|
|
|
|
/<2F>cole/i
|
|
|
|
|
<20>cole
|
|
|
|
|
0: \xc9cole
|
2015-09-16 18:49:48 +02:00
|
|
|
|
\= Expect no match
|
2014-07-24 20:01:11 +02:00
|
|
|
|
<20>cole
|
|
|
|
|
No match
|
|
|
|
|
|
|
|
|
|
/<2F>cole/i,locale=fr_FR
|
|
|
|
|
<20>cole
|
|
|
|
|
0: <20>cole
|
|
|
|
|
<20>cole
|
|
|
|
|
0: <20>cole
|
|
|
|
|
|
|
|
|
|
/\w/I
|
|
|
|
|
Capturing subpattern count = 0
|
|
|
|
|
Starting code units: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P
|
|
|
|
|
Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z
|
|
|
|
|
Subject length lower bound = 1
|
|
|
|
|
|
|
|
|
|
/\w/I,locale=fr_FR
|
|
|
|
|
Capturing subpattern count = 0
|
|
|
|
|
Starting code units: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P
|
|
|
|
|
Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z
|
|
|
|
|
<20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
|
|
|
<20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
|
|
|
Subject length lower bound = 1
|
|
|
|
|
|
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
|
|
|
|
|
0: <20>
|
|
|
|
|
<20>cole
|
|
|
|
|
0: <20>
|
|
|
|
|
|
2014-07-25 11:36:50 +02:00
|
|
|
|
/^[\xc8-\xc9]/
|
2014-07-24 20:01:11 +02:00
|
|
|
|
<20>cole
|
|
|
|
|
0: <20>
|
2015-09-16 18:49:48 +02:00
|
|
|
|
\= Expect no match
|
2014-07-24 20:01:11 +02:00
|
|
|
|
<20>cole
|
|
|
|
|
No match
|
|
|
|
|
|
2014-07-25 11:36:50 +02:00
|
|
|
|
/\W+/
|
2014-07-24 20:01:11 +02:00
|
|
|
|
>>>\xaa<<<
|
|
|
|
|
0: >>>
|
|
|
|
|
>>>\xba<<<
|
|
|
|
|
0: >>>
|
|
|
|
|
|
2014-07-25 11:36:50 +02:00
|
|
|
|
/[\W]+/
|
2014-07-24 20:01:11 +02:00
|
|
|
|
>>>\xaa<<<
|
|
|
|
|
0: >>>
|
|
|
|
|
>>>\xba<<<
|
|
|
|
|
0: >>>
|
|
|
|
|
|
2014-07-25 11:36:50 +02:00
|
|
|
|
/[^[:alpha:]]+/
|
2014-07-24 20:01:11 +02:00
|
|
|
|
>>>\xaa<<<
|
|
|
|
|
0: >>>
|
|
|
|
|
>>>\xba<<<
|
|
|
|
|
0: >>>
|
|
|
|
|
|
2014-07-25 11:36:50 +02:00
|
|
|
|
/\w+/
|
2014-07-24 20:01:11 +02:00
|
|
|
|
>>>\xaa<<<
|
|
|
|
|
0: <20>
|
|
|
|
|
>>>\xba<<<
|
|
|
|
|
0: <20>
|
|
|
|
|
|
2014-07-25 11:36:50 +02:00
|
|
|
|
/[\w]+/
|
2014-07-24 20:01:11 +02:00
|
|
|
|
>>>\xaa<<<
|
|
|
|
|
0: <20>
|
|
|
|
|
>>>\xba<<<
|
|
|
|
|
0: <20>
|
|
|
|
|
|
2014-07-25 11:36:50 +02:00
|
|
|
|
/[[:alpha:]]+/
|
2014-07-24 20:01:11 +02:00
|
|
|
|
>>>\xaa<<<
|
|
|
|
|
0: <20>
|
|
|
|
|
>>>\xba<<<
|
|
|
|
|
0: <20>
|
|
|
|
|
|
2014-07-25 11:36:50 +02:00
|
|
|
|
/[[:alpha:]][[:lower:]][[:upper:]]/IB
|
2014-07-24 20:01:11 +02:00
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
Bra
|
|
|
|
|
[A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]
|
|
|
|
|
[a-z\xaa\xb5\xba\xdf-\xf6\xf8-\xff]
|
|
|
|
|
[A-Z\xc0-\xd6\xd8-\xde]
|
|
|
|
|
Ket
|
|
|
|
|
End
|
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
Capturing subpattern count = 0
|
|
|
|
|
Starting code units: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
|
|
|
|
|
a b c d e f g h i j k l m n o p q r s t u v w x y z <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
|
|
|
<20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
|
|
|
<20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
|
|
|
Subject length lower bound = 3
|
|
|
|
|
|
|
|
|
|
# End of testinput3
|