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

Contents of /code/trunk/testdata/testoutput5

Parent Directory Parent Directory | Revision Log Revision Log


Revision 77 - (hide annotations) (download)
Sat Feb 24 21:40:45 2007 UTC (7 years, 2 months ago) by nigel
File size: 22902 byte(s)
Load pcre-6.0 into code/trunk.

1 nigel 77 PCRE version 6.0 07-Jun-2005
2 nigel 49
3 nigel 63 /\x{100}/8DM
4 nigel 75 Memory allocation (code space): 10
5     ------------------------------------------------------------------
6     0 6 Bra 0
7     3 \x{100}
8     6 6 Ket
9     9 End
10     ------------------------------------------------------------------
11     Capturing subpattern count = 0
12     Options: utf8
13     First char = 196
14     Need char = 128
15    
16     /\x{1000}/8DM
17 nigel 63 Memory allocation (code space): 11
18     ------------------------------------------------------------------
19     0 7 Bra 0
20 nigel 75 3 \x{1000}
21 nigel 63 7 7 Ket
22     10 End
23     ------------------------------------------------------------------
24     Capturing subpattern count = 0
25     Options: utf8
26 nigel 75 First char = 225
27 nigel 63 Need char = 128
28 nigel 49
29 nigel 75 /\x{10000}/8DM
30 nigel 63 Memory allocation (code space): 12
31     ------------------------------------------------------------------
32     0 8 Bra 0
33 nigel 75 3 \x{10000}
34 nigel 63 8 8 Ket
35     11 End
36     ------------------------------------------------------------------
37     Capturing subpattern count = 0
38     Options: utf8
39 nigel 75 First char = 240
40 nigel 63 Need char = 128
41 nigel 49
42 nigel 75 /\x{100000}/8DM
43     Memory allocation (code space): 12
44 nigel 63 ------------------------------------------------------------------
45 nigel 75 0 8 Bra 0
46     3 \x{100000}
47     8 8 Ket
48     11 End
49 nigel 63 ------------------------------------------------------------------
50     Capturing subpattern count = 0
51     Options: utf8
52 nigel 75 First char = 244
53 nigel 63 Need char = 128
54 nigel 49
55 nigel 75 /\x{1000000}/8DM
56 nigel 63 Memory allocation (code space): 13
57     ------------------------------------------------------------------
58     0 9 Bra 0
59 nigel 75 3 \x{1000000}
60 nigel 63 9 9 Ket
61     12 End
62     ------------------------------------------------------------------
63     Capturing subpattern count = 0
64     Options: utf8
65 nigel 75 First char = 249
66 nigel 63 Need char = 128
67 nigel 49
68 nigel 75 /\x{4000000}/8DM
69 nigel 63 Memory allocation (code space): 14
70     ------------------------------------------------------------------
71     0 10 Bra 0
72 nigel 75 3 \x{4000000}
73 nigel 63 10 10 Ket
74     13 End
75     ------------------------------------------------------------------
76     Capturing subpattern count = 0
77     Options: utf8
78     First char = 252
79     Need char = 128
80 nigel 49
81 nigel 63 /\x{7fffFFFF}/8DM
82 nigel 75 Memory allocation (code space): 14
83 nigel 63 ------------------------------------------------------------------
84 nigel 75 0 10 Bra 0
85     3 \x{7fffffff}
86     10 10 Ket
87     13 End
88 nigel 63 ------------------------------------------------------------------
89     Capturing subpattern count = 0
90     Options: utf8
91     First char = 253
92     Need char = 191
93 nigel 49
94 nigel 63 /[\x{ff}]/8DM
95 nigel 75 Memory allocation (code space): 10
96 nigel 63 ------------------------------------------------------------------
97 nigel 75 0 6 Bra 0
98     3 \x{ff}
99     6 6 Ket
100     9 End
101 nigel 63 ------------------------------------------------------------------
102     Capturing subpattern count = 0
103     Options: utf8
104 nigel 75 First char = 195
105     Need char = 191
106 nigel 49
107 nigel 63 /[\x{100}]/8DM
108     Memory allocation (code space): 47
109     ------------------------------------------------------------------
110     0 11 Bra 0
111     3 [\x{100}]
112     11 11 Ket
113     14 End
114     ------------------------------------------------------------------
115     Capturing subpattern count = 0
116     Options: utf8
117     No first char
118     No need char
119 nigel 49
120 nigel 63 /\x{ffffffff}/8
121     Failed: character value in \x{...} sequence is too large at offset 11
122 nigel 49
123 nigel 63 /\x{100000000}/8
124     Failed: character value in \x{...} sequence is too large at offset 12
125 nigel 49
126 nigel 63 /^\x{100}a\x{1234}/8
127     \x{100}a\x{1234}bcd
128     0: \x{100}a\x{1234}
129 nigel 49
130 nigel 63 /\x80/8D
131     ------------------------------------------------------------------
132 nigel 75 0 6 Bra 0
133     3 \x{80}
134     6 6 Ket
135     9 End
136 nigel 63 ------------------------------------------------------------------
137     Capturing subpattern count = 0
138     Options: utf8
139     First char = 194
140     Need char = 128
141    
142     /\xff/8D
143     ------------------------------------------------------------------
144 nigel 75 0 6 Bra 0
145     3 \x{ff}
146     6 6 Ket
147     9 End
148 nigel 63 ------------------------------------------------------------------
149     Capturing subpattern count = 0
150     Options: utf8
151     First char = 195
152     Need char = 191
153    
154     /\x{0041}\x{2262}\x{0391}\x{002e}/D8
155     ------------------------------------------------------------------
156 nigel 75 0 14 Bra 0
157     3 A\x{2262}\x{391}.
158     14 14 Ket
159     17 End
160 nigel 63 ------------------------------------------------------------------
161     Capturing subpattern count = 0
162     Options: utf8
163     First char = 'A'
164     Need char = '.'
165     \x{0041}\x{2262}\x{0391}\x{002e}
166     0: A\x{2262}\x{391}.
167    
168     /\x{D55c}\x{ad6d}\x{C5B4}/D8
169     ------------------------------------------------------------------
170 nigel 75 0 15 Bra 0
171     3 \x{d55c}\x{ad6d}\x{c5b4}
172     15 15 Ket
173     18 End
174 nigel 63 ------------------------------------------------------------------
175     Capturing subpattern count = 0
176     Options: utf8
177     First char = 237
178     Need char = 180
179     \x{D55c}\x{ad6d}\x{C5B4}
180     0: \x{d55c}\x{ad6d}\x{c5b4}
181    
182     /\x{65e5}\x{672c}\x{8a9e}/D8
183     ------------------------------------------------------------------
184 nigel 75 0 15 Bra 0
185     3 \x{65e5}\x{672c}\x{8a9e}
186     15 15 Ket
187     18 End
188 nigel 63 ------------------------------------------------------------------
189     Capturing subpattern count = 0
190     Options: utf8
191     First char = 230
192     Need char = 158
193     \x{65e5}\x{672c}\x{8a9e}
194     0: \x{65e5}\x{672c}\x{8a9e}
195    
196     /\x{80}/D8
197     ------------------------------------------------------------------
198 nigel 75 0 6 Bra 0
199     3 \x{80}
200     6 6 Ket
201     9 End
202 nigel 63 ------------------------------------------------------------------
203     Capturing subpattern count = 0
204     Options: utf8
205     First char = 194
206     Need char = 128
207    
208     /\x{084}/D8
209     ------------------------------------------------------------------
210 nigel 75 0 6 Bra 0
211     3 \x{84}
212     6 6 Ket
213     9 End
214 nigel 63 ------------------------------------------------------------------
215     Capturing subpattern count = 0
216     Options: utf8
217     First char = 194
218     Need char = 132
219    
220     /\x{104}/D8
221     ------------------------------------------------------------------
222 nigel 75 0 6 Bra 0
223     3 \x{104}
224     6 6 Ket
225     9 End
226 nigel 63 ------------------------------------------------------------------
227     Capturing subpattern count = 0
228     Options: utf8
229     First char = 196
230     Need char = 132
231    
232     /\x{861}/D8
233     ------------------------------------------------------------------
234 nigel 75 0 7 Bra 0
235     3 \x{861}
236     7 7 Ket
237     10 End
238 nigel 63 ------------------------------------------------------------------
239     Capturing subpattern count = 0
240     Options: utf8
241     First char = 224
242     Need char = 161
243    
244     /\x{212ab}/D8
245     ------------------------------------------------------------------
246 nigel 75 0 8 Bra 0
247     3 \x{212ab}
248     8 8 Ket
249     11 End
250 nigel 63 ------------------------------------------------------------------
251     Capturing subpattern count = 0
252     Options: utf8
253     First char = 240
254     Need char = 171
255    
256     /.{3,5}X/D8
257     ------------------------------------------------------------------
258 nigel 75 0 13 Bra 0
259 nigel 63 3 Any{3}
260     7 Any{0,2}
261 nigel 75 11 X
262     13 13 Ket
263     16 End
264 nigel 63 ------------------------------------------------------------------
265     Capturing subpattern count = 0
266 nigel 75 Partial matching not supported
267 nigel 63 Options: utf8
268     No first char
269     Need char = 'X'
270     \x{212ab}\x{212ab}\x{212ab}\x{861}X
271     0: \x{212ab}\x{212ab}\x{212ab}\x{861}X
272    
273    
274     /.{3,5}?/D8
275     ------------------------------------------------------------------
276     0 11 Bra 0
277     3 Any{3}
278     7 Any{0,2}?
279     11 11 Ket
280     14 End
281     ------------------------------------------------------------------
282     Capturing subpattern count = 0
283 nigel 75 Partial matching not supported
284 nigel 63 Options: utf8
285     No first char
286     No need char
287     \x{212ab}\x{212ab}\x{212ab}\x{861}
288     0: \x{212ab}\x{212ab}\x{212ab}
289    
290     /-- These tests are here rather than in testinput4 because Perl 5.6 has --/
291     /-- some problems with UTF-8 support, in the area of \x{..} where the --/
292     No match
293     /-- value is < 255. It grumbles about invalid UTF-8 strings. --/
294     No match
295    
296     /^[a\x{c0}]b/8
297     \x{c0}b
298     0: \x{c0}b
299    
300     /^([a\x{c0}]*?)aa/8
301     a\x{c0}aaaa/
302     0: a\x{c0}aa
303     1: a\x{c0}
304    
305     /^([a\x{c0}]*?)aa/8
306     a\x{c0}aaaa/
307     0: a\x{c0}aa
308     1: a\x{c0}
309     a\x{c0}a\x{c0}aaa/
310     0: a\x{c0}a\x{c0}aa
311     1: a\x{c0}a\x{c0}
312    
313     /^([a\x{c0}]*)aa/8
314     a\x{c0}aaaa/
315     0: a\x{c0}aaaa
316     1: a\x{c0}aa
317     a\x{c0}a\x{c0}aaa/
318     0: a\x{c0}a\x{c0}aaa
319     1: a\x{c0}a\x{c0}a
320    
321     /^([a\x{c0}]*)a\x{c0}/8
322     a\x{c0}aaaa/
323     0: a\x{c0}
324 nigel 49 1:
325 nigel 63 a\x{c0}a\x{c0}aaa/
326     0: a\x{c0}a\x{c0}
327     1: a\x{c0}
328    
329     /-- --/
330    
331     /(?<=\C)X/8
332     Failed: \C not allowed in lookbehind assertion at offset 6
333 nigel 49
334 nigel 63 /-- This one is here not because it's different to Perl, but because the --/
335     /-- way the captured single-byte is displayed. (In Perl it becomes a --/
336     No match
337     /-- character, and you can't tell the difference.) --/
338     No match
339    
340     /X(\C)(.*)/8
341     X\x{1234}
342     0: X\x{1234}
343     1: \xe1
344     2: \x88\xb4
345     X\nabc
346     0: X\x{0a}abc
347     1: \x{0a}
348     2: abc
349    
350     /^[ab]/8D
351     ------------------------------------------------------------------
352     0 37 Bra 0
353     3 ^
354 nigel 75 4 [ab]
355 nigel 63 37 37 Ket
356     40 End
357     ------------------------------------------------------------------
358     Capturing subpattern count = 0
359     Options: anchored utf8
360     No first char
361     No need char
362     bar
363     0: b
364 nigel 49 *** Failers
365     No match
366 nigel 63 c
367 nigel 49 No match
368 nigel 63 \x{ff}
369 nigel 49 No match
370 nigel 63 \x{100}
371     No match
372 nigel 49
373 nigel 63 /^[^ab]/8D
374     ------------------------------------------------------------------
375     0 37 Bra 0
376     3 ^
377     4 [\x00-`c-\xff] (neg)
378     37 37 Ket
379     40 End
380     ------------------------------------------------------------------
381     Capturing subpattern count = 0
382     Options: anchored utf8
383     No first char
384     No need char
385     c
386     0: c
387     \x{ff}
388     0: \x{ff}
389     \x{100}
390     0: \x{100}
391     *** Failers
392     0: *
393     aaa
394     No match
395    
396     /[^ab\xC0-\xF0]/8SD
397     ------------------------------------------------------------------
398     0 36 Bra 0
399     3 [\x00-`c-\xbf\xf1-\xff] (neg)
400     36 36 Ket
401     39 End
402     ------------------------------------------------------------------
403     Capturing subpattern count = 0
404     Options: utf8
405     No first char
406     No need char
407 nigel 75 Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
408 nigel 63 \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19
409     \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4
410     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
411     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
412 nigel 71 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0
413     \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf
414     \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee
415     \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd
416     \xfe \xff
417 nigel 63 \x{f1}
418     0: \x{f1}
419     \x{bf}
420     0: \x{bf}
421     \x{100}
422     0: \x{100}
423     \x{1000}
424     0: \x{1000}
425 nigel 49 *** Failers
426 nigel 63 0: *
427     \x{c0}
428 nigel 49 No match
429 nigel 63 \x{f0}
430 nigel 49 No match
431    
432 nigel 63 /Ā{3,4}/8SD
433     ------------------------------------------------------------------
434     0 13 Bra 0
435     3 \x{100}{3}
436     8 \x{100}{,1}
437     13 13 Ket
438     16 End
439     ------------------------------------------------------------------
440     Capturing subpattern count = 0
441 nigel 75 Partial matching not supported
442 nigel 63 Options: utf8
443     First char = 196
444     Need char = 128
445     Study returned NULL
446     \x{100}\x{100}\x{100}\x{100\x{100}
447     0: \x{100}\x{100}\x{100}
448    
449     /(\x{100}+|x)/8SD
450     ------------------------------------------------------------------
451 nigel 75 0 17 Bra 0
452 nigel 63 3 6 Bra 1
453     6 \x{100}+
454 nigel 75 9 5 Alt
455     12 x
456     14 11 Ket
457     17 17 Ket
458     20 End
459 nigel 63 ------------------------------------------------------------------
460     Capturing subpattern count = 1
461 nigel 75 Partial matching not supported
462 nigel 63 Options: utf8
463     No first char
464     No need char
465 nigel 75 Starting byte set: x \xc4
466 nigel 63
467     /(\x{100}*a|x)/8SD
468     ------------------------------------------------------------------
469 nigel 75 0 19 Bra 0
470     3 8 Bra 1
471 nigel 63 6 \x{100}*
472 nigel 75 9 a
473     11 5 Alt
474     14 x
475     16 13 Ket
476     19 19 Ket
477     22 End
478 nigel 63 ------------------------------------------------------------------
479     Capturing subpattern count = 1
480 nigel 75 Partial matching not supported
481 nigel 63 Options: utf8
482     No first char
483     No need char
484 nigel 75 Starting byte set: a x \xc4
485 nigel 63
486     /(\x{100}{0,2}a|x)/8SD
487     ------------------------------------------------------------------
488 nigel 75 0 21 Bra 0
489     3 10 Bra 1
490 nigel 63 6 \x{100}{,2}
491 nigel 75 11 a
492     13 5 Alt
493     16 x
494     18 15 Ket
495     21 21 Ket
496     24 End
497 nigel 63 ------------------------------------------------------------------
498     Capturing subpattern count = 1
499 nigel 75 Partial matching not supported
500 nigel 63 Options: utf8
501     No first char
502     No need char
503 nigel 75 Starting byte set: a x \xc4
504 nigel 63
505     /(\x{100}{1,2}a|x)/8SD
506     ------------------------------------------------------------------
507 nigel 75 0 24 Bra 0
508     3 13 Bra 1
509     6 \x{100}
510     9 \x{100}{,1}
511     14 a
512     16 5 Alt
513     19 x
514     21 18 Ket
515     24 24 Ket
516     27 End
517 nigel 63 ------------------------------------------------------------------
518     Capturing subpattern count = 1
519 nigel 75 Partial matching not supported
520 nigel 63 Options: utf8
521     No first char
522     No need char
523 nigel 75 Starting byte set: x \xc4
524 nigel 63
525     /\x{100}*(\d+|"(?1)")/8
526     1234
527     0: 1234
528     1: 1234
529     "1234"
530     0: "1234"
531     1: "1234"
532     \x{100}1234
533     0: \x{100}1234
534     1: 1234
535     "\x{100}1234"
536     0: \x{100}1234
537     1: 1234
538     \x{100}\x{100}12ab
539     0: \x{100}\x{100}12
540     1: 12
541     \x{100}\x{100}"12"
542     0: \x{100}\x{100}"12"
543     1: "12"
544     *** Failers
545 nigel 49 No match
546 nigel 63 \x{100}\x{100}abcd
547 nigel 49 No match
548    
549 nigel 63 /\x{100}/8D
550     ------------------------------------------------------------------
551 nigel 75 0 6 Bra 0
552     3 \x{100}
553     6 6 Ket
554     9 End
555 nigel 63 ------------------------------------------------------------------
556     Capturing subpattern count = 0
557     Options: utf8
558     First char = 196
559     Need char = 128
560    
561     /\x{100}*/8D
562     ------------------------------------------------------------------
563     0 6 Bra 0
564     3 \x{100}*
565     6 6 Ket
566     9 End
567     ------------------------------------------------------------------
568     Capturing subpattern count = 0
569 nigel 75 Partial matching not supported
570 nigel 63 Options: utf8
571     No first char
572     No need char
573    
574     /a\x{100}*/8D
575     ------------------------------------------------------------------
576 nigel 75 0 8 Bra 0
577     3 a
578     5 \x{100}*
579     8 8 Ket
580     11 End
581 nigel 63 ------------------------------------------------------------------
582     Capturing subpattern count = 0
583 nigel 75 Partial matching not supported
584 nigel 63 Options: utf8
585     First char = 'a'
586     No need char
587    
588     /ab\x{100}*/8D
589     ------------------------------------------------------------------
590     0 10 Bra 0
591 nigel 75 3 ab
592 nigel 63 7 \x{100}*
593     10 10 Ket
594     13 End
595     ------------------------------------------------------------------
596     Capturing subpattern count = 0
597 nigel 75 Partial matching not supported
598 nigel 63 Options: utf8
599     First char = 'a'
600     Need char = 'b'
601    
602     /a\x{100}\x{101}*/8D
603     ------------------------------------------------------------------
604     0 11 Bra 0
605 nigel 75 3 a\x{100}
606 nigel 63 8 \x{101}*
607     11 11 Ket
608     14 End
609     ------------------------------------------------------------------
610     Capturing subpattern count = 0
611 nigel 75 Partial matching not supported
612 nigel 63 Options: utf8
613     First char = 'a'
614     Need char = 128
615    
616     /a\x{100}\x{101}+/8D
617     ------------------------------------------------------------------
618     0 11 Bra 0
619 nigel 75 3 a\x{100}
620 nigel 63 8 \x{101}+
621     11 11 Ket
622     14 End
623     ------------------------------------------------------------------
624     Capturing subpattern count = 0
625 nigel 75 Partial matching not supported
626 nigel 63 Options: utf8
627     First char = 'a'
628     Need char = 129
629    
630     /\x{100}*A/8D
631     ------------------------------------------------------------------
632 nigel 75 0 8 Bra 0
633 nigel 63 3 \x{100}*
634 nigel 75 6 A
635     8 8 Ket
636     11 End
637 nigel 63 ------------------------------------------------------------------
638     Capturing subpattern count = 0
639 nigel 75 Partial matching not supported
640 nigel 63 Options: utf8
641     No first char
642     Need char = 'A'
643     A
644     0: A
645    
646     /\x{100}*\d(?R)/8D
647     ------------------------------------------------------------------
648     0 10 Bra 0
649     3 \x{100}*
650     6 \d
651     7 0 Recurse
652     10 10 Ket
653     13 End
654     ------------------------------------------------------------------
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     0 36 Bra 0
664     3 [\x01-35-bd-z|~-\xff] (neg)
665     36 36 Ket
666     39 End
667     ------------------------------------------------------------------
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 75 0 27 Bra 0
916     3 \x{100}abc
917     12 12 Bra 1
918     15 xyz
919     21 12 Recurse
920     24 12 Ket
921     27 27 Ket
922     30 End
923 nigel 73 ------------------------------------------------------------------
924     Capturing subpattern count = 1
925     Options: utf8
926     First char = 196
927     Need char = 'z'
928    
929     /[^\x{100}]abc(xyz(?1))/8D
930     ------------------------------------------------------------------
931 nigel 75 0 32 Bra 0
932 nigel 73 3 [^\x{100}]
933 nigel 75 11 abc
934     17 12 Bra 1
935     20 xyz
936     26 17 Recurse
937     29 12 Ket
938     32 32 Ket
939     35 End
940 nigel 73 ------------------------------------------------------------------
941     Capturing subpattern count = 1
942     Options: utf8
943     No first char
944     Need char = 'z'
945    
946     /[ab\x{100}]abc(xyz(?1))/8D
947     ------------------------------------------------------------------
948 nigel 75 0 64 Bra 0
949     3 [ab\x{100}]
950     43 abc
951     49 12 Bra 1
952     52 xyz
953     58 49 Recurse
954     61 12 Ket
955     64 64 Ket
956     67 End
957 nigel 73 ------------------------------------------------------------------
958     Capturing subpattern count = 1
959     Options: utf8
960     No first char
961     Need char = 'z'
962    
963     /(\x{100}(b(?2)c))?/D8
964     ------------------------------------------------------------------
965 nigel 75 0 26 Bra 0
966 nigel 73 3 Brazero
967 nigel 75 4 19 Bra 1
968     7 \x{100}
969     10 10 Bra 2
970     13 b
971     15 10 Recurse
972     18 c
973     20 10 Ket
974     23 19 Ket
975     26 26 Ket
976     29 End
977 nigel 73 ------------------------------------------------------------------
978     Capturing subpattern count = 2
979     Options: utf8
980     No first char
981     No need char
982    
983     /(\x{100}(b(?2)c)){0,2}/D8
984     ------------------------------------------------------------------
985 nigel 75 0 55 Bra 0
986 nigel 73 3 Brazero
987 nigel 75 4 48 Bra 0
988     7 19 Bra 1
989     10 \x{100}
990     13 10 Bra 2
991     16 b
992     18 13 Recurse
993     21 c
994     23 10 Ket
995     26 19 Ket
996     29 Brazero
997     30 19 Bra 1
998     33 \x{100}
999     36 10 Bra 2
1000     39 b
1001     41 13 Recurse
1002     44 c
1003     46 10 Ket
1004     49 19 Ket
1005     52 48 Ket
1006     55 55 Ket
1007     58 End
1008 nigel 73 ------------------------------------------------------------------
1009     Capturing subpattern count = 2
1010     Options: utf8
1011     No first char
1012     No need char
1013    
1014     /(\x{100}(b(?1)c))?/D8
1015     ------------------------------------------------------------------
1016 nigel 75 0 26 Bra 0
1017 nigel 73 3 Brazero
1018 nigel 75 4 19 Bra 1
1019     7 \x{100}
1020     10 10 Bra 2
1021     13 b
1022     15 4 Recurse
1023     18 c
1024     20 10 Ket
1025     23 19 Ket
1026     26 26 Ket
1027     29 End
1028 nigel 73 ------------------------------------------------------------------
1029     Capturing subpattern count = 2
1030     Options: utf8
1031     No first char
1032     No need char
1033    
1034     /(\x{100}(b(?1)c)){0,2}/D8
1035     ------------------------------------------------------------------
1036 nigel 75 0 55 Bra 0
1037 nigel 73 3 Brazero
1038 nigel 75 4 48 Bra 0
1039     7 19 Bra 1
1040     10 \x{100}
1041     13 10 Bra 2
1042     16 b
1043     18 7 Recurse
1044     21 c
1045     23 10 Ket
1046     26 19 Ket
1047     29 Brazero
1048     30 19 Bra 1
1049     33 \x{100}
1050     36 10 Bra 2
1051     39 b
1052     41 7 Recurse
1053     44 c
1054     46 10 Ket
1055     49 19 Ket
1056     52 48 Ket
1057     55 55 Ket
1058     58 End
1059 nigel 73 ------------------------------------------------------------------
1060     Capturing subpattern count = 2
1061     Options: utf8
1062     No first char
1063     No need char
1064    
1065 nigel 75 /\W/8
1066     A.B
1067     0: .
1068     A\x{100}B
1069     0: \x{100}
1070    
1071     /\w/8
1072     \x{100}X
1073     0: X
1074    
1075 nigel 49 / End of testinput5 /

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12