blob: b1894b66dcb644d8b8050ffd6a863051885ac657 [file] [log] [blame]
Janis Danisevskis53e448c2016-03-31 13:35:25 +01001# This set of tests checks local-specific features, using the "fr_FR" locale.
2# It is not Perl-compatible. When run via RunTest, the locale is edited to
3# be whichever of "fr_FR", "french", or "fr" is found to exist. There is
4# different version of this file called wintestinput3 for use on Windows,
5# where the locale is called "french" and the tests are run using
6# RunTest.bat.
7
8#forbid_utf
9
10/^[\w]+/
11 *** Failers
12No match
13 École
14No match
15
16/^[\w]+/locale=french
17 École
18 0: École
19
20/^[\w]+/
21 *** Failers
22No match
23 École
24No match
25
26/^[\W]+/
27 École
28 0: \xc9
29
30/^[\W]+/locale=french
31 *** Failers
32 0: ***
33 École
34No match
35
36/[\b]/
37 \b
38 0: \x08
39 *** Failers
40No match
41 a
42No match
43
44/[\b]/locale=french
45 \b
46 0: \x08
47 *** Failers
48No match
49 a
50No match
51
52/^\w+/
53 *** Failers
54No match
55 École
56No match
57
58/^\w+/locale=french
59 École
60 0: École
61
62/(.+)\b(.+)/
63 École
64 0: \xc9cole
65 1: \xc9
66 2: cole
67
68/(.+)\b(.+)/locale=french
69 *** Failers
70 0: *** Failers
71 1: ***
72 2: Failers
73 École
74No match
75
76cole/i
77 École
78 0: \xc9cole
79 *** Failers
80No match
81 école
82No match
83
84cole/i,locale=french
85 École
86 0: École
87 école
88 0: école
89
90/\w/I
Elliott Hughes2dbd7d22020-06-03 14:32:37 -070091Capture group count = 0
Janis Danisevskis53e448c2016-03-31 13:35:25 +010092Starting 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
93 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
94Subject length lower bound = 1
95
96/\w/I,locale=french
Elliott Hughes2dbd7d22020-06-03 14:32:37 -070097Capture group count = 0
Janis Danisevskis53e448c2016-03-31 13:35:25 +010098Starting 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
99 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
100 ƒ Š Œ Ž š œ ž Ÿ ª ² ³ µ ¹ º À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö
101 Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý
102 þ ÿ
103Subject length lower bound = 1
104
105# All remaining tests are in the french locale, so set the default.
106
107#pattern locale=french
108
109/^[\xc8-\xc9]/i
110 École
111 0: É
112 école
113 0: é
114
115/^[\xc8-\xc9]/
116 École
117 0: É
118 *** Failers
119No match
120 école
121No match
122
123/\W+/
124 >>>\xaa<<<
125 0: >>>
126 >>>\xba<<<
127 0: >>>
128
129/[\W]+/
130 >>>\xaa<<<
131 0: >>>
132 >>>\xba<<<
133 0: >>>
134
135/[^[:alpha:]]+/
136 >>>\xaa<<<
137 0: >>>
138 >>>\xba<<<
139 0: >>>
140
141/\w+/
142 >>>\xaa<<<
143 0: ª
144 >>>\xba<<<
145 0: º
146
147/[\w]+/
148 >>>\xaa<<<
149 0: ª
150 >>>\xba<<<
151 0: º
152
153/[[:alpha:]]+/
154 >>>\xaa<<<
155 0: ª
156 >>>\xba<<<
157 0: º
158
159/[[:alpha:]][[:lower:]][[:upper:]]/IB
160------------------------------------------------------------------
161 Bra
Janis Danisevskis8b979b22016-08-15 16:09:16 +0100162 [A-Za-z\x83\x8a\x8c\x8e\x9a\x9c\x9e\x9f\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]
Janis Danisevskis53e448c2016-03-31 13:35:25 +0100163 [a-z\x83\x9a\x9c\x9e\xaa\xb5\xba\xdf-\xf6\xf8-\xff]
164 [A-Z\x8a\x8c\x8e\x9f\xc0-\xd6\xd8-\xde]
165 Ket
166 End
167------------------------------------------------------------------
Elliott Hughes2dbd7d22020-06-03 14:32:37 -0700168Capture group count = 0
Janis Danisevskis53e448c2016-03-31 13:35:25 +0100169Starting 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
Janis Danisevskis8b979b22016-08-15 16:09:16 +0100170 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 ƒ Š Œ Ž š œ ž Ÿ ª µ º
171 À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å
172 æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ
Janis Danisevskis53e448c2016-03-31 13:35:25 +0100173Subject length lower bound = 3
174
175# End of testinput3