You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
175 lines
3.0 KiB
175 lines
3.0 KiB
# 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
|
|
No match
|
|
École
|
|
No match
|
|
|
|
/^[\w]+/locale=french
|
|
École
|
|
0: École
|
|
|
|
/^[\w]+/
|
|
*** Failers
|
|
No match
|
|
École
|
|
No match
|
|
|
|
/^[\W]+/
|
|
École
|
|
0: \xc9
|
|
|
|
/^[\W]+/locale=french
|
|
*** Failers
|
|
0: ***
|
|
École
|
|
No match
|
|
|
|
/[\b]/
|
|
\b
|
|
0: \x08
|
|
*** Failers
|
|
No match
|
|
a
|
|
No match
|
|
|
|
/[\b]/locale=french
|
|
\b
|
|
0: \x08
|
|
*** Failers
|
|
No match
|
|
a
|
|
No match
|
|
|
|
/^\w+/
|
|
*** Failers
|
|
No match
|
|
École
|
|
No match
|
|
|
|
/^\w+/locale=french
|
|
École
|
|
0: École
|
|
|
|
/(.+)\b(.+)/
|
|
École
|
|
0: \xc9cole
|
|
1: \xc9
|
|
2: cole
|
|
|
|
/(.+)\b(.+)/locale=french
|
|
*** Failers
|
|
0: *** Failers
|
|
1: ***
|
|
2: Failers
|
|
École
|
|
No match
|
|
|
|
/École/i
|
|
École
|
|
0: \xc9cole
|
|
*** Failers
|
|
No match
|
|
école
|
|
No match
|
|
|
|
/École/i,locale=french
|
|
École
|
|
0: École
|
|
école
|
|
0: école
|
|
|
|
/\w/I
|
|
Capture group 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=french
|
|
Capture group 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
|
|
|
|
# All remaining tests are in the french locale, so set the default.
|
|
|
|
#pattern locale=french
|
|
|
|
/^[\xc8-\xc9]/i
|
|
École
|
|
0: É
|
|
école
|
|
0: é
|
|
|
|
/^[\xc8-\xc9]/
|
|
École
|
|
0: É
|
|
*** Failers
|
|
No match
|
|
école
|
|
No match
|
|
|
|
/\W+/
|
|
>>>\xaa<<<
|
|
0: >>>
|
|
>>>\xba<<<
|
|
0: >>>
|
|
|
|
/[\W]+/
|
|
>>>\xaa<<<
|
|
0: >>>
|
|
>>>\xba<<<
|
|
0: >>>
|
|
|
|
/[^[:alpha:]]+/
|
|
>>>\xaa<<<
|
|
0: >>>
|
|
>>>\xba<<<
|
|
0: >>>
|
|
|
|
/\w+/
|
|
>>>\xaa<<<
|
|
0: ª
|
|
>>>\xba<<<
|
|
0: º
|
|
|
|
/[\w]+/
|
|
>>>\xaa<<<
|
|
0: ª
|
|
>>>\xba<<<
|
|
0: º
|
|
|
|
/[[:alpha:]]+/
|
|
>>>\xaa<<<
|
|
0: ª
|
|
>>>\xba<<<
|
|
0: º
|
|
|
|
/[[:alpha:]][[:lower:]][[:upper:]]/IB
|
|
------------------------------------------------------------------
|
|
Bra
|
|
[A-Za-z\x83\x8a\x8c\x8e\x9a\x9c\x9e\x9f\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]
|
|
[a-z\x83\x9a\x9c\x9e\xaa\xb5\xba\xdf-\xf6\xf8-\xff]
|
|
[A-Z\x8a\x8c\x8e\x9f\xc0-\xd6\xd8-\xde]
|
|
Ket
|
|
End
|
|
------------------------------------------------------------------
|
|
Capture group 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 ƒ Š Œ Ž š œ ž Ÿ ª µ º
|
|
À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å
|
|
æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ
|
|
Subject length lower bound = 3
|
|
|
|
# End of testinput3
|