blob: 8d8017a65681cd005bbe44bcf290e394718b4bf4 [file] [log] [blame]
Janis Danisevskis112c9cc2016-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
12 École
13
14/^[\w]+/locale=french
15 École
16
17/^[\w]+/
18 *** Failers
19 École
20
21/^[\W]+/
22 École
23
24/^[\W]+/locale=french
25 *** Failers
26 École
27
28/[\b]/
29 \b
30 *** Failers
31 a
32
33/[\b]/locale=french
34 \b
35 *** Failers
36 a
37
38/^\w+/
39 *** Failers
40 École
41
42/^\w+/locale=french
43 École
44
45/(.+)\b(.+)/
46 École
47
48/(.+)\b(.+)/locale=french
49 *** Failers
50 École
51
52cole/i
53 École
54 *** Failers
55 école
56
57cole/i,locale=french
58 École
59 école
60
61/\w/I
62
63/\w/I,locale=french
64
65# All remaining tests are in the french locale, so set the default.
66
67#pattern locale=french
68
69/^[\xc8-\xc9]/i
70 École
71 école
72
73/^[\xc8-\xc9]/
74 École
75 *** Failers
76 école
77
78/\W+/
79 >>>\xaa<<<
80 >>>\xba<<<
81
82/[\W]+/
83 >>>\xaa<<<
84 >>>\xba<<<
85
86/[^[:alpha:]]+/
87 >>>\xaa<<<
88 >>>\xba<<<
89
90/\w+/
91 >>>\xaa<<<
92 >>>\xba<<<
93
94/[\w]+/
95 >>>\xaa<<<
96 >>>\xba<<<
97
98/[[:alpha:]]+/
99 >>>\xaa<<<
100 >>>\xba<<<
101
102/[[:alpha:]][[:lower:]][[:upper:]]/IB
103
104# End of testinput3