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

Diff of /code/trunk/testdata/testoutput5

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 73 by nigel, Sat Feb 24 21:40:30 2007 UTC revision 91 by nigel, Sat Feb 24 21:41:34 2007 UTC
# Line 1  Line 1 
 PCRE version 4.5 01-December-2003  
   
1  /\x{100}/8DM  /\x{100}/8DM
2  Memory allocation (code space): 11  Memory allocation (code space): 10
3  ------------------------------------------------------------------  ------------------------------------------------------------------
4    0   7 Bra 0    0   6 Bra 0
5    3   2 \x{100}    3     \x{100}
6    7   7 Ket    6   6 Ket
7   10     End    9     End
8  ------------------------------------------------------------------  ------------------------------------------------------------------
9  Capturing subpattern count = 0  Capturing subpattern count = 0
10  Options: utf8  Options: utf8
# Line 14  First char = 196 Line 12  First char = 196
12  Need char = 128  Need char = 128
13    
14  /\x{1000}/8DM  /\x{1000}/8DM
15  Memory allocation (code space): 12  Memory allocation (code space): 11
16  ------------------------------------------------------------------  ------------------------------------------------------------------
17    0   8 Bra 0    0   7 Bra 0
18    3   3 \x{1000}    3     \x{1000}
19    8   8 Ket    7   7 Ket
20   11     End   10     End
21  ------------------------------------------------------------------  ------------------------------------------------------------------
22  Capturing subpattern count = 0  Capturing subpattern count = 0
23  Options: utf8  Options: utf8
# Line 27  First char = 225 Line 25  First char = 225
25  Need char = 128  Need char = 128
26    
27  /\x{10000}/8DM  /\x{10000}/8DM
28  Memory allocation (code space): 13  Memory allocation (code space): 12
29  ------------------------------------------------------------------  ------------------------------------------------------------------
30    0   9 Bra 0    0   8 Bra 0
31    3   4 \x{10000}    3     \x{10000}
32    9   9 Ket    8   8 Ket
33   12     End   11     End
34  ------------------------------------------------------------------  ------------------------------------------------------------------
35  Capturing subpattern count = 0  Capturing subpattern count = 0
36  Options: utf8  Options: utf8
# Line 40  First char = 240 Line 38  First char = 240
38  Need char = 128  Need char = 128
39    
40  /\x{100000}/8DM  /\x{100000}/8DM
41  Memory allocation (code space): 13  Memory allocation (code space): 12
42  ------------------------------------------------------------------  ------------------------------------------------------------------
43    0   9 Bra 0    0   8 Bra 0
44    3   4 \x{100000}    3     \x{100000}
45    9   9 Ket    8   8 Ket
46   12     End   11     End
47  ------------------------------------------------------------------  ------------------------------------------------------------------
48  Capturing subpattern count = 0  Capturing subpattern count = 0
49  Options: utf8  Options: utf8
# Line 53  First char = 244 Line 51  First char = 244
51  Need char = 128  Need char = 128
52    
53  /\x{1000000}/8DM  /\x{1000000}/8DM
54  Memory allocation (code space): 14  Memory allocation (code space): 13
55  ------------------------------------------------------------------  ------------------------------------------------------------------
56    0  10 Bra 0    0   9 Bra 0
57    3   5 \x{1000000}    3     \x{1000000}
58   10  10 Ket    9   9 Ket
59   13     End   12     End
60  ------------------------------------------------------------------  ------------------------------------------------------------------
61  Capturing subpattern count = 0  Capturing subpattern count = 0
62  Options: utf8  Options: utf8
# Line 66  First char = 249 Line 64  First char = 249
64  Need char = 128  Need char = 128
65    
66  /\x{4000000}/8DM  /\x{4000000}/8DM
67  Memory allocation (code space): 15  Memory allocation (code space): 14
68  ------------------------------------------------------------------  ------------------------------------------------------------------
69    0  11 Bra 0    0  10 Bra 0
70    3   6 \x{4000000}    3     \x{4000000}
71   11  11 Ket   10  10 Ket
72   14     End   13     End
73  ------------------------------------------------------------------  ------------------------------------------------------------------
74  Capturing subpattern count = 0  Capturing subpattern count = 0
75  Options: utf8  Options: utf8
# Line 79  First char = 252 Line 77  First char = 252
77  Need char = 128  Need char = 128
78    
79  /\x{7fffFFFF}/8DM  /\x{7fffFFFF}/8DM
80  Memory allocation (code space): 15  Memory allocation (code space): 14
81  ------------------------------------------------------------------  ------------------------------------------------------------------
82    0  11 Bra 0    0  10 Bra 0
83    3   6 \x{7fffffff}    3     \x{7fffffff}
84   11  11 Ket   10  10 Ket
85   14     End   13     End
86  ------------------------------------------------------------------  ------------------------------------------------------------------
87  Capturing subpattern count = 0  Capturing subpattern count = 0
88  Options: utf8  Options: utf8
# Line 92  First char = 253 Line 90  First char = 253
90  Need char = 191  Need char = 191
91    
92  /[\x{ff}]/8DM  /[\x{ff}]/8DM
93  Memory allocation (code space): 40  Memory allocation (code space): 10
94  ------------------------------------------------------------------  ------------------------------------------------------------------
95    0  36 Bra 0    0   6 Bra 0
96    3     [\xff]    3     \x{ff}
97   36  36 Ket    6   6 Ket
98   39     End    9     End
99  ------------------------------------------------------------------  ------------------------------------------------------------------
100  Capturing subpattern count = 0  Capturing subpattern count = 0
101  Options: utf8  Options: utf8
102  No first char  First char = 195
103  No need char  Need char = 191
104    
105  /[\x{100}]/8DM  /[\x{100}]/8DM
106  Memory allocation (code space): 47  Memory allocation (code space): 47
# Line 129  Failed: character value in \x{...} seque Line 127  Failed: character value in \x{...} seque
127    
128  /\x80/8D  /\x80/8D
129  ------------------------------------------------------------------  ------------------------------------------------------------------
130    0   7 Bra 0    0   6 Bra 0
131    3   2 \x{80}    3     \x{80}
132    7   7 Ket    6   6 Ket
133   10     End    9     End
134  ------------------------------------------------------------------  ------------------------------------------------------------------
135  Capturing subpattern count = 0  Capturing subpattern count = 0
136  Options: utf8  Options: utf8
# Line 141  Need char = 128 Line 139  Need char = 128
139    
140  /\xff/8D  /\xff/8D
141  ------------------------------------------------------------------  ------------------------------------------------------------------
142    0   7 Bra 0    0   6 Bra 0
143    3   2 \x{ff}    3     \x{ff}
144    7   7 Ket    6   6 Ket
145   10     End    9     End
146  ------------------------------------------------------------------  ------------------------------------------------------------------
147  Capturing subpattern count = 0  Capturing subpattern count = 0
148  Options: utf8  Options: utf8
# Line 153  Need char = 191 Line 151  Need char = 191
151    
152  /\x{0041}\x{2262}\x{0391}\x{002e}/D8  /\x{0041}\x{2262}\x{0391}\x{002e}/D8
153  ------------------------------------------------------------------  ------------------------------------------------------------------
154    0  12 Bra 0    0  14 Bra 0
155    3   7 A\x{2262}\x{391}.    3     A\x{2262}\x{391}.
156   12  12 Ket   14  14 Ket
157   15     End   17     End
158  ------------------------------------------------------------------  ------------------------------------------------------------------
159  Capturing subpattern count = 0  Capturing subpattern count = 0
160  Options: utf8  Options: utf8
# Line 167  Need char = '.' Line 165  Need char = '.'
165    
166  /\x{D55c}\x{ad6d}\x{C5B4}/D8  /\x{D55c}\x{ad6d}\x{C5B4}/D8
167  ------------------------------------------------------------------  ------------------------------------------------------------------
168    0  14 Bra 0    0  15 Bra 0
169    3   9 \x{d55c}\x{ad6d}\x{c5b4}    3     \x{d55c}\x{ad6d}\x{c5b4}
170   14  14 Ket   15  15 Ket
171   17     End   18     End
172  ------------------------------------------------------------------  ------------------------------------------------------------------
173  Capturing subpattern count = 0  Capturing subpattern count = 0
174  Options: utf8  Options: utf8
# Line 181  Need char = 180 Line 179  Need char = 180
179    
180  /\x{65e5}\x{672c}\x{8a9e}/D8  /\x{65e5}\x{672c}\x{8a9e}/D8
181  ------------------------------------------------------------------  ------------------------------------------------------------------
182    0  14 Bra 0    0  15 Bra 0
183    3   9 \x{65e5}\x{672c}\x{8a9e}    3     \x{65e5}\x{672c}\x{8a9e}
184   14  14 Ket   15  15 Ket
185   17     End   18     End
186  ------------------------------------------------------------------  ------------------------------------------------------------------
187  Capturing subpattern count = 0  Capturing subpattern count = 0
188  Options: utf8  Options: utf8
# Line 195  Need char = 158 Line 193  Need char = 158
193    
194  /\x{80}/D8  /\x{80}/D8
195  ------------------------------------------------------------------  ------------------------------------------------------------------
196    0   7 Bra 0    0   6 Bra 0
197    3   2 \x{80}    3     \x{80}
198    7   7 Ket    6   6 Ket
199   10     End    9     End
200  ------------------------------------------------------------------  ------------------------------------------------------------------
201  Capturing subpattern count = 0  Capturing subpattern count = 0
202  Options: utf8  Options: utf8
# Line 207  Need char = 128 Line 205  Need char = 128
205    
206  /\x{084}/D8  /\x{084}/D8
207  ------------------------------------------------------------------  ------------------------------------------------------------------
208    0   7 Bra 0    0   6 Bra 0
209    3   2 \x{84}    3     \x{84}
210    7   7 Ket    6   6 Ket
211   10     End    9     End
212  ------------------------------------------------------------------  ------------------------------------------------------------------
213  Capturing subpattern count = 0  Capturing subpattern count = 0
214  Options: utf8  Options: utf8
# Line 219  Need char = 132 Line 217  Need char = 132
217    
218  /\x{104}/D8  /\x{104}/D8
219  ------------------------------------------------------------------  ------------------------------------------------------------------
220    0   7 Bra 0    0   6 Bra 0
221    3   2 \x{104}    3     \x{104}
222    7   7 Ket    6   6 Ket
223   10     End    9     End
224  ------------------------------------------------------------------  ------------------------------------------------------------------
225  Capturing subpattern count = 0  Capturing subpattern count = 0
226  Options: utf8  Options: utf8
# Line 231  Need char = 132 Line 229  Need char = 132
229    
230  /\x{861}/D8  /\x{861}/D8
231  ------------------------------------------------------------------  ------------------------------------------------------------------
232    0   8 Bra 0    0   7 Bra 0
233    3   3 \x{861}    3     \x{861}
234    8   8 Ket    7   7 Ket
235   11     End   10     End
236  ------------------------------------------------------------------  ------------------------------------------------------------------
237  Capturing subpattern count = 0  Capturing subpattern count = 0
238  Options: utf8  Options: utf8
# Line 243  Need char = 161 Line 241  Need char = 161
241    
242  /\x{212ab}/D8  /\x{212ab}/D8
243  ------------------------------------------------------------------  ------------------------------------------------------------------
244    0   9 Bra 0    0   8 Bra 0
245    3   4 \x{212ab}    3     \x{212ab}
246    9   9 Ket    8   8 Ket
247   12     End   11     End
248  ------------------------------------------------------------------  ------------------------------------------------------------------
249  Capturing subpattern count = 0  Capturing subpattern count = 0
250  Options: utf8  Options: utf8
# Line 255  Need char = 171 Line 253  Need char = 171
253    
254  /.{3,5}X/D8  /.{3,5}X/D8
255  ------------------------------------------------------------------  ------------------------------------------------------------------
256    0  14 Bra 0    0  13 Bra 0
257    3     Any{3}    3     Any{3}
258    7     Any{0,2}    7     Any{0,2}
259   11   1 X   11     X
260   14  14 Ket   13  13 Ket
261   17     End   16     End
262  ------------------------------------------------------------------  ------------------------------------------------------------------
263  Capturing subpattern count = 0  Capturing subpattern count = 0
264    Partial matching not supported
265  Options: utf8  Options: utf8
266  No first char  No first char
267  Need char = 'X'  Need char = 'X'
# Line 279  Need char = 'X' Line 278  Need char = 'X'
278   14     End   14     End
279  ------------------------------------------------------------------  ------------------------------------------------------------------
280  Capturing subpattern count = 0  Capturing subpattern count = 0
281    Partial matching not supported
282  Options: utf8  Options: utf8
283  No first char  No first char
284  No need char  No need char
# Line 349  No match Line 349  No match
349  ------------------------------------------------------------------  ------------------------------------------------------------------
350    0  37 Bra 0    0  37 Bra 0
351    3     ^    3     ^
352    4     [a-b]    4     [ab]
353   37  37 Ket   37  37 Ket
354   40     End   40     End
355  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 402  Capturing subpattern count = 0 Line 402  Capturing subpattern count = 0
402  Options: utf8  Options: utf8
403  No first char  No first char
404  No need char  No need char
405  Starting character set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a  Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
406    \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19    \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    \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    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
# Line 436  No match Line 436  No match
436   16     End   16     End
437  ------------------------------------------------------------------  ------------------------------------------------------------------
438  Capturing subpattern count = 0  Capturing subpattern count = 0
439    Partial matching not supported
440  Options: utf8  Options: utf8
441  First char = 196  First char = 196
442  Need char = 128  Need char = 128
# Line 445  Study returned NULL Line 446  Study returned NULL
446    
447  /(\x{100}+|x)/8SD  /(\x{100}+|x)/8SD
448  ------------------------------------------------------------------  ------------------------------------------------------------------
449    0  18 Bra 0    0  17 Bra 0
450    3   6 Bra 1    3   6 Bra 1
451    6     \x{100}+    6     \x{100}+
452    9   6 Alt    9   5 Alt
453   12   1 x   12     x
454   15  12 Ket   14  11 Ket
455   18  18 Ket   17  17 Ket
456   21     End   20     End
457  ------------------------------------------------------------------  ------------------------------------------------------------------
458  Capturing subpattern count = 1  Capturing subpattern count = 1
459    Partial matching not supported
460  Options: utf8  Options: utf8
461  No first char  No first char
462  No need char  No need char
463  Starting character set: x \xc4  Starting byte set: x \xc4
464    
465  /(\x{100}*a|x)/8SD  /(\x{100}*a|x)/8SD
466  ------------------------------------------------------------------  ------------------------------------------------------------------
467    0  21 Bra 0    0  19 Bra 0
468    3   9 Bra 1    3   8 Bra 1
469    6     \x{100}*    6     \x{100}*
470    9   1 a    9     a
471   12   6 Alt   11   5 Alt
472   15   1 x   14     x
473   18  15 Ket   16  13 Ket
474   21  21 Ket   19  19 Ket
475   24     End   22     End
476  ------------------------------------------------------------------  ------------------------------------------------------------------
477  Capturing subpattern count = 1  Capturing subpattern count = 1
478    Partial matching not supported
479  Options: utf8  Options: utf8
480  No first char  No first char
481  No need char  No need char
482  Starting character set: a x \xc4  Starting byte set: a x \xc4
483    
484  /(\x{100}{0,2}a|x)/8SD  /(\x{100}{0,2}a|x)/8SD
485  ------------------------------------------------------------------  ------------------------------------------------------------------
486    0  23 Bra 0    0  21 Bra 0
487    3  11 Bra 1    3  10 Bra 1
488    6     \x{100}{,2}    6     \x{100}{,2}
489   11   1 a   11     a
490   14   6 Alt   13   5 Alt
491   17   1 x   16     x
492   20  17 Ket   18  15 Ket
493   23  23 Ket   21  21 Ket
494   26     End   24     End
495  ------------------------------------------------------------------  ------------------------------------------------------------------
496  Capturing subpattern count = 1  Capturing subpattern count = 1
497    Partial matching not supported
498  Options: utf8  Options: utf8
499  No first char  No first char
500  No need char  No need char
501  Starting character set: a x \xc4  Starting byte set: a x \xc4
502    
503  /(\x{100}{1,2}a|x)/8SD  /(\x{100}{1,2}a|x)/8SD
504  ------------------------------------------------------------------  ------------------------------------------------------------------
505    0  27 Bra 0    0  24 Bra 0
506    3  15 Bra 1    3  13 Bra 1
507    6   2 \x{100}    6     \x{100}
508   10     \x{100}{,1}    9     \x{100}{,1}
509   15   1 a   14     a
510   18   6 Alt   16   5 Alt
511   21   1 x   19     x
512   24  21 Ket   21  18 Ket
513   27  27 Ket   24  24 Ket
514   30     End   27     End
515  ------------------------------------------------------------------  ------------------------------------------------------------------
516  Capturing subpattern count = 1  Capturing subpattern count = 1
517    Partial matching not supported
518  Options: utf8  Options: utf8
519  No first char  No first char
520  No need char  No need char
521  Starting character set: x \xc4  Starting byte set: x \xc4
522    
523  /\x{100}*(\d+|"(?1)")/8  /\x{100}*(\d+|"(?1)")/8
524      1234      1234
# Line 541  No match Line 546  No match
546    
547  /\x{100}/8D  /\x{100}/8D
548  ------------------------------------------------------------------  ------------------------------------------------------------------
549    0   7 Bra 0    0   6 Bra 0
550    3   2 \x{100}    3     \x{100}
551    7   7 Ket    6   6 Ket
552   10     End    9     End
553  ------------------------------------------------------------------  ------------------------------------------------------------------
554  Capturing subpattern count = 0  Capturing subpattern count = 0
555  Options: utf8  Options: utf8
# Line 559  Need char = 128 Line 564  Need char = 128
564    9     End    9     End
565  ------------------------------------------------------------------  ------------------------------------------------------------------
566  Capturing subpattern count = 0  Capturing subpattern count = 0
567    Partial matching not supported
568  Options: utf8  Options: utf8
569  No first char  No first char
570  No need char  No need char
571    
572  /a\x{100}*/8D  /a\x{100}*/8D
573  ------------------------------------------------------------------  ------------------------------------------------------------------
574    0   9 Bra 0    0   8 Bra 0
575    3   1 a    3     a
576    6     \x{100}*    5     \x{100}*
577    9   9 Ket    8   8 Ket
578   12     End   11     End
579  ------------------------------------------------------------------  ------------------------------------------------------------------
580  Capturing subpattern count = 0  Capturing subpattern count = 0
581    Partial matching not supported
582  Options: utf8  Options: utf8
583  First char = 'a'  First char = 'a'
584  No need char  No need char
# Line 579  No need char Line 586  No need char
586  /ab\x{100}*/8D  /ab\x{100}*/8D
587  ------------------------------------------------------------------  ------------------------------------------------------------------
588    0  10 Bra 0    0  10 Bra 0
589    3   2 ab    3     ab
590    7     \x{100}*    7     \x{100}*
591   10  10 Ket   10  10 Ket
592   13     End   13     End
593  ------------------------------------------------------------------  ------------------------------------------------------------------
594  Capturing subpattern count = 0  Capturing subpattern count = 0
595    Partial matching not supported
596  Options: utf8  Options: utf8
597  First char = 'a'  First char = 'a'
598  Need char = 'b'  Need char = 'b'
# Line 592  Need char = 'b' Line 600  Need char = 'b'
600  /a\x{100}\x{101}*/8D  /a\x{100}\x{101}*/8D
601  ------------------------------------------------------------------  ------------------------------------------------------------------
602    0  11 Bra 0    0  11 Bra 0
603    3   3 a\x{100}    3     a\x{100}
604    8     \x{101}*    8     \x{101}*
605   11  11 Ket   11  11 Ket
606   14     End   14     End
607  ------------------------------------------------------------------  ------------------------------------------------------------------
608  Capturing subpattern count = 0  Capturing subpattern count = 0
609    Partial matching not supported
610  Options: utf8  Options: utf8
611  First char = 'a'  First char = 'a'
612  Need char = 128  Need char = 128
# Line 605  Need char = 128 Line 614  Need char = 128
614  /a\x{100}\x{101}+/8D  /a\x{100}\x{101}+/8D
615  ------------------------------------------------------------------  ------------------------------------------------------------------
616    0  11 Bra 0    0  11 Bra 0
617    3   3 a\x{100}    3     a\x{100}
618    8     \x{101}+    8     \x{101}+
619   11  11 Ket   11  11 Ket
620   14     End   14     End
621  ------------------------------------------------------------------  ------------------------------------------------------------------
622  Capturing subpattern count = 0  Capturing subpattern count = 0
623    Partial matching not supported
624  Options: utf8  Options: utf8
625  First char = 'a'  First char = 'a'
626  Need char = 129  Need char = 129
627    
628  /\x{100}*A/8D  /\x{100}*A/8D
629  ------------------------------------------------------------------  ------------------------------------------------------------------
630    0   9 Bra 0    0   8 Bra 0
631    3     \x{100}*    3     \x{100}*
632    6   1 A    6     A
633    9   9 Ket    8   8 Ket
634   12     End   11     End
635  ------------------------------------------------------------------  ------------------------------------------------------------------
636  Capturing subpattern count = 0  Capturing subpattern count = 0
637    Partial matching not supported
638  Options: utf8  Options: utf8
639  No first char  No first char
640  Need char = 'A'  Need char = 'A'
# Line 632  Need char = 'A' Line 643  Need char = 'A'
643    
644  /\x{100}*\d(?R)/8D  /\x{100}*\d(?R)/8D
645  ------------------------------------------------------------------  ------------------------------------------------------------------
646    0  10 Bra 0    0  16 Bra 0
647    3     \x{100}*    3     \x{100}*
648    6     \d    6     \d
649    7   0 Recurse    7   6 Once
650   10  10 Ket   10   0 Recurse
651   13     End   13   6 Ket
652     16  16 Ket
653     19     End
654  ------------------------------------------------------------------  ------------------------------------------------------------------
655  Capturing subpattern count = 0  Capturing subpattern count = 0
656    Partial matching not supported
657  Options: utf8  Options: utf8
658  No first char  No first char
659  No need char  No need char
660    
661  /[^\x{c4}]/D  /[^\x{c4}]/D
662  ------------------------------------------------------------------  ------------------------------------------------------------------
663    0  36 Bra 0    0   5 Bra 0
664    3     [\x01-35-bd-z|~-\xff] (neg)    3     [^\xc4]
665   36  36 Ket    5   5 Ket
666   39     End    8     End
667  ------------------------------------------------------------------  ------------------------------------------------------------------
668  Capturing subpattern count = 0  Capturing subpattern count = 0
669  No options  No options
# Line 737  Options: utf8 Line 751  Options: utf8
751  No first char  No first char
752  No need char  No need char
753    
 /[z-\x{100}]/8Di  
 ------------------------------------------------------------------  
   0  45 Bra 0  
   3     [Zz-\xff\x{100}-\x{100}]  
  45  45 Ket  
  48     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: caseless utf8  
 No first char  
 No need char  
   
