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

Contents of /code/trunk/testdata/testoutput5

Parent Directory Parent Directory | Revision Log Revision Log


Revision 87 - (hide annotations) (download)
Sat Feb 24 21:41:21 2007 UTC (7 years, 1 month ago) by nigel
File size: 23439 byte(s)
Load pcre-6.5 into code/trunk.

1 nigel 63 /\x{100}/8DM
2 nigel 75 Memory allocation (code space): 10
3     ------------------------------------------------------------------
4     0 6 Bra 0
5     3 \x{100}
6     6 6 Ket
7     9 End
8     ------------------------------------------------------------------
9     Capturing subpattern count = 0
10     Options: utf8
11     First char = 196
12     Need char = 128
13    
14     /\x{1000}/8DM
15 nigel 63 Memory allocation (code space): 11
16     ------------------------------------------------------------------
17     0 7 Bra 0
18 nigel 75 3 \x{1000}
19 nigel 63 7 7 Ket
20     10 End
21     ------------------------------------------------------------------
22     Capturing subpattern count = 0
23     Options: utf8
24 nigel 75 First char = 225
25 nigel 63 Need char = 128
26 nigel 49
27 nigel 75 /\x{10000}/8DM
28 nigel 63 Memory allocation (code space): 12
29     ------------------------------------------------------------------
30     0 8 Bra 0
31 nigel 75 3 \x{10000}
32 nigel 63 8 8 Ket
33     11 End
34     ------------------------------------------------------------------
35     Capturing subpattern count = 0
36     Options: utf8
37 nigel 75 First char = 240
38 nigel 63 Need char = 128
39 nigel 49
40 nigel 75 /\x{100000}/8DM
41     Memory allocation (code space): 12
42 nigel 63 ------------------------------------------------------------------
43 nigel 75 0 8 Bra 0
44     3 \x{100000}
45     8 8 Ket
46     11 End
47 nigel 63 ------------------------------------------------------------------
48     Capturing subpattern count = 0
49     Options: utf8
50 nigel 75 First char = 244
51 nigel 63 Need char = 128
52 nigel 49
53 nigel 75 /\x{1000000}/8DM
54 nigel 63 Memory allocation (code space): 13
55     ------------------------------------------------------------------
56     0 9 Bra 0
57 nigel 75 3 \x{1000000}
58 nigel 63 9 9 Ket
59     12 End
60     ------------------------------------------------------------------
61     Capturing subpattern count = 0
62     Options: utf8
63 nigel 75 First char = 249
64 nigel 63 Need char = 128
65 nigel 49
66 nigel 75 /\x{4000000}/8DM
67 nigel 63 Memory allocation (code space): 14
68     ------------------------------------------------------------------
69     0 10 Bra 0
70 nigel 75 3 \x{4000000}
71 nigel 63 10 10 Ket
72     13 End
73     ------------------------------------------------------------------
74     Capturing subpattern count = 0
75     Options: utf8
76     First char = 252
77     Need char = 128
78 nigel 49
79 nigel 63 /\x{7fffFFFF}/8DM
80 nigel 75 Memory allocation (code space): 14
81 nigel 63 ------------------------------------------------------------------
82 nigel 75 0 10 Bra 0
83     3 \x{7fffffff}
84     10 10 Ket
85     13 End
86 nigel 63 ------------------------------------------------------------------
87     Capturing subpattern count = 0
88     Options: utf8
89     First char = 253
90     Need char = 191
91 nigel 49
92 nigel 63 /[\x{ff}]/8DM
93 nigel 75 Memory allocation (code space): 10
94 nigel 63 ------------------------------------------------------------------
95 nigel 75 0 6 Bra 0
96     3 \x{ff}
97     6 6 Ket
98     9 End
99 nigel 63 ------------------------------------------------------------------
100     Capturing subpattern count = 0
101     Options: utf8
102 nigel 75 First char = 195
103     Need char = 191
104 nigel 49
105 nigel 63 /[\x{100}]/8DM
106     Memory allocation (code space): 47
107     ------------------------------------------------------------------
108     0 11 Bra 0
109     3 [\x{100}]
110     11 11 Ket
111     14 End
112     ------------------------------------------------------------------
113     Capturing subpattern count = 0
114     Options: utf8
115     No first char
116     No need char
117 nigel 49
118 nigel 63 /\x{ffffffff}/8
119     Failed: character value in \x{...} sequence is too large at offset 11
120 nigel 49
121 nigel 63 /\x{100000000}/8
122     Failed: character value in \x{...} sequence is too large at offset 12
123 nigel 49
124 nigel 63 /^\x{100}a\x{1234}/8
125     \x{100}a\x{1234}bcd
126     0: \x{100}a\x{1234}
127 nigel 49
128 nigel 63 /\x80/8D
129     ------------------------------------------------------------------
130 nigel 75 0 6 Bra 0
131     3 \x{80}
132     6 6 Ket
133     9 End
134 nigel 63 ------------------------------------------------------------------
135     Capturing subpattern count = 0
136     Options: utf8
137     First char = 194
138     Need char = 128
139    
140     /\xff/8D
141     ------------------------------------------------------------------
142 nigel 75 0 6 Bra 0
143     3 \x{ff}
144     6 6 Ket
145     9 End
146 nigel 63 ------------------------------------------------------------------
147     Capturing subpattern count = 0
148     Options: utf8
149     First char = 195
150     Need char = 191
151    
152     /\x{0041}\x{2262}\x{0391}\x{002e}/D8
153     ------------------------------------------------------------------
154 nigel 75 0 14 Bra 0
155     3 A\x{2262}\x{391}.
156     14 14 Ket
157     17 End
158 nigel 63 ------------------------------------------------------------------
159     Capturing subpattern count = 0
160     Options: utf8
161     First char = 'A'
162     Need char = '.'
163     \x{0041}\x{2262}\x{0391}\x{002e}
164     0: A\x{2262}\x{391}.
165    
166     /\x{D55c}\x{ad6d}\x{C5B4}/D8
167     ------------------------------------------------------------------
168 nigel 75 0 15 Bra 0
169     3 \x{d55c}\x{ad6d}\x{c5b4}
170     15 15 Ket
171     18 End
172 nigel 63 ------------------------------------------------------------------
173     Capturing subpattern count = 0
174     Options: utf8
175     First char = 237
176     Need char = 180
177     \x{D55c}\x{ad6d}\x{C5B4}
178     0: \x{d55c}\x{ad6d}\x{c5b4}
179    
180     /\x{65e5}\x{672c}\x{8a9e}/D8
181     ------------------------------------------------------------------
182 nigel 75 0 15 Bra 0
183     3 \x{65e5}\x{672c}\x{8a9e}
184     15 15 Ket
185     18 End
186 nigel 63 ------------------------------------------------------------------
187     Capturing subpattern count = 0
188     Options: utf8
189     First char = 230
190     Need char = 158
191     \x{65e5}\x{672c}\x{8a9e}
192     0: \x{65e5}\x{672c}\x{8a9e}
193    
194     /\x{80}/D8
195     ------------------------------------------------------------------
196 nigel 75 0 6 Bra 0
197     3 \x{80}
198     6 6 Ket
199     9 End
200 nigel 63 ------------------------------------------------------------------
201     Capturing subpattern count = 0
202     Options: utf8
203     First char = 194
204     Need char = 128
205    
206     /\x{084}/D8
207     ------------------------------------------------------------------
208 nigel 75 0 6 Bra 0
209     3 \x{84}
210     6 6 Ket
211     9 End
212 nigel 63 ------------------------------------------------------------------
213     Capturing subpattern count = 0
214     Options: utf8
215     First char = 194
216     Need char = 132
217    
218     /\x{104}/D8
219     ------------------------------------------------------------------
220 nigel 75 0 6 Bra 0
221     3 \x{104}
222     6 6 Ket
223     9 End
224 nigel 63 ------------------------------------------------------------------
225     Capturing subpattern count = 0
226     Options: utf8
227     First char = 196
228     Need char = 132
229    
230     /\x{861}/D8
231     ------------------------------------------------------------------
232 nigel 75 0 7 Bra 0
233     3 \x{861}
234     7 7 Ket
235     10 End
236 nigel 63 ------------------------------------------------------------------
237     Capturing subpattern count = 0
238     Options: utf8
239     First char = 224
240     Need char = 161
241    
242     /\x{212ab}/D8
243     ------------------------------------------------------------------
244 nigel 75 0 8 Bra 0
245     3 \x{212ab}
246     8 8 Ket
247     11 End
248 nigel 63 ------------------------------------------------------------------
249     Capturing subpattern count = 0
250     Options: utf8
251     First char = 240
252     Need char = 171
253    
254     /.{3,5}X/D8
255     ------------------------------------------------------------------
256 nigel 75 0 13 Bra 0
257 nigel 63 3 Any{3}
258     7 Any{0,2}
259 nigel 75 11 X
260     13 13 Ket
261     16 End
262 nigel 63 ------------------------------------------------------------------
263     Capturing subpattern count = 0
264 nigel 75 Partial matching not supported
265 nigel 63 Options: utf8
266     No first char
267     Need char = 'X'
268     \x{212ab}\x{212ab}\x{212ab}\x{861}X
269     0: \x{212ab}\x{212ab}\x{212ab}\x{861}X
270    
271    
272     /.{3,5}?/D8
273     ------------------------------------------------------------------
274     0 11 Bra 0
275     3 Any{3}
276     7 Any{0,2}?
277     11 11 Ket
278     14 End
279     ------------------------------------------------------------------
280     Capturing subpattern count = 0
281 nigel 75 Partial matching not supported
282 nigel 63 Options: utf8
283     No first char
284     No need char
285     \x{212ab}\x{212ab}\x{212ab}\x{861}
286     0: \x{212ab}\x{212ab}\x{212ab}
287    
288     /-- These tests are here rather than in testinput4 because Perl 5.6 has --/
289     /-- some problems with UTF-8 support, in the area of \x{..} where the --/
290     No match
291     /-- value is < 255. It grumbles about invalid UTF-8 strings. --/
292     No match
293    
294     /^[a\x{c0}]b/8
295     \x{c0}b
296     0: \x{c0}b
297    
298     /^([a\x{c0}]*?)aa/8
299     a\x{c0}aaaa/
300     0: a\x{c0}aa
301     1: a\x{c0}
302    
303     /^([a\x{c0}]*?)aa/8
304     a\x{c0}aaaa/
305     0: a\x{c0}aa
306     1: a\x{c0}
307     a\x{c0}a\x{c0}aaa/
308     0: a\x{c0}a\x{c0}aa
309     1: a\x{c0}a\x{c0}
310    
311     /^([a\x{c0}]*)aa/8
312     a\x{c0}aaaa/
313     0: a\x{c0}aaaa
314     1: a\x{c0}aa
315     a\x{c0}a\x{c0}aaa/
316     0: a\x{c0}a\x{c0}aaa
317     1: a\x{c0}a\x{c0}a
318    
319     /^([a\x{c0}]*)a\x{c0}/8
320     a\x{c0}aaaa/
321     0: a\x{c0}
322 nigel 49 1:
323 nigel 63 a\x{c0}a\x{c0}aaa/
324     0: a\x{c0}a\x{c0}
325     1: a\x{c0}
326    
327     /-- --/
328    
329     /(?<=\C)X/8
330     Failed: \C not allowed in lookbehind assertion at offset 6
331 nigel 49
332 nigel 63 /-- This one is here not because it's different to Perl, but because the --/
333     /-- way the captured single-byte is displayed. (In Perl it becomes a --/
334     No match
335     /-- character, and you can't tell the difference.) --/
336     No match
337    
338     /X(\C)(.*)/8
339     X\x{1234}
340     0: X\x{1234}
341     1: \xe1
342     2: \x88\xb4
343     X\nabc
344     0: X\x{0a}abc
345     1: \x{0a}
346     2: abc
347    
348     /^[ab]/8D
349     ------------------------------------------------------------------
350     0 37 Bra 0
351     3 ^
352 nigel 75 4 [ab]
353 nigel 63 37 37 Ket
354     40 End
355     ------------------------------------------------------------------
356     Capturing subpattern count = 0
357     Options: anchored utf8
358     No first char
359     No need char
360     bar
361     0: b
362 nigel 49 *** Failers
363     No match
364 nigel 63 c
365 nigel 49 No match
366 nigel 63 \x{ff}
367 nigel 49 No match
368 nigel 63 \x{100}
369     No match
370 nigel 49
371 nigel 63 /^[^ab]/8D
372     ------------------------------------------------------------------
373     0 37 Bra 0
374     3 ^
375     4 [\x00-`c-\xff] (neg)
376     37 37 Ket
377     40 End
378     ------------------------------------------------------------------
379     Capturing subpattern count = 0
380     Options: anchored utf8
381     No first char
382     No need char
383     c
384     0: c
385     \x{ff}
386     0: \x{ff}
387     \x{100}
388     0: \x{100}
389     *** Failers
390     0: *
391     aaa
392     No match
393    
394     /[^ab\xC0-\xF0]/8SD
395     ------------------------------------------------------------------
396     0 36 Bra 0
397     3 [\x00-`c-\xbf\xf1-\xff] (neg)
398     36 36 Ket
399     39 End
400     ------------------------------------------------------------------
401     Capturing subpattern count = 0
402     Options: utf8
403     No first char
404     No need char
405 nigel 75 Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
406 nigel 63 \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19
407     \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4
408     5 6 7 8 9 : ; < = > ? @ 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
409     Z [ \ ] ^ _ ` c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f
410 nigel 71 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0
411     \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf
412     \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee
413     \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd
414     \xfe \xff
415 nigel 63 \x{f1}
416     0: \x{f1}
417     \x{bf}
418     0: \x{bf}
419     \x{100}
420     0: \x{100}
421     \x{1000}
422     0: \x{1000}
423 nigel 49 *** Failers
424 nigel 63 0: *
425     \x{c0}
426 nigel 49 No match
427 nigel 63 \x{f0}
428 nigel 49 No match
429    
430 nigel 63 /Ā{3,4}/8SD
431     ------------------------------------------------------------------
432     0 13 Bra 0
433     3 \x{100}{3}
434     8 \x{100}{,1}
435     13 13 Ket
436     16 End
437     ------------------------------------------------------------------
438     Capturing subpattern count = 0
439 nigel 75 Partial matching not supported
440 nigel 63 Options: utf8
441     First char = 196
442     Need char = 128
443     Study returned NULL
444     \x{100}\x{100}\x{100}\x{100\x{100}
445     0: \x{100}\x{100}\x{100}
446    
447     /(\x{100}+|x)/8SD
448     ------------------------------------------------------------------
449 nigel 75 0 17 Bra 0
450 nigel 63 3 6 Bra 1
451     6 \x{100}+
452 nigel 75 9 5 Alt
453     12 x
454     14 11 Ket
455     17 17 Ket
456     20 End
457 nigel 63 ------------------------------------------------------------------
458     Capturing subpattern count = 1
459 nigel 75 Partial matching not supported
460 nigel 63 Options: utf8
461     No first char
462     No need char
463 nigel 75 Starting byte set: x \xc4
464 nigel 63
465     /(\x{100}*a|x)/8SD
466     ------------------------------------------------------------------
467 nigel 75 0 19 Bra 0
468     3 8 Bra 1
469 nigel 63 6 \x{100}*
470 nigel 75 9 a
471     11 5 Alt
472     14 x
473     16 13 Ket
474     19 19 Ket
475     22 End
476 nigel 63 ------------------------------------------------------------------
477     Capturing subpattern count = 1
478 nigel 75 Partial matching not supported
479 nigel 63 Options: utf8
480     No first char
481     No need char
482 nigel 75 Starting byte set: a x \xc4
483 nigel 63
484     /(\x{100}{0,2}a|x)/8SD
485     ------------------------------------------------------------------
486 nigel 75 0 21 Bra 0
487     3 10 Bra 1
488 nigel 63 6 \x{100}{,2}
489 nigel 75 11 a
490     13 5 Alt
491     16 x
492     18 15 Ket
493     21 21 Ket
494     24 End
495 nigel 63 ------------------------------------------------------------------
496     Capturing subpattern count = 1
497 nigel 75 Partial matching not supported
498 nigel 63 Options: utf8
499     No first char
500     No need char
501 nigel 75 Starting byte set: a x \xc4
502 nigel 63
503     /(\x{100}{1,2}a|x)/8SD
504     ------------------------------------------------------------------
505 nigel 75 0 24 Bra 0
506     3 13 Bra 1
507     6 \x{100}
508     9 \x{100}{,1}
509     14 a
510     16 5 Alt
511     19 x
512     21 18 Ket
513     24 24 Ket
514     27 End
515 nigel 63 ------------------------------------------------------------------
516     Capturing subpattern count = 1
517 nigel 75 Partial matching not supported
518 nigel 63 Options: utf8
519     No first char
520     No need char
521 nigel 75 Starting byte set: x \xc4
522 nigel 63
523     /\x{100}*(\d+|"(?1)")/8
524     1234
525     0: 1234
526     1: 1234
527     "1234"
528     0: "1234"
529     1: "1234"
530     \x{100}1234
531     0: \x{100}1234
532     1: 1234
533     "\x{100}1234"
534     0: \x{100}1234
535     1: 1234
536     \x{100}\x{100}12ab
537     0: \x{100}\x{100}12
538     1: 12
539     \x{100}\x{100}"12"
540     0: \x{100}\x{100}"12"
541     1: "12"
542     *** Failers
543 nigel 49 No match
544 nigel 63 \x{100}\x{100}abcd
545 nigel 49 No match
546    
547 nigel 63 /\x{100}/8D
548     ------------------------------------------------------------------
549 nigel 75 0 6 Bra 0
550     3 \x{100}
551     6 6 Ket
552     9 End
553 nigel 63 ------------------------------------------------------------------
554     Capturing subpattern count = 0
555     Options: utf8
556     First char = 196
557     Need char = 128
558    
559     /\x{100}*/8D
560     ------------------------------------------------------------------
561     0 6 Bra 0
562     3 \x{100}*
563     6 6 Ket
564     9 End
565     ------------------------------------------------------------------
566     Capturing subpattern count = 0
567 nigel 75 Partial matching not supported
568 nigel 63 Options: utf8
569     No first char
570     No need char
571    
572     /a\x{100}*/8D
573     ------------------------------------------------------------------
574 nigel 75 0 8 Bra 0
575     3 a
576     5 \x{100}*
577     8 8 Ket
578     11 End
579 nigel 63 ------------------------------------------------------------------
580     Capturing subpattern count = 0
581 nigel 75 Partial matching not supported
582 nigel 63 Options: utf8
583     First char = 'a'
584     No need char
585    
586     /ab\x{100}*/8D
587     ------------------------------------------------------------------
588     0 10 Bra 0
589 nigel 75 3 ab
590 nigel 63 7 \x{100}*
591     10 10 Ket
592     13 End
593     ------------------------------------------------------------------
594     Capturing subpattern count = 0
595 nigel 75 Partial matching not supported
596 nigel 63 Options: utf8
597     First char = 'a'
598     Need char = 'b'
599    
600     /a\x{100}\x{101}*/8D
601     ------------------------------------------------------------------
602     0 11 Bra 0
603 nigel 75 3 a\x{100}
604 nigel 63 8 \x{101}*
605     11 11 Ket
606     14 End
607     ------------------------------------------------------------------
608     Capturing subpattern count = 0
609 nigel 75 Partial matching not supported
610 nigel 63 Options: utf8
611     First char = 'a'
612     Need char = 128
613    
614     /a\x{100}\x{101}+/8D
615     ------------------------------------------------------------------
616     0 11 Bra 0
617 nigel 75 3 a\x{100}
618 nigel 63 8 \x{101}+
619     11 11 Ket
620     14 End
621     ------------------------------------------------------------------
622     Capturing subpattern count = 0
623 nigel 75 Partial matching not supported
624 nigel 63 Options: utf8
625     First char = 'a'
626     Need char = 129
627    
628     /\x{100}*A/8D
629     ------------------------------------------------------------------
630 nigel 75 0 8 Bra 0
631 nigel 63 3 \x{100}*
632 nigel 75 6 A
633     8 8 Ket
634     11 End
635 nigel 63 ------------------------------------------------------------------
636     Capturing subpattern count = 0
637 nigel 75 Partial matching not supported
638 nigel 63 Options: utf8
639     No first char
640     Need char = 'A'
641     A
642     0: A
643    
644     /\x{100}*\d(?R)/8D
645     ------------------------------------------------------------------
646 nigel 87 0 16 Bra 0
647 nigel 63 3 \x{100}*
648     6 \d
649 nigel 87 7 6 Once
650     10 0 Recurse
651     13 6 Ket
652     16 16 Ket
653     19 End
654 nigel 63 ------------------------------------------------------------------
655     Capturing subpattern count = 0
656 nigel 75 Partial matching not supported
657 nigel 63 Options: utf8
658     No first char
659     No need char
660    
661     /[^\x{c4}]/D
662     ------------------------------------------------------------------
663 nigel 87 0 5 Bra 0
664     3 [^\xc4]
665     5 5 Ket
666     8 End
667 nigel 63 ------------------------------------------------------------------
668     Capturing subpattern count = 0
669     No options
670     No first char
671     No need char
672    
673     /[^\x{c4}]/8D
674     ------------------------------------------------------------------
675     0 36 Bra 0
676     3 [\x00-\xc3\xc5-\xff] (neg)
677     36 36 Ket
678     39 End
679     ------------------------------------------------------------------
680     Capturing subpattern count = 0
681     Options: utf8
682     No first char
683     No need char
684    
685     /[\x{100}]/8DM
686     Memory allocation (code space): 47
687     ------------------------------------------------------------------
688     0 11 Bra 0
689     3 [\x{100}]
690     11 11 Ket
691     14 End
692     ------------------------------------------------------------------
693     Capturing subpattern count = 0
694     Options: utf8
695     No first char
696     No need char
697     \x{100}
698     0: \x{100}
699     Z\x{100}
700     0: \x{100}
701     \x{100}Z
702     0: \x{100}
703     *** Failers
704 nigel 49 No match
705 nigel 63
706     /[Z\x{100}]/8DM
707     Memory allocation (code space): 47
708     ------------------------------------------------------------------
709     0 43 Bra 0
710     3 [Z\x{100}]
711     43 43 Ket
712     46 End
713     ------------------------------------------------------------------
714     Capturing subpattern count = 0
715     Options: utf8
716     No first char
717     No need char
718     Z\x{100}
719     0: Z
720     \x{100}
721     0: \x{100}
722     \x{100}Z
723     0: \x{100}
724     *** Failers
725 nigel 49 No match
726    
727 nigel 63 /[\x{200}-\x{100}]/8
728     Failed: range out of order in character class at offset 15
729    
730     /[Ā-Ą]/8
731     \x{100}
732     0: \x{100}
733     \x{104}
734     0: \x{104}
735 nigel 49 *** Failers
736     No match
737 nigel 63 \x{105}
738 nigel 49 No match
739 nigel 63 \x{ff}
740 nigel 49 No match
741    
742 nigel 63 /[z-\x{100}]/8D
743     ------------------------------------------------------------------
744     0 12 Bra 0
745     3 [z-\x{100}]
746     12 12 Ket
747     15 End
748     ------------------------------------------------------------------
749     Capturing subpattern count = 0
750     Options: utf8
751     No first char
752     No need char
753 nigel 49
754 nigel 63 /[z\Qa-d]Ā\E]/8D
755     ------------------------------------------------------------------
756     0 43 Bra 0
757     3 [\-\]adz\x{100}]
758     43 43 Ket
759     46 End
760     ------------------------------------------------------------------
761     Capturing subpattern count = 0
762     Options: utf8
763     No first char
764     No need char
765     \x{100}
766     0: \x{100}
767     Ā
768     0: \x{100}
769 nigel 49
770 nigel 67 /[\xFF]/D
771     ------------------------------------------------------------------
772 nigel 75 0 5 Bra 0
773     3 \xff
774     5 5 Ket
775     8 End
776 nigel 67 ------------------------------------------------------------------
777     Capturing subpattern count = 0
778     No options
779     First char = 255
780     No need char
781     >\xff<
782     0: \xff
783    
784     /[\xff]/D8
785     ------------------------------------------------------------------
786 nigel 75 0 6 Bra 0
787     3 \x{ff}
788     6 6 Ket
789     9 End
790 nigel 67 ------------------------------------------------------------------
791     Capturing subpattern count = 0
792     Options: utf8
793 nigel 75 First char = 195
794     Need char = 191
795 nigel 67 >\x{ff}<
796     0: \x{ff}
797    
798     /[^\xFF]/D
799     ------------------------------------------------------------------
800     0 5 Bra 0
801     3 [^\xff]
802     5 5 Ket
803     8 End
804     ------------------------------------------------------------------
805     Capturing subpattern count = 0
806     No options
807     No first char
808     No need char
809    
810     /[^\xff]/8D
811     ------------------------------------------------------------------
812     0 36 Bra 0
813     3 [\x00-\xfe] (neg)
814     36 36 Ket
815     39 End
816     ------------------------------------------------------------------
817     Capturing subpattern count = 0
818     Options: utf8
819     No first char
820     No need char
821    
822 nigel 71 /[Ä-Ü]/8
823     Ö # Matches without Study
824     0: \x{d6}
825     \x{d6}
826     0: \x{d6}
827    
828     /[Ä-Ü]/8S
829     Ö <-- Same with Study
830     0: \x{d6}
831     \x{d6}
832     0: \x{d6}
833    
834     /[\x{c4}-\x{dc}]/8
835     Ö # Matches without Study
836     0: \x{d6}
837     \x{d6}
838     0: \x{d6}
839    
840     /[\x{c4}-\x{dc}]/8S
841     Ö <-- Same with Study
842     0: \x{d6}
843     \x{d6}
844     0: \x{d6}
845    
846     /[]/8
847     Failed: invalid UTF-8 string at offset 2
848    
849     //8
850     Failed: invalid UTF-8 string at offset 0
851    
852     /xxx/8
853     Failed: invalid UTF-8 string at offset 1
854    
855     /xxx/8?D
856     ------------------------------------------------------------------
857 nigel 75 0 15 Bra 0
858     3 \X{c0}\X{c0}\X{c0}xxx
859     15 15 Ket
860     18 End
861 nigel 71 ------------------------------------------------------------------
862     Capturing subpattern count = 0
863     Options: utf8 no_utf8_check
864     First char = 195
865     Need char = 'x'
866    
867     /abc/8
868 nigel 73 ]
869 nigel 71 Error -10
870 nigel 73
871 nigel 71 Error -10
872 nigel 73
873 nigel 71 Error -10
874 nigel 73 \?
875 nigel 71 No match
876    
877 nigel 73 /anything/8
878     \xc0\x80
879     Error -10
880     \xc1\x8f
881     Error -10
882     \xe0\x9f\x80
883     Error -10
884     \xf0\x8f\x80\x80
885     Error -10
886     \xf8\x87\x80\x80\x80
887     Error -10
888     \xfc\x83\x80\x80\x80\x80
889     Error -10
890     \xfe\x80\x80\x80\x80\x80
891     Error -10
892     \xff\x80\x80\x80\x80\x80
893     Error -10
894     \xc3\x8f
895     No match
896     \xe0\xaf\x80
897     No match
898     \xe1\x80\x80
899     No match
900     \xf0\x9f\x80\x80
901     No match
902     \xf1\x8f\x80\x80
903     No match
904     \xf8\x88\x80\x80\x80
905     No match
906     \xf9\x87\x80\x80\x80
907     No match
908     \xfc\x84\x80\x80\x80\x80
909     No match
910     \xfd\x83\x80\x80\x80\x80
911     No match
912    
913     /\x{100}abc(xyz(?1))/8D
914     ------------------------------------------------------------------
915 nigel 87 0 33 Bra 0
916 nigel 75 3 \x{100}abc
917 nigel 87 12 18 Bra 1
918 nigel 75 15 xyz
919 nigel 87 21 6 Once
920     24 12 Recurse
921     27 6 Ket
922     30 18 Ket
923     33 33 Ket
924     36 End
925 nigel 73 ------------------------------------------------------------------
926     Capturing subpattern count = 1
927     Options: utf8
928     First char = 196
929     Need char = 'z'
930    
931     /[^\x{100}]abc(xyz(?1))/8D
932     ------------------------------------------------------------------
933 nigel 87 0 38 Bra 0
934 nigel 73 3 [^\x{100}]
935 nigel 75 11 abc
936 nigel 87 17 18 Bra 1
937 nigel 75 20 xyz
938 nigel 87 26 6 Once
939     29 17 Recurse
940     32 6 Ket
941     35 18 Ket
942     38 38 Ket
943     41 End
944 nigel 73 ------------------------------------------------------------------
945     Capturing subpattern count = 1
946     Options: utf8
947     No first char
948     Need char = 'z'
949    
950     /[ab\x{100}]abc(xyz(?1))/8D
951     ------------------------------------------------------------------
952 nigel 87 0 70 Bra 0
953 nigel 75 3 [ab\x{100}]
954     43 abc
955 nigel 87 49 18 Bra 1
956 nigel 75 52 xyz
957 nigel 87 58 6 Once
958     61 49 Recurse
959     64 6 Ket
960     67 18 Ket
961     70 70 Ket
962     73 End
963 nigel 73 ------------------------------------------------------------------
964     Capturing subpattern count = 1
965     Options: utf8
966     No first char
967     Need char = 'z'
968    
969     /(\x{100}(b(?2)c))?/D8
970     ------------------------------------------------------------------
971 nigel 87 0 32 Bra 0
972 nigel 73 3 Brazero
973 nigel 87 4 25 Bra 1
974 nigel 75 7 \x{100}
975 nigel 87 10 16 Bra 2
976 nigel 75 13 b
977 nigel 87 15 6 Once
978     18 10 Recurse
979     21 6 Ket
980     24 c
981     26 16 Ket
982     29 25 Ket
983     32 32 Ket
984     35 End
985 nigel 73 ------------------------------------------------------------------
986     Capturing subpattern count = 2
987     Options: utf8
988     No first char
989     No need char
990    
991     /(\x{100}(b(?2)c)){0,2}/D8
992     ------------------------------------------------------------------
993 nigel 87 0 67 Bra 0
994 nigel 73 3 Brazero
995 nigel 87 4 60 Bra 0
996     7 25 Bra 1
997 nigel 75 10 \x{100}
998 nigel 87 13 16 Bra 2
999 nigel 75 16 b
1000 nigel 87 18 6 Once
1001     21 13 Recurse
1002     24 6 Ket
1003     27 c
1004     29 16 Ket
1005     32 25 Ket
1006     35 Brazero
1007     36 25 Bra 1
1008     39 \x{100}
1009     42 16 Bra 2
1010     45 b
1011     47 6 Once
1012     50 13 Recurse
1013     53 6 Ket
1014     56 c
1015     58 16 Ket
1016     61 25 Ket
1017     64 60 Ket
1018     67 67 Ket
1019     70 End
1020 nigel 73 ------------------------------------------------------------------
1021     Capturing subpattern count = 2
1022     Options: utf8
1023     No first char
1024     No need char
1025    
1026     /(\x{100}(b(?1)c))?/D8
1027     ------------------------------------------------------------------
1028 nigel 87 0 32 Bra 0
1029 nigel 73 3 Brazero
1030 nigel 87 4 25 Bra 1
1031 nigel 75 7 \x{100}
1032 nigel 87 10 16 Bra 2
1033 nigel 75 13 b
1034 nigel 87 15 6 Once
1035     18 4 Recurse
1036     21 6 Ket
1037     24 c
1038     26 16 Ket
1039     29 25 Ket
1040     32 32 Ket
1041     35 End
1042 nigel 73 ------------------------------------------------------------------
1043     Capturing subpattern count = 2
1044     Options: utf8
1045     No first char
1046     No need char
1047    
1048     /(\x{100}(b(?1)c)){0,2}/D8
1049     ------------------------------------------------------------------
1050 nigel 87 0 67 Bra 0
1051 nigel 73 3 Brazero
1052 nigel 87 4 60 Bra 0
1053     7 25 Bra 1
1054 nigel 75 10 \x{100}
1055 nigel 87 13 16 Bra 2
1056 nigel 75 16 b
1057 nigel 87 18 6 Once
1058     21 7 Recurse
1059     24 6 Ket
1060     27 c
1061     29 16 Ket
1062     32 25 Ket
1063     35 Brazero
1064     36 25 Bra 1
1065     39 \x{100}
1066     42 16 Bra 2
1067     45 b
1068     47 6 Once
1069     50 7 Recurse
1070     53 6 Ket
1071     56 c
1072     58 16 Ket
1073     61 25 Ket
1074     64 60 Ket
1075     67 67 Ket
1076     70 End
1077 nigel 73 ------------------------------------------------------------------
1078     Capturing subpattern count = 2
1079     Options: utf8
1080     No first char
1081     No need char
1082    
1083 nigel 75 /\W/8
1084     A.B
1085     0: .
1086     A\x{100}B
1087     0: \x{100}
1088    
1089     /\w/8
1090     \x{100}X
1091     0: X
1092    
1093 nigel 87 /a\x{1234}b/P8
1094     a\x{1234}b
1095     0: a\x{1234}b
1096    
1097     /^\ሴ/8D
1098     ------------------------------------------------------------------
1099     0 8 Bra 0
1100     3 ^
1101     4 \x{1234}
1102     8 8 Ket
1103     11 End
1104     ------------------------------------------------------------------
1105     Capturing subpattern count = 0
1106     Options: anchored utf8
1107     No first char
1108     No need char
1109    
1110 nigel 49 / End of testinput5 /

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12