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

Contents of /code/trunk/testdata/testoutput4

Parent Directory Parent Directory | Revision Log Revision Log


Revision 214 - (hide annotations) (download)
Wed Aug 15 14:08:10 2007 UTC (6 years, 11 months ago) by ph10
File size: 14913 byte(s)
Fixed another looking-too-far-back-in-non-UTF-8-mode bug.

1 nigel 63 /-- 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 nigel 41 *** Failers
15     No match
16 nigel 63 a\nb
17 nigel 41 No match
18    
19 nigel 63 /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 nigel 41
36 nigel 63 /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 nigel 41 *** Failers
107     No match
108 nigel 63 a\x{1234}b
109 nigel 41 No match
110 nigel 63 ac\ncb
111     No match
112 nigel 41
113 nigel 63 /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 nigel 41
134 nigel 63 /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 nigel 41 *** Failers
151     No match
152 nigel 63 a\x{1234}b
153     No match
154 nigel 41
155 nigel 63 /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 nigel 41 *** Failers
178     No match
179 nigel 63 a\x{1234}b
180 nigel 41 No match
181 nigel 63 axxxxxxbcdefghijb
182     No match
183 nigel 41
184 nigel 63 /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 nigel 41 *** Failers
207     No match
208 nigel 63 a\x{1234}b
209 nigel 41 No match
210 nigel 63 axxxxxxbcdefghijb
211     No match
212 nigel 41
213 nigel 63 /^[a\x{c0}]/8
214 nigel 41 *** Failers
215     No match
216 nigel 63 \x{100}
217 nigel 41 No match
218    
219 nigel 63 /(?<=aXb)cd/8
220     aXbcd
221     0: cd
222 nigel 41
223 nigel 63 /(?<=a\x{100}b)cd/8
224     a\x{100}bcd
225     0: cd
226 nigel 41
227 nigel 63 /(?<=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 nigel 41 *** Failers
257 nigel 63 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 nigel 41 0: *** Failers
423 nigel 63 1234
424 nigel 41 No match
425    
426 nigel 63 /\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 nigel 41 *** Failers
454     No match
455 nigel 63
456     /\d{2,3}/8
457     12abcd34
458     0: 12
459     1234abcd
460     0: 123
461     *** Failers
462 nigel 41 No match
463 nigel 63 1.4
464     No match
465 nigel 41
466 nigel 63 /\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 nigel 41
476 nigel 63 /\S+/8
477     12abcd34
478     0: 12abcd34
479     *** Failers
480     0: ***
481     \ \
482     No match
483 nigel 41
484 nigel 63 /\S{2,3}/8
485     12abcd34
486     0: 12a
487     1234abcd
488     0: 123
489     *** Failers
490     0: ***
491     \ \
492     No match
493 nigel 41
494 nigel 63 /\S{2,3}?/8
495     12abcd34
496     0: 12
497     1234abcd
498     0: 12
499     *** Failers
500     0: **
501     \ \
502     No match
503 nigel 41
504 nigel 63 />\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 nigel 41 *** Failers
599     No match
600 nigel 63
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 nigel 41 No match
610    
611 nigel 63 /[\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 nigel 75 \x{102}
823 nigel 63 No match
824     y
825     No match
826    
827 nigel 67 /[\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 nigel 69 /^[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 nigel 73 /(|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 nigel 75 /^\x{85}$/8i
898     \x{85}
899     0: \x{85}
900    
901 nigel 91 /^ሴ/8
902    
903     0: \x{1234}
904    
905 nigel 87 /^\ሴ/8
906    
907     0: \x{1234}
908    
909 nigel 91 "(?s)(.{1,5})"8
910     abcdefg
911     0: abcde
912     1: abcde
913     ab
914     0: ab
915     1: ab
916    
917 nigel 93 /a*\x{100}*\w/8
918     a
919     0: a
920    
921 ph10 214 /[\PPP\x8a]{1,}\x80/
922     A\x80
923     0: A\x80
924    
925 nigel 49 / End of testinput4 /

Properties

Name Value
svn:keywords "Author Date Id Revision Url"

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12