chiark / gitweb /
pcre3 (2:8.38-1) unstable; urgency=low
[pcre3.git] / testdata / testoutput3B
1 /-- 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 8W 
9
10 /^[\w]+/
11     *** Failers
12 No match
13     École
14 No match
15
16 /^[\w]+/Lfr_FR
17     École
18  0: École
19
20 /^[\w]+/
21     *** Failers
22 No match
23     École
24 No match
25
26 /^[\W]+/
27     École
28  0: \xc9
29
30 /^[\W]+/Lfr_FR
31     *** Failers
32  0: *** 
33     École
34 No match
35
36 /[\b]/
37     \b
38  0: \x08
39     *** Failers
40 No match
41     a
42 No match
43
44 /[\b]/Lfr_FR
45     \b
46  0: \x08
47     *** Failers
48 No match
49     a
50 No match
51
52 /^\w+/
53     *** Failers
54 No match
55     École
56 No match
57
58 /^\w+/Lfr_FR
59     École
60  0: École
61
62 /(.+)\b(.+)/
63     École
64  0: \xc9cole
65  1: \xc9
66  2: cole
67
68 /(.+)\b(.+)/Lfr_FR
69     *** Failers
70  0: *** Failers
71  1: *** 
72  2: Failers
73     École
74 No match
75
76 /École/i
77     École
78  0: \xc9cole
79     *** Failers
80 No match
81     école
82 No match
83
84 /École/iLfr_FR
85     École
86  0: École
87     école
88  0: école
89
90 /\w/IS
91 Capturing subpattern count = 0
92 No options
93 No first char
94 No need char
95 Subject length lower bound = 1
96 Starting chars: 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 
97   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 
98
99 /\w/ISLfr_FR
100 Capturing subpattern count = 0
101 No options
102 No first char
103 No need char
104 Subject length lower bound = 1
105 Starting chars: 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 
106   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 
107   ª µ º À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â 
108   ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ 
109
110 /^[\xc8-\xc9]/iLfr_FR
111     École
112  0: É
113     école
114  0: é
115
116 /^[\xc8-\xc9]/Lfr_FR
117     École
118  0: É
119     *** Failers 
120 No match
121     école
122 No match
123
124 /\W+/Lfr_FR
125     >>>\xaa<<<
126  0: >>>
127     >>>\xba<<< 
128  0: >>>
129
130 /[\W]+/Lfr_FR
131     >>>\xaa<<<
132  0: >>>
133     >>>\xba<<< 
134  0: >>>
135
136 /[^[:alpha:]]+/Lfr_FR
137     >>>\xaa<<<
138  0: >>>
139     >>>\xba<<< 
140  0: >>>
141
142 /\w+/Lfr_FR
143     >>>\xaa<<<
144  0: ª
145     >>>\xba<<< 
146  0: º
147
148 /[\w]+/Lfr_FR
149     >>>\xaa<<<
150  0: ª
151     >>>\xba<<< 
152  0: º
153
154 /[[:alpha:]]+/Lfr_FR
155     >>>\xaa<<<
156  0: ª
157     >>>\xba<<< 
158  0: º
159     
160 /[[:alpha:]][[:lower:]][[:upper:]]/DZLfr_FR 
161 ------------------------------------------------------------------
162         Bra
163         [A-Za-z\x83\x8a\x8c\x8e\x9a\x9c\x9e\x9f\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]
164         [a-z\x83\x9a\x9c\x9e\xaa\xb5\xba\xdf-\xf6\xf8-\xff]
165         [A-Z\x8a\x8c\x8e\x9f\xc0-\xd6\xd8-\xde]
166         Ket
167         End
168 ------------------------------------------------------------------
169 Capturing subpattern count = 0
170 No options
171 No first char
172 No need char
173
174 /-- End of testinput3 --/