754  /[z\Qa-d]Ā\E]/8D  /[z\Qa-d]Ā\E]/8D
755  ------------------------------------------------------------------  ------------------------------------------------------------------
756    0  43 Bra 0    0  43 Bra 0
# Line 767  No need char Line 769  No need char
769    
770  /[\xFF]/D  /[\xFF]/D
771  ------------------------------------------------------------------  ------------------------------------------------------------------
772    0   6 Bra 0    0   5 Bra 0
773    3   1 \xff    3     \xff
774    6   6 Ket    5   5 Ket
775    9     End    8     End
776  ------------------------------------------------------------------  ------------------------------------------------------------------
777  Capturing subpattern count = 0  Capturing subpattern count = 0
778  No options  No options
# Line 781  No need char Line 783  No need char
783    
784  /[\xff]/D8  /[\xff]/D8
785  ------------------------------------------------------------------  ------------------------------------------------------------------
786    0  36 Bra 0    0   6 Bra 0
787    3     [\xff]    3     \x{ff}
788   36  36 Ket    6   6 Ket
789   39     End    9     End
790  ------------------------------------------------------------------  ------------------------------------------------------------------
791  Capturing subpattern count = 0  Capturing subpattern count = 0
792  Options: utf8  Options: utf8
793  No first char  First char = 195
794  No need char  Need char = 191
795      >\x{ff}<      >\x{ff}<
796   0: \x{ff}   0: \x{ff}
797    
# Line 852  Failed: invalid UTF-8 string at offset 1 Line 854  Failed: invalid UTF-8 string at offset 1
854    
855  /xxx/8?D  /xxx/8?D
856  ------------------------------------------------------------------  ------------------------------------------------------------------
857    0  11 Bra 0    0  15 Bra 0
858    3   6 \x{c3}\x{f8}xx    3     \X{c0}\X{c0}\X{c0}xxx
859   11  11 Ket   15  15 Ket
860   14     End   18     End
861  ------------------------------------------------------------------  ------------------------------------------------------------------
862  Capturing subpattern count = 0  Capturing subpattern count = 0
863  Options: utf8 no_utf8_check  Options: utf8 no_utf8_check
# Line 910  No match Line 912  No match
912    
913  /\x{100}abc(xyz(?1))/8D  /\x{100}abc(xyz(?1))/8D
914  ------------------------------------------------------------------  ------------------------------------------------------------------
915    0  24 Bra 0    0  33 Bra 0
916    3   5 \x{100}abc    3     \x{100}abc
917   10  11 Bra 1   12  18 Bra 1
918   13   3 xyz   15     xyz
919   18  10 Recurse   21   6 Once
920   21  11 Ket   24  12 Recurse
921   24  24 Ket   27   6 Ket
922   27     End   30  18 Ket
923     33  33 Ket
924     36     End
925  ------------------------------------------------------------------  ------------------------------------------------------------------
926  Capturing subpattern count = 1  Capturing subpattern count = 1
927  Options: utf8  Options: utf8
# Line 926  Need char = 'z' Line 930  Need char = 'z'
930    
931  /[^\x{100}]abc(xyz(?1))/8D  /[^\x{100}]abc(xyz(?1))/8D
932  ------------------------------------------------------------------  ------------------------------------------------------------------
933    0  30 Bra 0    0  38 Bra 0
934    3     [^\x{100}]    3     [^\x{100}]
935   11   3 abc   11     abc
936   16  11 Bra 1   17  18 Bra 1
937   19   3 xyz   20     xyz
938   24  16 Recurse   26   6 Once
939   27  11 Ket   29  17 Recurse
940   30  30 Ket   32   6 Ket
941   33     End   35  18 Ket
942     38  38 Ket
943     41     End
944  ------------------------------------------------------------------  ------------------------------------------------------------------
945  Capturing subpattern count = 1  Capturing subpattern count = 1
946  Options: utf8  Options: utf8
# Line 943  Need char = 'z' Line 949  Need char = 'z'
949    
950  /[ab\x{100}]abc(xyz(?1))/8D  /[ab\x{100}]abc(xyz(?1))/8D
951  ------------------------------------------------------------------  ------------------------------------------------------------------
952    0  62 Bra 0    0  70 Bra 0
953    3     [a-b\x{100}]    3     [ab\x{100}]
954   43   3 abc   43     abc
955   48  11 Bra 1   49  18 Bra 1
956   51   3 xyz   52     xyz
957   56  48 Recurse   58   6 Once
958   59  11 Ket   61  49 Recurse
959   62  62 Ket   64   6 Ket
960   65     End   67  18 Ket
961     70  70 Ket
962     73     End
963  ------------------------------------------------------------------  ------------------------------------------------------------------
964  Capturing subpattern count = 1  Capturing subpattern count = 1
965  Options: utf8  Options: utf8
# Line 960  Need char = 'z' Line 968  Need char = 'z'
968    
969  /(\x{100}(b(?2)c))?/D8  /(\x{100}(b(?2)c))?/D8
970  ------------------------------------------------------------------  ------------------------------------------------------------------
971    0  29 Bra 0    0  32 Bra 0
972    3     Brazero    3     Brazero
973    4  22 Bra 1    4  25 Bra 1
974    7   2 \x{100}    7     \x{100}
975   11  12 Bra 2   10  16 Bra 2
976   14   1 b   13     b
977   17  11 Recurse   15   6 Once
978   20   1 c   18  10 Recurse
979   23  12 Ket   21   6 Ket
980   26  22 Ket   24     c
981   29  29 Ket   26  16 Ket
982   32     End   29  25 Ket
983     32  32 Ket
984     35     End
985  ------------------------------------------------------------------  ------------------------------------------------------------------
986  Capturing subpattern count = 2  Capturing subpattern count = 2
987  Options: utf8  Options: utf8
# Line 980  No need char Line 990  No need char
990    
991  /(\x{100}(b(?2)c)){0,2}/D8  /(\x{100}(b(?2)c)){0,2}/D8
992  ------------------------------------------------------------------  ------------------------------------------------------------------
993    0  61 Bra 0    0  67 Bra 0
994    3     Brazero    3     Brazero
995    4  54 Bra 0    4  60 Bra 0
996    7  22 Bra 1    7  25 Bra 1
997   10   2 \x{100}   10     \x{100}
998   14  12 Bra 2   13  16 Bra 2
999   17   1 b   16     b
1000   20  14 Recurse   18   6 Once
1001   23   1 c   21  13 Recurse
1002   26  12 Ket   24   6 Ket
1003   29  22 Ket   27     c
1004   32     Brazero   29  16 Ket
1005   33  22 Bra 1   32  25 Ket
1006   36   2 \x{100}   35     Brazero
1007   40  12 Bra 2   36  25 Bra 1
1008   43   1 b   39     \x{100}
1009   46  14 Recurse   42  16 Bra 2
1010   49   1 c   45     b
1011   52  12 Ket   47   6 Once
1012   55  22 Ket   50  13 Recurse
1013   58  54 Ket   53   6 Ket
1014   61  61 Ket   56     c
1015   64     End   58  16 Ket
1016     61  25 Ket
1017     64  60 Ket
1018     67  67 Ket
1019     70     End
1020  ------------------------------------------------------------------  ------------------------------------------------------------------
1021  Capturing subpattern count = 2  Capturing subpattern count = 2
1022  Options: utf8  Options: utf8
# Line 1011  No need char Line 1025  No need char
1025    
1026  /(\x{100}(b(?1)c))?/D8  /(\x{100}(b(?1)c))?/D8
1027  ------------------------------------------------------------------  ------------------------------------------------------------------
1028    0  29 Bra 0    0  32 Bra 0
1029    3     Brazero    3     Brazero
1030    4  22 Bra 1    4  25 Bra 1
1031    7   2 \x{100}    7     \x{100}
1032   11  12 Bra 2   10  16 Bra 2
1033   14   1 b   13     b
1034   17   4 Recurse   15   6 Once
1035   20   1 c   18   4 Recurse
1036   23  12 Ket   21   6 Ket
1037   26  22 Ket   24     c
1038   29  29 Ket   26  16 Ket
1039   32     End   29  25 Ket
1040     32  32 Ket
1041     35     End
1042  ------------------------------------------------------------------  ------------------------------------------------------------------
1043  Capturing subpattern count = 2  Capturing subpattern count = 2
1044  Options: utf8  Options: utf8
# Line 1031  No need char Line 1047  No need char
1047    
1048  /(\x{100}(b(?1)c)){0,2}/D8  /(\x{100}(b(?1)c)){0,2}/D8
1049  ------------------------------------------------------------------  ------------------------------------------------------------------
1050    0  61 Bra 0    0  67 Bra 0
1051    3     Brazero    3     Brazero
1052    4  54 Bra 0    4  60 Bra 0
1053    7  22 Bra 1    7  25 Bra 1
1054   10   2 \x{100}   10     \x{100}
1055   14  12 Bra 2   13  16 Bra 2
1056   17   1 b   16     b
1057   20   7 Recurse   18   6 Once
1058   23   1 c   21   7 Recurse
1059   26  12 Ket   24   6 Ket
1060   29  22 Ket   27     c
1061   32     Brazero   29  16 Ket
1062   33  22 Bra 1   32  25 Ket
1063   36   2 \x{100}   35     Brazero
1064   40  12 Bra 2   36  25 Bra 1
1065   43   1 b   39     \x{100}
1066   46   7 Recurse   42  16 Bra 2
1067   49   1 c   45     b
1068   52  12 Ket   47   6 Once
1069   55  22 Ket   50   7 Recurse
1070   58  54 Ket   53   6 Ket
1071   61  61 Ket   56     c
1072   64     End   58  16 Ket
1073     61  25 Ket
1074     64  60 Ket
1075     67  67 Ket
1076     70     End
1077  ------------------------------------------------------------------  ------------------------------------------------------------------
1078  Capturing subpattern count = 2  Capturing subpattern count = 2
1079  Options: utf8  Options: utf8
1080  No first char  No first char
1081  No need char  No need char
1082    
1083    /\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    /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    /\777/I
1111    Failed: octal value is greater than \377 (not in UTF-8 mode) at offset 3
1112    
1113    /\777/8I
1114    Capturing subpattern count = 0
1115    Options: utf8
1116    First char = 199
1117    Need char = 191
1118      \x{1ff}
1119     0: \x{1ff}
1120      \777
1121     0: \x{1ff}
1122    
1123  / End of testinput5 /  / End of testinput5 /

Legend:
Removed from v.73  
changed lines
  Added in v.91

  ViewVC Help
Powered by ViewVC 1.1.5