/[pcre]/code/trunk/testdata/testoutput4
ViewVC logotype

Contents of /code/trunk/testdata/testoutput4

Parent Directory Parent Directory | Revision Log Revision Log


Revision 71 - (hide annotations) (download)
Sat Feb 24 21:40:24 2007 UTC (7 years, 8 months ago) by nigel
File size: 14602 byte(s)
Load pcre-4.4 into code/trunk.

1 nigel 71 PCRE version 4.4 21-August-2003
2 nigel 41
3 nigel 63 /-- Do not use the \x{} construct except with patterns that have the --/
4     /-- /8 option set, because PCRE doesn't recognize them as UTF-8 unless --/
5     No match
6     /-- that option is set. However, the latest Perls recognize them always. --/
7     No match
8    
9     /a.b/8
10     acb
11     0: acb
12     a\x7fb
13     0: a\x{7f}b
14     a\x{100}b
15     0: a\x{100}b
16 nigel 41 *** Failers
17     No match
18 nigel 63 a\nb
19 nigel 41 No match
20    
21 nigel 63 /a(.{3})b/8
22     a\x{4000}xyb
23     0: a\x{4000}xyb
24     1: \x{4000}xy
25     a\x{4000}\x7fyb
26     0: a\x{4000}\x{7f}yb
27     1: \x{4000}\x{7f}y
28     a\x{4000}\x{100}yb
29     0: a\x{4000}\x{100}yb
30     1: \x{4000}\x{100}y
31     *** Failers
32     No match
33     a\x{4000}b
34     No match
35     ac\ncb
36     No match
37 nigel 41
38 nigel 63 /a(.*?)(.)/
39     a\xc0\x88b
40     0: a\xc0
41     1:
42     2: \xc0
43    
44     /a(.*?)(.)/8
45     a\x{100}b
46     0: a\x{100}
47     1:
48     2: \x{100}
49    
50     /a(.*)(.)/
51     a\xc0\x88b
52     0: a\xc0\x88b
53     1: \xc0\x88
54     2: b
55    
56     /a(.*)(.)/8
57     a\x{100}b
58     0: a\x{100}b
59     1: \x{100}
60     2: b
61    
62     /a(.)(.)/
63     a\xc0\x92bcd
64     0: a\xc0\x92
65     1: \xc0
66     2: \x92
67    
68     /a(.)(.)/8
69     a\x{240}bcd
70     0: a\x{240}b
71     1: \x{240}
72     2: b
73    
74     /a(.?)(.)/
75     a\xc0\x92bcd
76     0: a\xc0\x92
77     1: \xc0
78     2: \x92
79    
80     /a(.?)(.)/8
81     a\x{240}bcd
82     0: a\x{240}b
83     1: \x{240}
84     2: b
85    
86     /a(.??)(.)/
87     a\xc0\x92bcd
88     0: a\xc0
89     1:
90     2: \xc0
91    
92     /a(.??)(.)/8
93     a\x{240}bcd
94     0: a\x{240}
95     1:
96     2: \x{240}
97    
98     /a(.{3})b/8
99     a\x{1234}xyb
100     0: a\x{1234}xyb
101     1: \x{1234}xy
102     a\x{1234}\x{4321}yb
103     0: a\x{1234}\x{4321}yb
104     1: \x{1234}\x{4321}y
105     a\x{1234}\x{4321}\x{3412}b
106     0: a\x{1234}\x{4321}\x{3412}b
107     1: \x{1234}\x{4321}\x{3412}
108 nigel 41 *** Failers
109     No match
110 nigel 63 a\x{1234}b
111 nigel 41 No match
112 nigel 63 ac\ncb
113     No match
114 nigel 41
115 nigel 63 /a(.{3,})b/8
116     a\x{1234}xyb
117     0: a\x{1234}xyb
118     1: \x{1234}xy
119     a\x{1234}\x{4321}yb
120     0: a\x{1234}\x{4321}yb
121     1: \x{1234}\x{4321}y
122     a\x{1234}\x{4321}\x{3412}b
123     0: a\x{1234}\x{4321}\x{3412}b
124     1: \x{1234}\x{4321}\x{3412}
125     axxxxbcdefghijb
126     0: axxxxbcdefghijb
127     1: xxxxbcdefghij
128     a\x{1234}\x{4321}\x{3412}\x{3421}b
129     0: a\x{1234}\x{4321}\x{3412}\x{3421}b
130     1: \x{1234}\x{4321}\x{3412}\x{3421}
131     *** Failers
132     No match
133     a\x{1234}b
134     No match
135 nigel 41
136 nigel 63 /a(.{3,}?)b/8
137     a\x{1234}xyb
138     0: a\x{1234}xyb
139     1: \x{1234}xy
140     a\x{1234}\x{4321}yb
141     0: a\x{1234}\x{4321}yb
142     1: \x{1234}\x{4321}y
143     a\x{1234}\x{4321}\x{3412}b
144     0: a\x{1234}\x{4321}\x{3412}b
145     1: \x{1234}\x{4321}\x{3412}
146     axxxxbcdefghijb
147     0: axxxxb
148     1: xxxx
149     a\x{1234}\x{4321}\x{3412}\x{3421}b
150     0: a\x{1234}\x{4321}\x{3412}\x{3421}b
151     1: \x{1234}\x{4321}\x{3412}\x{3421}
152 nigel 41 *** Failers
153     No match
154 nigel 63 a\x{1234}b
155     No match
156 nigel 41
157 nigel 63 /a(.{3,5})b/8
158     a\x{1234}xyb
159     0: a\x{1234}xyb
160     1: \x{1234}xy
161     a\x{1234}\x{4321}yb
162     0: a\x{1234}\x{4321}yb
163     1: \x{1234}\x{4321}y
164     a\x{1234}\x{4321}\x{3412}b
165     0: a\x{1234}\x{4321}\x{3412}b
166     1: \x{1234}\x{4321}\x{3412}
167     axxxxbcdefghijb
168     0: axxxxb
169     1: xxxx
170     a\x{1234}\x{4321}\x{3412}\x{3421}b
171     0: a\x{1234}\x{4321}\x{3412}\x{3421}b
172     1: \x{1234}\x{4321}\x{3412}\x{3421}
173     axbxxbcdefghijb
174     0: axbxxb
175     1: xbxx
176     axxxxxbcdefghijb
177     0: axxxxxb
178     1: xxxxx
179 nigel 41 *** Failers
180     No match
181 nigel 63 a\x{1234}b
182 nigel 41 No match
183 nigel 63 axxxxxxbcdefghijb
184     No match
185 nigel 41
186 nigel 63 /a(.{3,5}?)b/8
187     a\x{1234}xyb
188     0: a\x{1234}xyb
189     1: \x{1234}xy
190     a\x{1234}\x{4321}yb
191     0: a\x{1234}\x{4321}yb
192     1: \x{1234}\x{4321}y
193     a\x{1234}\x{4321}\x{3412}b
194     0: a\x{1234}\x{4321}\x{3412}b
195     1: \x{1234}\x{4321}\x{3412}
196     axxxxbcdefghijb
197     0: axxxxb
198     1: xxxx
199     a\x{1234}\x{4321}\x{3412}\x{3421}b
200     0: a\x{1234}\x{4321}\x{3412}\x{3421}b
201     1: \x{1234}\x{4321}\x{3412}\x{3421}
202     axbxxbcdefghijb
203     0: axbxxb
204     1: xbxx
205     axxxxxbcdefghijb
206     0: axxxxxb
207     1: xxxxx
208 nigel 41 *** Failers
209     No match
210 nigel 63 a\x{1234}b
211 nigel 41 No match
212 nigel 63 axxxxxxbcdefghijb
213     No match
214 nigel 41
215 nigel 63 /^[a\x{c0}]/8
216 nigel 41 *** Failers
217     No match
218 nigel 63 \x{100}
219 nigel 41 No match
220    
221 nigel 63 /(?<=aXb)cd/8
222     aXbcd
223     0: cd
224 nigel 41
225 nigel 63 /(?<=a\x{100}b)cd/8
226     a\x{100}bcd
227     0: cd
228 nigel 41
229 nigel 63 /(?<=a\x{100000}b)cd/8
230     a\x{100000}bcd
231     0: cd
232    
233     /(?:\x{100}){3}b/8
234     \x{100}\x{100}\x{100}b
235     0: \x{100}\x{100}\x{100}b
236     *** Failers
237     No match
238     \x{100}\x{100}b
239     No match
240    
241     /\x{ab}/8
242     \x{ab}
243     0: \x{ab}
244     \xc2\xab
245     0: \x{ab}
246     *** Failers
247     No match
248     \x00{ab}
249     No match
250    
251     /(?<=(.))X/8
252     WXYZ
253     0: X
254     1: W
255     \x{256}XYZ
256     0: X
257     1: \x{256}
258 nigel 41 *** Failers
259 nigel 63 No match
260     XYZ
261     No match
262    
263     /X(\C{3})/8
264     X\x{1234}
265     0: X\x{1234}
266     1: \x{1234}
267    
268     /X(\C{4})/8
269     X\x{1234}YZ
270     0: X\x{1234}Y
271     1: \x{1234}Y
272    
273     /X\C*/8
274     XYZabcdce
275     0: XYZabcdce
276    
277     /X\C*?/8
278     XYZabcde
279     0: X
280    
281     /X\C{3,5}/8
282     Xabcdefg
283     0: Xabcde
284     X\x{1234}
285     0: X\x{1234}
286     X\x{1234}YZ
287     0: X\x{1234}YZ
288     X\x{1234}\x{512}
289     0: X\x{1234}\x{512}
290     X\x{1234}\x{512}YZ
291     0: X\x{1234}\x{512}
292    
293     /X\C{3,5}?/8
294     Xabcdefg
295     0: Xabc
296     X\x{1234}
297     0: X\x{1234}
298     X\x{1234}YZ
299     0: X\x{1234}
300     X\x{1234}\x{512}
301     0: X\x{1234}
302    
303     /[^a]+/8g
304     bcd
305     0: bcd
306     \x{100}aY\x{256}Z
307     0: \x{100}
308     0: Y\x{256}Z
309    
310     /^[^a]{2}/8
311     \x{100}bc
312     0: \x{100}b
313    
314     /^[^a]{2,}/8
315     \x{100}bcAa
316     0: \x{100}bcA
317    
318     /^[^a]{2,}?/8
319     \x{100}bca
320     0: \x{100}b
321    
322     /[^a]+/8ig
323     bcd
324     0: bcd
325     \x{100}aY\x{256}Z
326     0: \x{100}
327     0: Y\x{256}Z
328    
329     /^[^a]{2}/8i
330     \x{100}bc
331     0: \x{100}b
332    
333     /^[^a]{2,}/8i
334     \x{100}bcAa
335     0: \x{100}bc
336    
337     /^[^a]{2,}?/8i
338     \x{100}bca
339     0: \x{100}b
340    
341     /\x{100}{0,0}/8
342     abcd
343     0:
344    
345     /\x{100}?/8
346     abcd
347     0:
348     \x{100}\x{100}
349     0: \x{100}
350    
351     /\x{100}{0,3}/8
352     \x{100}\x{100}
353     0: \x{100}\x{100}
354     \x{100}\x{100}\x{100}\x{100}
355     0: \x{100}\x{100}\x{100}
356    
357     /\x{100}*/8
358     abce
359     0:
360     \x{100}\x{100}\x{100}\x{100}
361     0: \x{100}\x{100}\x{100}\x{100}
362    
363     /\x{100}{1,1}/8
364     abcd\x{100}\x{100}\x{100}\x{100}
365     0: \x{100}
366    
367     /\x{100}{1,3}/8
368     abcd\x{100}\x{100}\x{100}\x{100}
369     0: \x{100}\x{100}\x{100}
370    
371     /\x{100}+/8
372     abcd\x{100}\x{100}\x{100}\x{100}
373     0: \x{100}\x{100}\x{100}\x{100}
374    
375     /\x{100}{3}/8
376     abcd\x{100}\x{100}\x{100}XX
377     0: \x{100}\x{100}\x{100}
378    
379     /\x{100}{3,5}/8
380     abcd\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}XX
381     0: \x{100}\x{100}\x{100}\x{100}\x{100}
382    
383     /\x{100}{3,}/8
384     abcd\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}XX
385     0: \x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}
386    
387     /(?<=a\x{100}{2}b)X/8+
388     Xyyya\x{100}\x{100}bXzzz
389     0: X
390     0+ zzz
391    
392     /\D*/8
393     aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
394     0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
395    
396     /\D*/8
397     \x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}
398     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}
399    
400     /\D/8
401     1X2
402     0: X
403     1\x{100}2
404     0: \x{100}
405    
406     />\S/8
407     > >X Y
408     0: >X
409     > >\x{100} Y
410     0: >\x{100}
411    
412     /\W/8
413     A.B
414     0: .
415     A\x{100}B
416     0: \x{100}
417    
418     /\d/8
419     \x{100}3
420     0: 3
421    
422     /\s/8
423     \x{100} X
424     0:
425    
426     /\w/8
427     \x{100}X
428     0: X
429    
430     /\D+/8
431     12abcd34
432     0: abcd
433     *** Failers
434 nigel 41 0: *** Failers
435 nigel 63 1234
436 nigel 41 No match
437    
438 nigel 63 /\D{2,3}/8
439     12abcd34
440     0: abc
441     12ab34
442     0: ab
443     *** Failers
444     0: ***
445     1234
446     No match
447     12a34
448     No match
449    
450     /\D{2,3}?/8
451     12abcd34
452     0: ab
453     12ab34
454     0: ab
455     *** Failers
456     0: **
457     1234
458     No match
459     12a34
460     No match
461    
462     /\d+/8
463     12abcd34
464     0: 12
465 nigel 41 *** Failers
466     No match
467 nigel 63
468     /\d{2,3}/8
469     12abcd34
470     0: 12
471     1234abcd
472     0: 123
473     *** Failers
474 nigel 41 No match
475 nigel 63 1.4
476     No match
477 nigel 41
478 nigel 63 /\d{2,3}?/8
479     12abcd34
480     0: 12
481     1234abcd
482     0: 12
483     *** Failers
484     No match
485     1.4
486     No match
487 nigel 41
488 nigel 63 /\S+/8
489     12abcd34
490     0: 12abcd34
491     *** Failers
492     0: ***
493     \ \
494     No match
495 nigel 41
496 nigel 63 /\S{2,3}/8
497     12abcd34
498     0: 12a
499     1234abcd
500     0: 123
501     *** Failers
502     0: ***
503     \ \
504     No match
505 nigel 41
506 nigel 63 /\S{2,3}?/8
507     12abcd34
508     0: 12
509     1234abcd
510     0: 12
511     *** Failers
512     0: **
513     \ \
514     No match
515 nigel 41
516 nigel 63 />\s+</8+
517     12> <34
518     0: > <
519     0+ 34
520     *** Failers
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     />\s{2,3}?</8+
536     ab> <cd
537     0: > <
538     0+ cd
539     ab> <ce
540     0: > <
541     0+ ce
542     *** Failers
543     No match
544     ab> <cd
545     No match
546    
547     /\w+/8
548     12 34
549     0: 12
550     *** Failers
551     0: Failers
552     +++=*!
553     No match
554    
555     /\w{2,3}/8
556     ab cd
557     0: ab
558     abcd ce
559     0: abc
560     *** Failers
561     0: Fai
562     a.b.c
563     No match
564    
565     /\w{2,3}?/8
566     ab cd
567     0: ab
568     abcd ce
569     0: ab
570     *** Failers
571     0: Fa
572     a.b.c
573     No match
574    
575     /\W+/8
576     12====34
577     0: ====
578     *** Failers
579     0: ***
580     abcd
581     No match
582    
583     /\W{2,3}/8
584     ab====cd
585     0: ===
586     ab==cd
587     0: ==
588     *** Failers
589     0: ***
590     a.b.c
591     No match
592    
593     /\W{2,3}?/8
594     ab====cd
595     0: ==
596     ab==cd
597     0: ==
598     *** Failers
599     0: **
600     a.b.c
601     No match
602    
603     /[\x{100}]/8
604     \x{100}
605     0: \x{100}
606     Z\x{100}
607     0: \x{100}
608     \x{100}Z
609     0: \x{100}
610 nigel 41 *** Failers
611     No match
612 nigel 63
613     /[Z\x{100}]/8
614     Z\x{100}
615     0: Z
616     \x{100}
617     0: \x{100}
618     \x{100}Z
619     0: \x{100}
620     *** Failers
621 nigel 41 No match
622    
623 nigel 63 /[\x{100}\x{200}]/8
624     ab\x{100}cd
625     0: \x{100}
626     ab\x{200}cd
627     0: \x{200}
628     *** Failers
629     No match
630    
631     /[\x{100}-\x{200}]/8
632     ab\x{100}cd
633     0: \x{100}
634     ab\x{200}cd
635     0: \x{200}
636     ab\x{111}cd
637     0: \x{111}
638     *** Failers
639     No match
640    
641     /[z-\x{200}]/8
642     ab\x{100}cd
643     0: \x{100}
644     ab\x{200}cd
645     0: \x{200}
646     ab\x{111}cd
647     0: \x{111}
648     abzcd
649     0: z
650     ab|cd
651     0: |
652     *** Failers
653     No match
654    
655     /[Q\x{100}\x{200}]/8
656     ab\x{100}cd
657     0: \x{100}
658     ab\x{200}cd
659     0: \x{200}
660     Q?
661     0: Q
662     *** Failers
663     No match
664    
665     /[Q\x{100}-\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     Q?
673     0: Q
674     *** Failers
675     No match
676    
677     /[Qz-\x{200}]/8
678     ab\x{100}cd
679     0: \x{100}
680     ab\x{200}cd
681     0: \x{200}
682     ab\x{111}cd
683     0: \x{111}
684     abzcd
685     0: z
686     ab|cd
687     0: |
688     Q?
689     0: Q
690     *** Failers
691     No match
692    
693     /[\x{100}\x{200}]{1,3}/8
694     ab\x{100}cd
695     0: \x{100}
696     ab\x{200}cd
697     0: \x{200}
698     ab\x{200}\x{100}\x{200}\x{100}cd
699     0: \x{200}\x{100}\x{200}
700     *** Failers
701     No match
702    
703     /[\x{100}\x{200}]{1,3}?/8
704     ab\x{100}cd
705     0: \x{100}
706     ab\x{200}cd
707     0: \x{200}
708     ab\x{200}\x{100}\x{200}\x{100}cd
709     0: \x{200}
710     *** Failers
711     No match
712    
713     /[Q\x{100}\x{200}]{1,3}/8
714     ab\x{100}cd
715     0: \x{100}
716     ab\x{200}cd
717     0: \x{200}
718     ab\x{200}\x{100}\x{200}\x{100}cd
719     0: \x{200}\x{100}\x{200}
720     *** Failers
721     No match
722    
723     /[Q\x{100}\x{200}]{1,3}?/8
724     ab\x{100}cd
725     0: \x{100}
726     ab\x{200}cd
727     0: \x{200}
728     ab\x{200}\x{100}\x{200}\x{100}cd
729     0: \x{200}
730     *** Failers
731     No match
732    
733     /(?<=[\x{100}\x{200}])X/8
734     abc\x{200}X
735     0: X
736     abc\x{100}X
737     0: X
738     *** Failers
739     No match
740     X
741     No match
742    
743     /(?<=[Q\x{100}\x{200}])X/8
744     abc\x{200}X
745     0: X
746     abc\x{100}X
747     0: X
748     abQX
749     0: X
750     *** Failers
751     No match
752     X
753     No match
754    
755     /(?<=[\x{100}\x{200}]{3})X/8
756     abc\x{100}\x{200}\x{100}X
757     0: X
758     *** Failers
759     No match
760     abc\x{200}X
761     No match
762     X
763     No match
764    
765     /[^\x{100}\x{200}]X/8
766     AX
767     0: AX
768     \x{150}X
769     0: \x{150}X
770     \x{500}X
771     0: \x{500}X
772     *** Failers
773     No match
774     \x{100}X
775     No match
776     \x{200}X
777     No match
778    
779     /[^Q\x{100}\x{200}]X/8
780     AX
781     0: AX
782     \x{150}X
783     0: \x{150}X
784     \x{500}X
785     0: \x{500}X
786     *** Failers
787     No match
788     \x{100}X
789     No match
790     \x{200}X
791     No match
792     QX
793     No match
794    
795     /[^\x{100}-\x{200}]X/8
796     AX
797     0: AX
798     \x{500}X
799     0: \x{500}X
800     *** Failers
801     No match
802     \x{100}X
803     No match
804     \x{150}X
805     No match
806     \x{200}X
807     No match
808    
809     /a\Cb/
810     aXb
811     0: aXb
812     a\nb
813     0: a\x0ab
814    
815     /a\Cb/8
816     aXb
817     0: aXb
818     a\nb
819     0: a\x{0a}b
820     *** Failers
821     No match
822     a\x{100}b
823     No match
824    
825     /[z-\x{100}]/8i
826     z
827     0: z
828     Z
829     0: Z
830     \x{100}
831     0: \x{100}
832     *** Failers
833     No match
834     \x{101}
835     No match
836     y
837     No match
838    
839 nigel 67 /[\xFF]/
840     >\xff<
841     0: \xff
842    
843     /[\xff]/8
844     >\x{ff}<
845     0: \x{ff}
846    
847     /[^\xFF]/
848     XYZ
849     0: X
850    
851     /[^\xff]/8
852     XYZ
853     0: X
854     \x{123}
855     0: \x{123}
856    
857 nigel 69 /^[ac]*b/8
858     xb
859     No match
860    
861     /^[ac\x{100}]*b/8
862     xb
863     No match
864    
865     /^[^x]*b/8i
866     xb
867     No match
868    
869     /^[^x]*b/8
870     xb
871     No match
872    
873     /^\d*b/8
874     xb
875     No match
876    
877 nigel 49 / End of testinput4 /
878 nigel 41

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12