|
1 /-- Do not use the \x{} construct except with patterns that have the --/ |
|
2 /-- /8 option set, because PCRE doesn't recognize them as UTF-8 unless --/ |
|
3 No match |
|
4 /-- that option is set. However, the latest Perls recognize them always. --/ |
|
5 No match |
|
6 |
|
7 /a.b/8 |
|
8 acb |
|
9 0: acb |
|
10 a\x7fb |
|
11 0: a\x{7f}b |
|
12 a\x{100}b |
|
13 0: a\x{100}b |
|
14 *** Failers |
|
15 No match |
|
16 a\nb |
|
17 No match |
|
18 |
|
19 /a(.{3})b/8 |
|
20 a\x{4000}xyb |
|
21 0: a\x{4000}xyb |
|
22 1: \x{4000}xy |
|
23 a\x{4000}\x7fyb |
|
24 0: a\x{4000}\x{7f}yb |
|
25 1: \x{4000}\x{7f}y |
|
26 a\x{4000}\x{100}yb |
|
27 0: a\x{4000}\x{100}yb |
|
28 1: \x{4000}\x{100}y |
|
29 *** Failers |
|
30 No match |
|
31 a\x{4000}b |
|
32 No match |
|
33 ac\ncb |
|
34 No match |
|
35 |
|
36 /a(.*?)(.)/ |
|
37 a\xc0\x88b |
|
38 0: a\xc0 |
|
39 1: |
|
40 2: \xc0 |
|
41 |
|
42 /a(.*?)(.)/8 |
|
43 a\x{100}b |
|
44 0: a\x{100} |
|
45 1: |
|
46 2: \x{100} |
|
47 |
|
48 /a(.*)(.)/ |
|
49 a\xc0\x88b |
|
50 0: a\xc0\x88b |
|
51 1: \xc0\x88 |
|
52 2: b |
|
53 |
|
54 /a(.*)(.)/8 |
|
55 a\x{100}b |
|
56 0: a\x{100}b |
|
57 1: \x{100} |
|
58 2: b |
|
59 |
|
60 /a(.)(.)/ |
|
61 a\xc0\x92bcd |
|
62 0: a\xc0\x92 |
|
63 1: \xc0 |
|
64 2: \x92 |
|
65 |
|
66 /a(.)(.)/8 |
|
67 a\x{240}bcd |
|
68 0: a\x{240}b |
|
69 1: \x{240} |
|
70 2: b |
|
71 |
|
72 /a(.?)(.)/ |
|
73 a\xc0\x92bcd |
|
74 0: a\xc0\x92 |
|
75 1: \xc0 |
|
76 2: \x92 |
|
77 |
|
78 /a(.?)(.)/8 |
|
79 a\x{240}bcd |
|
80 0: a\x{240}b |
|
81 1: \x{240} |
|
82 2: b |
|
83 |
|
84 /a(.??)(.)/ |
|
85 a\xc0\x92bcd |
|
86 0: a\xc0 |
|
87 1: |
|
88 2: \xc0 |
|
89 |
|
90 /a(.??)(.)/8 |
|
91 a\x{240}bcd |
|
92 0: a\x{240} |
|
93 1: |
|
94 2: \x{240} |
|
95 |
|
96 /a(.{3})b/8 |
|
97 a\x{1234}xyb |
|
98 0: a\x{1234}xyb |
|
99 1: \x{1234}xy |
|
100 a\x{1234}\x{4321}yb |
|
101 0: a\x{1234}\x{4321}yb |
|
102 1: \x{1234}\x{4321}y |
|
103 a\x{1234}\x{4321}\x{3412}b |
|
104 0: a\x{1234}\x{4321}\x{3412}b |
|
105 1: \x{1234}\x{4321}\x{3412} |
|
106 *** Failers |
|
107 No match |
|
108 a\x{1234}b |
|
109 No match |
|
110 ac\ncb |
|
111 No match |
|
112 |
|
113 /a(.{3,})b/8 |
|
114 a\x{1234}xyb |
|
115 0: a\x{1234}xyb |
|
116 1: \x{1234}xy |
|
117 a\x{1234}\x{4321}yb |
|
118 0: a\x{1234}\x{4321}yb |
|
119 1: \x{1234}\x{4321}y |
|
120 a\x{1234}\x{4321}\x{3412}b |
|
121 0: a\x{1234}\x{4321}\x{3412}b |
|
122 1: \x{1234}\x{4321}\x{3412} |
|
123 axxxxbcdefghijb |
|
124 0: axxxxbcdefghijb |
|
125 1: xxxxbcdefghij |
|
126 a\x{1234}\x{4321}\x{3412}\x{3421}b |
|
127 0: a\x{1234}\x{4321}\x{3412}\x{3421}b |
|
128 1: \x{1234}\x{4321}\x{3412}\x{3421} |
|
129 *** Failers |
|
130 No match |
|
131 a\x{1234}b |
|
132 No match |
|
133 |
|
134 /a(.{3,}?)b/8 |
|
135 a\x{1234}xyb |
|
136 0: a\x{1234}xyb |
|
137 1: \x{1234}xy |
|
138 a\x{1234}\x{4321}yb |
|
139 0: a\x{1234}\x{4321}yb |
|
140 1: \x{1234}\x{4321}y |
|
141 a\x{1234}\x{4321}\x{3412}b |
|
142 0: a\x{1234}\x{4321}\x{3412}b |
|
143 1: \x{1234}\x{4321}\x{3412} |
|
144 axxxxbcdefghijb |
|
145 0: axxxxb |
|
146 1: xxxx |
|
147 a\x{1234}\x{4321}\x{3412}\x{3421}b |
|
148 0: a\x{1234}\x{4321}\x{3412}\x{3421}b |
|
149 1: \x{1234}\x{4321}\x{3412}\x{3421} |
|
150 *** Failers |
|
151 No match |
|
152 a\x{1234}b |
|
153 No match |
|
154 |
|
155 /a(.{3,5})b/8 |
|
156 a\x{1234}xyb |
|
157 0: a\x{1234}xyb |
|
158 1: \x{1234}xy |
|
159 a\x{1234}\x{4321}yb |
|
160 0: a\x{1234}\x{4321}yb |
|
161 1: \x{1234}\x{4321}y |
|
162 a\x{1234}\x{4321}\x{3412}b |
|
163 0: a\x{1234}\x{4321}\x{3412}b |
|
164 1: \x{1234}\x{4321}\x{3412} |
|
165 axxxxbcdefghijb |
|
166 0: axxxxb |
|
167 1: xxxx |
|
168 a\x{1234}\x{4321}\x{3412}\x{3421}b |
|
169 0: a\x{1234}\x{4321}\x{3412}\x{3421}b |
|
170 1: \x{1234}\x{4321}\x{3412}\x{3421} |
|
171 axbxxbcdefghijb |
|
172 0: axbxxb |
|
173 1: xbxx |
|
174 axxxxxbcdefghijb |
|
175 0: axxxxxb |
|
176 1: xxxxx |
|
177 *** Failers |
|
178 No match |
|
179 a\x{1234}b |
|
180 No match |
|
181 axxxxxxbcdefghijb |
|
182 No match |
|
183 |
|
184 /a(.{3,5}?)b/8 |
|
185 a\x{1234}xyb |
|
186 0: a\x{1234}xyb |
|
187 1: \x{1234}xy |
|
188 a\x{1234}\x{4321}yb |
|
189 0: a\x{1234}\x{4321}yb |
|
190 1: \x{1234}\x{4321}y |
|
191 a\x{1234}\x{4321}\x{3412}b |
|
192 0: a\x{1234}\x{4321}\x{3412}b |
|
193 1: \x{1234}\x{4321}\x{3412} |
|
194 axxxxbcdefghijb |
|
195 0: axxxxb |
|
196 1: xxxx |
|
197 a\x{1234}\x{4321}\x{3412}\x{3421}b |
|
198 0: a\x{1234}\x{4321}\x{3412}\x{3421}b |
|
199 1: \x{1234}\x{4321}\x{3412}\x{3421} |
|
200 axbxxbcdefghijb |
|
201 0: axbxxb |
|
202 1: xbxx |
|
203 axxxxxbcdefghijb |
|
204 0: axxxxxb |
|
205 1: xxxxx |
|
206 *** Failers |
|
207 No match |
|
208 a\x{1234}b |
|
209 No match |
|
210 axxxxxxbcdefghijb |
|
211 No match |
|
212 |
|
213 /^[a\x{c0}]/8 |
|
214 *** Failers |
|
215 No match |
|
216 \x{100} |
|
217 No match |
|
218 |
|
219 /(?<=aXb)cd/8 |
|
220 aXbcd |
|
221 0: cd |
|
222 |
|
223 /(?<=a\x{100}b)cd/8 |
|
224 a\x{100}bcd |
|
225 0: cd |
|
226 |
|
227 /(?<=a\x{100000}b)cd/8 |
|
228 a\x{100000}bcd |
|
229 0: cd |
|
230 |
|
231 /(?:\x{100}){3}b/8 |
|
232 \x{100}\x{100}\x{100}b |
|
233 0: \x{100}\x{100}\x{100}b |
|
234 *** Failers |
|
235 No match |
|
236 \x{100}\x{100}b |
|
237 No match |
|
238 |
|
239 /\x{ab}/8 |
|
240 \x{ab} |
|
241 0: \x{ab} |
|
242 \xc2\xab |
|
243 0: \x{ab} |
|
244 *** Failers |
|
245 No match |
|
246 \x00{ab} |
|
247 No match |
|
248 |
|
249 /(?<=(.))X/8 |
|
250 WXYZ |
|
251 0: X |
|
252 1: W |
|
253 \x{256}XYZ |
|
254 0: X |
|
255 1: \x{256} |
|
256 *** Failers |
|
257 No match |
|
258 XYZ |
|
259 No match |
|
260 |
|
261 /X(\C{3})/8 |
|
262 X\x{1234} |
|
263 0: X\x{1234} |
|
264 1: \x{1234} |
|
265 |
|
266 /X(\C{4})/8 |
|
267 X\x{1234}YZ |
|
268 0: X\x{1234}Y |
|
269 1: \x{1234}Y |
|
270 |
|
271 /X\C*/8 |
|
272 XYZabcdce |
|
273 0: XYZabcdce |
|
274 |
|
275 /X\C*?/8 |
|
276 XYZabcde |
|
277 0: X |
|
278 |
|
279 /X\C{3,5}/8 |
|
280 Xabcdefg |
|
281 0: Xabcde |
|
282 X\x{1234} |
|
283 0: X\x{1234} |
|
284 X\x{1234}YZ |
|
285 0: X\x{1234}YZ |
|
286 X\x{1234}\x{512} |
|
287 0: X\x{1234}\x{512} |
|
288 X\x{1234}\x{512}YZ |
|
289 0: X\x{1234}\x{512} |
|
290 |
|
291 /X\C{3,5}?/8 |
|
292 Xabcdefg |
|
293 0: Xabc |
|
294 X\x{1234} |
|
295 0: X\x{1234} |
|
296 X\x{1234}YZ |
|
297 0: X\x{1234} |
|
298 X\x{1234}\x{512} |
|
299 0: X\x{1234} |
|
300 |
|
301 /[^a]+/8g |
|
302 bcd |
|
303 0: bcd |
|
304 \x{100}aY\x{256}Z |
|
305 0: \x{100} |
|
306 0: Y\x{256}Z |
|
307 |
|
308 /^[^a]{2}/8 |
|
309 \x{100}bc |
|
310 0: \x{100}b |
|
311 |
|
312 /^[^a]{2,}/8 |
|
313 \x{100}bcAa |
|
314 0: \x{100}bcA |
|
315 |
|
316 /^[^a]{2,}?/8 |
|
317 \x{100}bca |
|
318 0: \x{100}b |
|
319 |
|
320 /[^a]+/8ig |
|
321 bcd |
|
322 0: bcd |
|
323 \x{100}aY\x{256}Z |
|
324 0: \x{100} |
|
325 0: Y\x{256}Z |
|
326 |
|
327 /^[^a]{2}/8i |
|
328 \x{100}bc |
|
329 0: \x{100}b |
|
330 |
|
331 /^[^a]{2,}/8i |
|
332 \x{100}bcAa |
|
333 0: \x{100}bc |
|
334 |
|
335 /^[^a]{2,}?/8i |
|
336 \x{100}bca |
|
337 0: \x{100}b |
|
338 |
|
339 /\x{100}{0,0}/8 |
|
340 abcd |
|
341 0: |
|
342 |
|
343 /\x{100}?/8 |
|
344 abcd |
|
345 0: |
|
346 \x{100}\x{100} |
|
347 0: \x{100} |
|
348 |
|
349 /\x{100}{0,3}/8 |
|
350 \x{100}\x{100} |
|
351 0: \x{100}\x{100} |
|
352 \x{100}\x{100}\x{100}\x{100} |
|
353 0: \x{100}\x{100}\x{100} |
|
354 |
|
355 /\x{100}*/8 |
|
356 abce |
|
357 0: |
|
358 \x{100}\x{100}\x{100}\x{100} |
|
359 0: \x{100}\x{100}\x{100}\x{100} |
|
360 |
|
361 /\x{100}{1,1}/8 |
|
362 abcd\x{100}\x{100}\x{100}\x{100} |
|
363 0: \x{100} |
|
364 |
|
365 /\x{100}{1,3}/8 |
|
366 abcd\x{100}\x{100}\x{100}\x{100} |
|
367 0: \x{100}\x{100}\x{100} |
|
368 |
|
369 /\x{100}+/8 |
|
370 abcd\x{100}\x{100}\x{100}\x{100} |
|
371 0: \x{100}\x{100}\x{100}\x{100} |
|
372 |
|
373 /\x{100}{3}/8 |
|
374 abcd\x{100}\x{100}\x{100}XX |
|
375 0: \x{100}\x{100}\x{100} |
|
376 |
|
377 /\x{100}{3,5}/8 |
|
378 abcd\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}XX |
|
379 0: \x{100}\x{100}\x{100}\x{100}\x{100} |
|
380 |
|
381 /\x{100}{3,}/8 |
|
382 abcd\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}XX |
|
383 0: \x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100} |
|
384 |
|
385 /(?<=a\x{100}{2}b)X/8+ |
|
386 Xyyya\x{100}\x{100}bXzzz |
|
387 0: X |
|
388 0+ zzz |
|
389 |
|
390 /\D*/8 |
|
391 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
|
392 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
|
393 |
|
394 /\D*/8 |
|
395 \x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100} |
|
396 0: \x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100} |
|
397 |
|
398 /\D/8 |
|
399 1X2 |
|
400 0: X |
|
401 1\x{100}2 |
|
402 0: \x{100} |
|
403 |
|
404 />\S/8 |
|
405 > >X Y |
|
406 0: >X |
|
407 > >\x{100} Y |
|
408 0: >\x{100} |
|
409 |
|
410 /\d/8 |
|
411 \x{100}3 |
|
412 0: 3 |
|
413 |
|
414 /\s/8 |
|
415 \x{100} X |
|
416 0: |
|
417 |
|
418 /\D+/8 |
|
419 12abcd34 |
|
420 0: abcd |
|
421 *** Failers |
|
422 0: *** Failers |
|
423 1234 |
|
424 No match |
|
425 |
|
426 /\D{2,3}/8 |
|
427 12abcd34 |
|
428 0: abc |
|
429 12ab34 |
|
430 0: ab |
|
431 *** Failers |
|
432 0: *** |
|
433 1234 |
|
434 No match |
|
435 12a34 |
|
436 No match |
|
437 |
|
438 /\D{2,3}?/8 |
|
439 12abcd34 |
|
440 0: ab |
|
441 12ab34 |
|
442 0: ab |
|
443 *** Failers |
|
444 0: ** |
|
445 1234 |
|
446 No match |
|
447 12a34 |
|
448 No match |
|
449 |
|
450 /\d+/8 |
|
451 12abcd34 |
|
452 0: 12 |
|
453 *** Failers |
|
454 No match |
|
455 |
|
456 /\d{2,3}/8 |
|
457 12abcd34 |
|
458 0: 12 |
|
459 1234abcd |
|
460 0: 123 |
|
461 *** Failers |
|
462 No match |
|
463 1.4 |
|
464 No match |
|
465 |
|
466 /\d{2,3}?/8 |
|
467 12abcd34 |
|
468 0: 12 |
|
469 1234abcd |
|
470 0: 12 |
|
471 *** Failers |
|
472 No match |
|
473 1.4 |
|
474 No match |
|
475 |
|
476 /\S+/8 |
|
477 12abcd34 |
|
478 0: 12abcd34 |
|
479 *** Failers |
|
480 0: *** |
|
481 \ \ |
|
482 No match |
|
483 |
|
484 /\S{2,3}/8 |
|
485 12abcd34 |
|
486 0: 12a |
|
487 1234abcd |
|
488 0: 123 |
|
489 *** Failers |
|
490 0: *** |
|
491 \ \ |
|
492 No match |
|
493 |
|
494 /\S{2,3}?/8 |
|
495 12abcd34 |
|
496 0: 12 |
|
497 1234abcd |
|
498 0: 12 |
|
499 *** Failers |
|
500 0: ** |
|
501 \ \ |
|
502 No match |
|
503 |
|
504 />\s+</8+ |
|
505 12> <34 |
|
506 0: > < |
|
507 0+ 34 |
|
508 *** Failers |
|
509 No match |
|
510 |
|
511 />\s{2,3}</8+ |
|
512 ab> <cd |
|
513 0: > < |
|
514 0+ cd |
|
515 ab> <ce |
|
516 0: > < |
|
517 0+ ce |
|
518 *** Failers |
|
519 No match |
|
520 ab> <cd |
|
521 No match |
|
522 |
|
523 />\s{2,3}?</8+ |
|
524 ab> <cd |
|
525 0: > < |
|
526 0+ cd |
|
527 ab> <ce |
|
528 0: > < |
|
529 0+ ce |
|
530 *** Failers |
|
531 No match |
|
532 ab> <cd |
|
533 No match |
|
534 |
|
535 /\w+/8 |
|
536 12 34 |
|
537 0: 12 |
|
538 *** Failers |
|
539 0: Failers |
|
540 +++=*! |
|
541 No match |
|
542 |
|
543 /\w{2,3}/8 |
|
544 ab cd |
|
545 0: ab |
|
546 abcd ce |
|
547 0: abc |
|
548 *** Failers |
|
549 0: Fai |
|
550 a.b.c |
|
551 No match |
|
552 |
|
553 /\w{2,3}?/8 |
|
554 ab cd |
|
555 0: ab |
|
556 abcd ce |
|
557 0: ab |
|
558 *** Failers |
|
559 0: Fa |
|
560 a.b.c |
|
561 No match |
|
562 |
|
563 /\W+/8 |
|
564 12====34 |
|
565 0: ==== |
|
566 *** Failers |
|
567 0: *** |
|
568 abcd |
|
569 No match |
|
570 |
|
571 /\W{2,3}/8 |
|
572 ab====cd |
|
573 0: === |
|
574 ab==cd |
|
575 0: == |
|
576 *** Failers |
|
577 0: *** |
|
578 a.b.c |
|
579 No match |
|
580 |
|
581 /\W{2,3}?/8 |
|
582 ab====cd |
|
583 0: == |
|
584 ab==cd |
|
585 0: == |
|
586 *** Failers |
|
587 0: ** |
|
588 a.b.c |
|
589 No match |
|
590 |
|
591 /[\x{100}]/8 |
|
592 \x{100} |
|
593 0: \x{100} |
|
594 Z\x{100} |
|
595 0: \x{100} |
|
596 \x{100}Z |
|
597 0: \x{100} |
|
598 *** Failers |
|
599 No match |
|
600 |
|
601 /[Z\x{100}]/8 |
|
602 Z\x{100} |
|
603 0: Z |
|
604 \x{100} |
|
605 0: \x{100} |
|
606 \x{100}Z |
|
607 0: \x{100} |
|
608 *** Failers |
|
609 No match |
|
610 |
|
611 /[\x{100}\x{200}]/8 |
|
612 ab\x{100}cd |
|
613 0: \x{100} |
|
614 ab\x{200}cd |
|
615 0: \x{200} |
|
616 *** Failers |
|
617 No match |
|
618 |
|
619 /[\x{100}-\x{200}]/8 |
|
620 ab\x{100}cd |
|
621 0: \x{100} |
|
622 ab\x{200}cd |
|
623 0: \x{200} |
|
624 ab\x{111}cd |
|
625 0: \x{111} |
|
626 *** Failers |
|
627 No match |
|
628 |
|
629 /[z-\x{200}]/8 |
|
630 ab\x{100}cd |
|
631 0: \x{100} |
|
632 ab\x{200}cd |
|
633 0: \x{200} |
|
634 ab\x{111}cd |
|
635 0: \x{111} |
|
636 abzcd |
|
637 0: z |
|
638 ab|cd |
|
639 0: | |
|
640 *** Failers |
|
641 No match |
|
642 |
|
643 /[Q\x{100}\x{200}]/8 |
|
644 ab\x{100}cd |
|
645 0: \x{100} |
|
646 ab\x{200}cd |
|
647 0: \x{200} |
|
648 Q? |
|
649 0: Q |
|
650 *** Failers |
|
651 No match |
|
652 |
|
653 /[Q\x{100}-\x{200}]/8 |
|
654 ab\x{100}cd |
|
655 0: \x{100} |
|
656 ab\x{200}cd |
|
657 0: \x{200} |
|
658 ab\x{111}cd |
|
659 0: \x{111} |
|
660 Q? |
|
661 0: Q |
|
662 *** Failers |
|
663 No match |
|
664 |
|
665 /[Qz-\x{200}]/8 |
|
666 ab\x{100}cd |
|
667 0: \x{100} |
|
668 ab\x{200}cd |
|
669 0: \x{200} |
|
670 ab\x{111}cd |
|
671 0: \x{111} |
|
672 abzcd |
|
673 0: z |
|
674 ab|cd |
|
675 0: | |
|
676 Q? |
|
677 0: Q |
|
678 *** Failers |
|
679 No match |
|
680 |
|
681 /[\x{100}\x{200}]{1,3}/8 |
|
682 ab\x{100}cd |
|
683 0: \x{100} |
|
684 ab\x{200}cd |
|
685 0: \x{200} |
|
686 ab\x{200}\x{100}\x{200}\x{100}cd |
|
687 0: \x{200}\x{100}\x{200} |
|
688 *** Failers |
|
689 No match |
|
690 |
|
691 /[\x{100}\x{200}]{1,3}?/8 |
|
692 ab\x{100}cd |
|
693 0: \x{100} |
|
694 ab\x{200}cd |
|
695 0: \x{200} |
|
696 ab\x{200}\x{100}\x{200}\x{100}cd |
|
697 0: \x{200} |
|
698 *** Failers |
|
699 No match |
|
700 |
|
701 /[Q\x{100}\x{200}]{1,3}/8 |
|
702 ab\x{100}cd |
|
703 0: \x{100} |
|
704 ab\x{200}cd |
|
705 0: \x{200} |
|
706 ab\x{200}\x{100}\x{200}\x{100}cd |
|
707 0: \x{200}\x{100}\x{200} |
|
708 *** Failers |
|
709 No match |
|
710 |
|
711 /[Q\x{100}\x{200}]{1,3}?/8 |
|
712 ab\x{100}cd |
|
713 0: \x{100} |
|
714 ab\x{200}cd |
|
715 0: \x{200} |
|
716 ab\x{200}\x{100}\x{200}\x{100}cd |
|
717 0: \x{200} |
|
718 *** Failers |
|
719 No match |
|
720 |
|
721 /(?<=[\x{100}\x{200}])X/8 |
|
722 abc\x{200}X |
|
723 0: X |
|
724 abc\x{100}X |
|
725 0: X |
|
726 *** Failers |
|
727 No match |
|
728 X |
|
729 No match |
|
730 |
|
731 /(?<=[Q\x{100}\x{200}])X/8 |
|
732 abc\x{200}X |
|
733 0: X |
|
734 abc\x{100}X |
|
735 0: X |
|
736 abQX |
|
737 0: X |
|
738 *** Failers |
|
739 No match |
|
740 X |
|
741 No match |
|
742 |
|
743 /(?<=[\x{100}\x{200}]{3})X/8 |
|
744 abc\x{100}\x{200}\x{100}X |
|
745 0: X |
|
746 *** Failers |
|
747 No match |
|
748 abc\x{200}X |
|
749 No match |
|
750 X |
|
751 No match |
|
752 |
|
753 /[^\x{100}\x{200}]X/8 |
|
754 AX |
|
755 0: AX |
|
756 \x{150}X |
|
757 0: \x{150}X |
|
758 \x{500}X |
|
759 0: \x{500}X |
|
760 *** Failers |
|
761 No match |
|
762 \x{100}X |
|
763 No match |
|
764 \x{200}X |
|
765 No match |
|
766 |
|
767 /[^Q\x{100}\x{200}]X/8 |
|
768 AX |
|
769 0: AX |
|
770 \x{150}X |
|
771 0: \x{150}X |
|
772 \x{500}X |
|
773 0: \x{500}X |
|
774 *** Failers |
|
775 No match |
|
776 \x{100}X |
|
777 No match |
|
778 \x{200}X |
|
779 No match |
|
780 QX |
|
781 No match |
|
782 |
|
783 /[^\x{100}-\x{200}]X/8 |
|
784 AX |
|
785 0: AX |
|
786 \x{500}X |
|
787 0: \x{500}X |
|
788 *** Failers |
|
789 No match |
|
790 \x{100}X |
|
791 No match |
|
792 \x{150}X |
|
793 No match |
|
794 \x{200}X |
|
795 No match |
|
796 |
|
797 /a\Cb/ |
|
798 aXb |
|
799 0: aXb |
|
800 a\nb |
|
801 0: a\x0ab |
|
802 |
|
803 /a\Cb/8 |
|
804 aXb |
|
805 0: aXb |
|
806 a\nb |
|
807 0: a\x{0a}b |
|
808 *** Failers |
|
809 No match |
|
810 a\x{100}b |
|
811 No match |
|
812 |
|
813 /[z-\x{100}]/8i |
|
814 z |
|
815 0: z |
|
816 Z |
|
817 0: Z |
|
818 \x{100} |
|
819 0: \x{100} |
|
820 *** Failers |
|
821 No match |
|
822 \x{102} |
|
823 No match |
|
824 y |
|
825 No match |
|
826 |
|
827 /[\xFF]/ |
|
828 >\xff< |
|
829 0: \xff |
|
830 |
|
831 /[\xff]/8 |
|
832 >\x{ff}< |
|
833 0: \x{ff} |
|
834 |
|
835 /[^\xFF]/ |
|
836 XYZ |
|
837 0: X |
|
838 |
|
839 /[^\xff]/8 |
|
840 XYZ |
|
841 0: X |
|
842 \x{123} |
|
843 0: \x{123} |
|
844 |
|
845 /^[ac]*b/8 |
|
846 xb |
|
847 No match |
|
848 |
|
849 /^[ac\x{100}]*b/8 |
|
850 xb |
|
851 No match |
|
852 |
|
853 /^[^x]*b/8i |
|
854 xb |
|
855 No match |
|
856 |
|
857 /^[^x]*b/8 |
|
858 xb |
|
859 No match |
|
860 |
|
861 /^\d*b/8 |
|
862 xb |
|
863 No match |
|
864 |
|
865 /(|a)/g8 |
|
866 catac |
|
867 0: |
|
868 1: |
|
869 0: |
|
870 1: |
|
871 0: a |
|
872 1: a |
|
873 0: |
|
874 1: |
|
875 0: |
|
876 1: |
|
877 0: a |
|
878 1: a |
|
879 0: |
|
880 1: |
|
881 0: |
|
882 1: |
|
883 a\x{256}a |
|
884 0: |
|
885 1: |
|
886 0: a |
|
887 1: a |
|
888 0: |
|
889 1: |
|
890 0: |
|
891 1: |
|
892 0: a |
|
893 1: a |
|
894 0: |
|
895 1: |
|
896 |
|
897 /^\x{85}$/8i |
|
898 \x{85} |
|
899 0: \x{85} |
|
900 |
|
901 /^ሴ/8 |
|
902 ሴ |
|
903 0: \x{1234} |
|
904 |
|
905 /^\ሴ/8 |
|
906 ሴ |
|
907 0: \x{1234} |
|
908 |
|
909 "(?s)(.{1,5})"8 |
|
910 abcdefg |
|
911 0: abcde |
|
912 1: abcde |
|
913 ab |
|
914 0: ab |
|
915 1: ab |
|
916 |
|
917 /a*\x{100}*\w/8 |
|
918 a |
|
919 0: a |
|
920 |
|
921 /\S\S/8g |
|
922 A\x{a3}BC |
|
923 0: A\x{a3} |
|
924 0: BC |
|
925 |
|
926 /\S{2}/8g |
|
927 A\x{a3}BC |
|
928 0: A\x{a3} |
|
929 0: BC |
|
930 |
|
931 /\W\W/8g |
|
932 +\x{a3}== |
|
933 0: +\x{a3} |
|
934 0: == |
|
935 |
|
936 /\W{2}/8g |
|
937 +\x{a3}== |
|
938 0: +\x{a3} |
|
939 0: == |
|
940 |
|
941 /\S/8g |
|
942 \x{442}\x{435}\x{441}\x{442} |
|
943 0: \x{442} |
|
944 0: \x{435} |
|
945 0: \x{441} |
|
946 0: \x{442} |
|
947 |
|
948 /[\S]/8g |
|
949 \x{442}\x{435}\x{441}\x{442} |
|
950 0: \x{442} |
|
951 0: \x{435} |
|
952 0: \x{441} |
|
953 0: \x{442} |
|
954 |
|
955 /\D/8g |
|
956 \x{442}\x{435}\x{441}\x{442} |
|
957 0: \x{442} |
|
958 0: \x{435} |
|
959 0: \x{441} |
|
960 0: \x{442} |
|
961 |
|
962 /[\D]/8g |
|
963 \x{442}\x{435}\x{441}\x{442} |
|
964 0: \x{442} |
|
965 0: \x{435} |
|
966 0: \x{441} |
|
967 0: \x{442} |
|
968 |
|
969 /\W/8g |
|
970 \x{2442}\x{2435}\x{2441}\x{2442} |
|
971 0: \x{2442} |
|
972 0: \x{2435} |
|
973 0: \x{2441} |
|
974 0: \x{2442} |
|
975 |
|
976 /[\W]/8g |
|
977 \x{2442}\x{2435}\x{2441}\x{2442} |
|
978 0: \x{2442} |
|
979 0: \x{2435} |
|
980 0: \x{2441} |
|
981 0: \x{2442} |
|
982 |
|
983 /[\S\s]*/8 |
|
984 abc\n\r\x{442}\x{435}\x{441}\x{442}xyz |
|
985 0: abc\x{0a}\x{0d}\x{442}\x{435}\x{441}\x{442}xyz |
|
986 |
|
987 /[\x{41f}\S]/8g |
|
988 \x{442}\x{435}\x{441}\x{442} |
|
989 0: \x{442} |
|
990 0: \x{435} |
|
991 0: \x{441} |
|
992 0: \x{442} |
|
993 |
|
994 /.[^\S]./8g |
|
995 abc def\x{442}\x{443}xyz\npqr |
|
996 0: c d |
|
997 0: z\x{0a}p |
|
998 |
|
999 /.[^\S\n]./8g |
|
1000 abc def\x{442}\x{443}xyz\npqr |
|
1001 0: c d |
|
1002 |
|
1003 /[[:^alnum:]]/8g |
|
1004 +\x{2442} |
|
1005 0: + |
|
1006 0: \x{2442} |
|
1007 |
|
1008 /[[:^alpha:]]/8g |
|
1009 +\x{2442} |
|
1010 0: + |
|
1011 0: \x{2442} |
|
1012 |
|
1013 /[[:^ascii:]]/8g |
|
1014 A\x{442} |
|
1015 0: \x{442} |
|
1016 |
|
1017 /[[:^blank:]]/8g |
|
1018 A\x{442} |
|
1019 0: A |
|
1020 0: \x{442} |
|
1021 |
|
1022 /[[:^cntrl:]]/8g |
|
1023 A\x{442} |
|
1024 0: A |
|
1025 0: \x{442} |
|
1026 |
|
1027 /[[:^digit:]]/8g |
|
1028 A\x{442} |
|
1029 0: A |
|
1030 0: \x{442} |
|
1031 |
|
1032 /[[:^graph:]]/8g |
|
1033 \x19\x{e01ff} |
|
1034 0: \x{19} |
|
1035 0: \x{e01ff} |
|
1036 |
|
1037 /[[:^lower:]]/8g |
|
1038 A\x{422} |
|
1039 0: A |
|
1040 0: \x{422} |
|
1041 |
|
1042 /[[:^print:]]/8g |
|
1043 \x{19}\x{e01ff} |
|
1044 0: \x{19} |
|
1045 0: \x{e01ff} |
|
1046 |
|
1047 /[[:^punct:]]/8g |
|
1048 A\x{442} |
|
1049 0: A |
|
1050 0: \x{442} |
|
1051 |
|
1052 /[[:^space:]]/8g |
|
1053 A\x{442} |
|
1054 0: A |
|
1055 0: \x{442} |
|
1056 |
|
1057 /[[:^upper:]]/8g |
|
1058 a\x{442} |
|
1059 0: a |
|
1060 0: \x{442} |
|
1061 |
|
1062 /[[:^word:]]/8g |
|
1063 +\x{2442} |
|
1064 0: + |
|
1065 0: \x{2442} |
|
1066 |
|
1067 /[[:^xdigit:]]/8g |
|
1068 M\x{442} |
|
1069 0: M |
|
1070 0: \x{442} |
|
1071 |
|
1072 /[^ABCDEFGHIJKLMNOPQRSTUVWXYZÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞĀĂĄĆĈĊČĎĐĒĔĖĘĚĜĞĠĢĤĦĨĪĬĮİIJĴĶĹĻĽĿŁŃŅŇŊŌŎŐŒŔŖŘŚŜŞŠŢŤŦŨŪŬŮŰŲŴŶŸŹŻŽƁƂƄƆƇƉƊƋƎƏƐƑƓƔƖƗƘƜƝƟƠƢƤƦƧƩƬƮƯƱƲƳƵƷƸƼDŽLJNJǍǏǑǓǕǗǙǛǞǠǢǤǦǨǪǬǮDZǴǶǷǸǺǼǾȀȂȄȆȈȊȌȎȐȒȔȖȘȚȜȞȠȢȤȦȨȪȬȮȰȲȺȻȽȾɁΆΈΉΊΌΎΏΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩΪΫϒϓϔϘϚϜϞϠϢϤϦϨϪϬϮϴϷϹϺϽϾϿЀЁЂЃЄЅІЇЈЉЊЋЌЍЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯѠѢѤѦѨѪѬѮѰѲѴѶѸѺѼѾҀҊҌҎҐҒҔҖҘҚҜҞҠҢҤҦҨҪҬҮҰҲҴҶҸҺҼҾӀӁӃӅӇӉӋӍӐӒӔӖӘӚӜӞӠӢӤӦӨӪӬӮӰӲӴӶӸԀԂԄԆԈԊԌԎԱԲԳԴԵԶԷԸԹԺԻԼԽԾԿՀՁՂՃՄՅՆՇՈՉՊՋՌՍՎՏՐՑՒՓՔՕՖႠႡႢႣႤႥႦႧႨႩႪႫႬႭႮႯႰႱႲႳႴႵႶႷႸႹႺႻႼႽႾႿჀჁჂჃჄჅḀḂḄḆḈḊḌḎḐḒḔḖḘḚḜḞḠḢḤḦḨḪḬḮḰḲḴḶḸḺḼḾṀṂṄṆṈṊṌṎṐṒṔṖṘṚṜṞṠṢṤṦṨṪṬṮṰṲṴṶṸṺṼṾẀẂẄẆẈẊẌẎẐẒẔẠẢẤẦẨẪẬẮẰẲẴẶẸẺẼẾỀỂỄỆỈỊỌỎỐỒỔỖỘỚỜỞỠỢỤỦỨỪỬỮỰỲỴỶỸἈἉἊἋἌἍἎἏἘἙἚἛἜἝἨἩἪἫἬἭἮἯἸἹἺἻἼἽἾἿὈὉὊὋὌὍὙὛὝὟὨὩὪὫὬὭὮὯᾸᾹᾺΆῈΈῊΉῘῙῚΊῨῩῪΎῬῸΌῺΏabcdefghijklmnopqrstuvwxyzªµºßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿāăąćĉċčďđēĕėęěĝğġģĥħĩīĭįıijĵķĸĺļľŀłńņňʼnŋōŏőœŕŗřśŝşšţťŧũūŭůűųŵŷźżžſƀƃƅƈƌƍƒƕƙƚƛƞơƣƥƨƪƫƭưƴƶƹƺƽƾƿdžljnjǎǐǒǔǖǘǚǜǝǟǡǣǥǧǩǫǭǯǰdzǵǹǻǽǿȁȃȅȇȉȋȍȏȑȓȕȗșțȝȟȡȣȥȧȩȫȭȯȱȳȴȵȶȷȸȹȼȿɀɐɑɒɓɔɕɖɗɘəɚɛɜɝɞɟɠɡɢɣɤɥɦɧɨɩɪɫɬɭɮɯɰɱɲɳɴɵɶɷɸɹɺɻɼɽɾɿʀʁʂʃʄʅʆʇʈʉʊʋʌʍʎʏʐʑʒʓʔʕʖʗʘʙʚʛʜʝʞʟʠʡʢʣʤʥʦʧʨʩʪʫʬʭʮʯΐάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώϐϑϕϖϗϙϛϝϟϡϣϥϧϩϫϭϯϰϱϲϳϵϸϻϼабвгдежзийклмнопрстуфхцчшщъыьэюяѐёђѓєѕіїјљњћќѝўџѡѣѥѧѩѫѭѯѱѳѵѷѹѻѽѿҁҋҍҏґғҕҗҙқҝҟҡңҥҧҩҫҭүұҳҵҷҹһҽҿӂӄӆӈӊӌӎӑӓӕӗәӛӝӟӡӣӥӧөӫӭӯӱӳӵӷӹԁԃԅԇԉԋԍԏաբգդեզէըթժիլխծկհձղճմյնշոչպջռսվտրցւփքօֆևᴀᴁᴂᴃᴄᴅᴆᴇᴈᴉᴊᴋᴌᴍᴎᴏᴐᴑᴒᴓᴔᴕᴖᴗᴘᴙᴚᴛᴜᴝᴞᴟᴠᴡᴢᴣᴤᴥᴦᴧᴨᴩᴪᴫᵢᵣᵤᵥᵦᵧᵨᵩᵪᵫᵬᵭᵮᵯᵰᵱᵲᵳᵴᵵᵶᵷᵹᵺᵻᵼᵽᵾᵿᶀᶁᶂᶃᶄᶅᶆᶇᶈᶉᶊᶋᶌᶍᶎᶏᶐᶑᶒᶓᶔᶕᶖᶗᶘᶙᶚḁḃḅḇḉḋḍḏḑḓḕḗḙḛḝḟḡḣḥḧḩḫḭḯḱḳḵḷḹḻḽḿṁṃṅṇṉṋṍṏṑṓṕṗṙṛṝṟṡṣṥṧṩṫṭṯṱṳṵṷṹṻṽṿẁẃẅẇẉẋẍẏẑẓẕẖẗẘẙẚẛạảấầẩẫậắằẳẵặẹẻẽếềểễệỉịọỏốồổỗộớờởỡợụủứừửữựỳỵỷỹἀἁἂἃἄἅἆἇἐἑἒἓἔἕἠἡἢἣἤἥἦἧἰἱἲἳἴἵἶἷὀὁὂὃὄὅὐὑὒὓὔὕὖὗὠὡὢὣὤὥὦὧὰάὲέὴήὶίὸόὺύὼώᾀᾁᾂᾃᾄᾅᾆᾇᾐᾑᾒᾓᾔᾕᾖᾗᾠᾡᾢᾣᾤᾥᾦᾧᾰᾱᾲᾳᾴᾶᾷιῂῃῄῆῇῐῑῒΐῖῗῠῡῢΰῤῥῦῧῲῳῴῶῷⲁⲃⲅⲇⲉⲋⲍⲏⲑⲓⲕⲗⲙⲛⲝⲟⲡⲣⲥⲧⲩⲫⲭⲯⲱⲳⲵⲷⲹⲻⲽⲿⳁⳃⳅⳇⳉⳋⳍⳏⳑⳓⳕⳗⳙⳛⳝⳟⳡⳣⳤⴀⴁⴂⴃⴄⴅⴆⴇⴈⴉⴊⴋⴌⴍⴎⴏⴐⴑⴒⴓⴔⴕⴖⴗⴘⴙⴚⴛⴜⴝⴞⴟⴠⴡⴢⴣⴤⴥfffiflffifflſtstﬓﬔﬕﬖﬗ\d-_^]/8 |
|
1073 |
|
1074 /^[^d]*?$/ |
|
1075 abc |
|
1076 0: abc |
|
1077 |
|
1078 /^[^d]*?$/8 |
|
1079 abc |
|
1080 0: abc |
|
1081 |
|
1082 /^[^d]*?$/i |
|
1083 abc |
|
1084 0: abc |
|
1085 |
|
1086 /^[^d]*?$/8i |
|
1087 abc |
|
1088 0: abc |
|
1089 |
|
1090 /(?i)[\xc3\xa9\xc3\xbd]|[\xc3\xa9\xc3\xbdA]/8 |
|
1091 |
|
1092 / End of testinput4 / |