/[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 71 by nigel, Sat Feb 24 21:40:24 2007 UTC revision 83 by nigel, Sat Feb 24 21:41:06 2007 UTC
# Line 1  Line 1 
1  PCRE version 4.4 21-August-2003  PCRE version 6.3 15-Aug-2005
2    
3  /\x{100}/8DM  /\x{100}/8DM
4  Memory allocation (code space): 11  Memory allocation (code space): 10
5  ------------------------------------------------------------------  ------------------------------------------------------------------
6    0   7 Bra 0    0   6 Bra 0
7    3   2 \x{100}    3     \x{100}
8    7   7 Ket    6   6 Ket
9   10     End    9     End
10  ------------------------------------------------------------------  ------------------------------------------------------------------
11  Capturing subpattern count = 0  Capturing subpattern count = 0
12  Options: utf8  Options: utf8
# Line 14  First char = 196 Line 14  First char = 196
14  Need char = 128  Need char = 128
15    
16  /\x{1000}/8DM  /\x{1000}/8DM
17  Memory allocation (code space): 12  Memory allocation (code space): 11
18  ------------------------------------------------------------------  ------------------------------------------------------------------
19    0   8 Bra 0    0   7 Bra 0
20    3   3 \x{1000}    3     \x{1000}
21    8   8 Ket    7   7 Ket
22   11     End   10     End
23  ------------------------------------------------------------------  ------------------------------------------------------------------
24  Capturing subpattern count = 0  Capturing subpattern count = 0
25  Options: utf8  Options: utf8
# Line 27  First char = 225 Line 27  First char = 225
27  Need char = 128  Need char = 128
28    
29  /\x{10000}/8DM  /\x{10000}/8DM
30  Memory allocation (code space): 13  Memory allocation (code space): 12
31  ------------------------------------------------------------------  ------------------------------------------------------------------
32    0   9 Bra 0    0   8 Bra 0
33    3   4 \x{10000}    3     \x{10000}
34    9   9 Ket    8   8 Ket
35   12     End   11     End
36  ------------------------------------------------------------------  ------------------------------------------------------------------
37  Capturing subpattern count = 0  Capturing subpattern count = 0
38  Options: utf8  Options: utf8
# Line 40  First char = 240 Line 40  First char = 240
40  Need char = 128  Need char = 128
41    
42  /\x{100000}/8DM  /\x{100000}/8DM
43  Memory allocation (code space): 13  Memory allocation (code space): 12
44  ------------------------------------------------------------------  ------------------------------------------------------------------
45    0   9 Bra 0    0   8 Bra 0
46    3   4 \x{100000}    3     \x{100000}
47    9   9 Ket    8   8 Ket
48   12     End   11     End
49  ------------------------------------------------------------------  ------------------------------------------------------------------
50  Capturing subpattern count = 0  Capturing subpattern count = 0
51  Options: utf8  Options: utf8
# Line 53  First char = 244 Line 53  First char = 244
53  Need char = 128  Need char = 128
54    
55  /\x{1000000}/8DM  /\x{1000000}/8DM
56  Memory allocation (code space): 14  Memory allocation (code space): 13
57  ------------------------------------------------------------------  ------------------------------------------------------------------
58    0  10 Bra 0    0   9 Bra 0
59    3   5 \x{1000000}    3     \x{1000000}
60   10  10 Ket    9   9 Ket
61   13     End   12     End
62  ------------------------------------------------------------------  ------------------------------------------------------------------
63  Capturing subpattern count = 0  Capturing subpattern count = 0
64  Options: utf8  Options: utf8
# Line 66  First char = 249 Line 66  First char = 249
66  Need char = 128  Need char = 128
67    
68  /\x{4000000}/8DM  /\x{4000000}/8DM
69  Memory allocation (code space): 15  Memory allocation (code space): 14
70  ------------------------------------------------------------------  ------------------------------------------------------------------
71    0  11 Bra 0    0  10 Bra 0
72    3   6 \x{4000000}    3     \x{4000000}
73   11  11 Ket   10  10 Ket
74   14     End   13     End
75  ------------------------------------------------------------------  ------------------------------------------------------------------
76  Capturing subpattern count = 0  Capturing subpattern count = 0
77  Options: utf8  Options: utf8
# Line 79  First char = 252 Line 79  First char = 252
79  Need char = 128  Need char = 128
80    
81  /\x{7fffFFFF}/8DM  /\x{7fffFFFF}/8DM
82  Memory allocation (code space): 15  Memory allocation (code space): 14
83  ------------------------------------------------------------------  ------------------------------------------------------------------
84    0  11 Bra 0    0  10 Bra 0
85    3   6 \x{7fffffff}    3     \x{7fffffff}
86   11  11 Ket   10  10 Ket
87   14     End   13     End
88  ------------------------------------------------------------------  ------------------------------------------------------------------
89  Capturing subpattern count = 0  Capturing subpattern count = 0
90  Options: utf8  Options: utf8
# Line 92  First char = 253 Line 92  First char = 253
92  Need char = 191  Need char = 191
93    
94  /[\x{ff}]/8DM  /[\x{ff}]/8DM
95  Memory allocation (code space): 40  Memory allocation (code space): 10
96  ------------------------------------------------------------------  ------------------------------------------------------------------
97    0  36 Bra 0    0   6 Bra 0
98    3     [\xff]    3     \x{ff}
99   36  36 Ket    6   6 Ket
100   39     End    9     End
101  ------------------------------------------------------------------  ------------------------------------------------------------------
102  Capturing subpattern count = 0  Capturing subpattern count = 0
103  Options: utf8  Options: utf8
104  No first char  First char = 195
105  No need char  Need char = 191
106    
107  /[\x{100}]/8DM  /[\x{100}]/8DM
108  Memory allocation (code space): 47  Memory allocation (code space): 47
# Line 129  Failed: character value in \x{...} seque Line 129  Failed: character value in \x{...} seque
129    
130  /\x80/8D  /\x80/8D
131  ------------------------------------------------------------------  ------------------------------------------------------------------
132    0   7 Bra 0    0   6 Bra 0
133    3   2 \x{80}    3     \x{80}
134    7   7 Ket    6   6 Ket
135   10     End    9     End
136  ------------------------------------------------------------------  ------------------------------------------------------------------
137  Capturing subpattern count = 0  Capturing subpattern count = 0
138  Options: utf8  Options: utf8
# Line 141  Need char = 128 Line 141  Need char = 128
141    
142  /\xff/8D  /\xff/8D
143  ------------------------------------------------------------------  ------------------------------------------------------------------
144    0   7 Bra 0    0   6 Bra 0
145    3   2 \x{ff}    3     \x{ff}
146    7   7 Ket    6   6 Ket
147   10     End    9     End
148  ------------------------------------------------------------------  ------------------------------------------------------------------
149  Capturing subpattern count = 0  Capturing subpattern count = 0
150  Options: utf8  Options: utf8
# Line 153  Need char = 191 Line 153  Need char = 191
153    
154  /\x{0041}\x{2262}\x{0391}\x{002e}/D8  /\x{0041}\x{2262}\x{0391}\x{002e}/D8
155  ------------------------------------------------------------------  ------------------------------------------------------------------
156    0  12 Bra 0    0  14 Bra 0
157    3   7 A\x{2262}\x{391}.    3     A\x{2262}\x{391}.
158   12  12 Ket   14  14 Ket
159   15     End   17     End
160  ------------------------------------------------------------------  ------------------------------------------------------------------
161  Capturing subpattern count = 0  Capturing subpattern count = 0
162  Options: utf8  Options: utf8
# Line 167  Need char = '.' Line 167  Need char = '.'
167    
168  /\x{D55c}\x{ad6d}\x{C5B4}/D8  /\x{D55c}\x{ad6d}\x{C5B4}/D8
169  ------------------------------------------------------------------  ------------------------------------------------------------------
170    0  14 Bra 0    0  15 Bra 0
171    3   9 \x{d55c}\x{ad6d}\x{c5b4}    3     \x{d55c}\x{ad6d}\x{c5b4}
172   14  14 Ket   15  15 Ket
173   17     End   18     End
174  ------------------------------------------------------------------  ------------------------------------------------------------------
175  Capturing subpattern count = 0  Capturing subpattern count = 0
176  Options: utf8  Options: utf8
# Line 181  Need char = 180 Line 181  Need char = 180
181    
182  /\x{65e5}\x{672c}\x{8a9e}/D8  /\x{65e5}\x{672c}\x{8a9e}/D8
183  ------------------------------------------------------------------  ------------------------------------------------------------------
184    0  14 Bra 0    0  15 Bra 0
185    3   9 \x{65e5}\x{672c}\x{8a9e}    3     \x{65e5}\x{672c}\x{8a9e}
186   14  14 Ket   15  15 Ket
187   17     End   18     End
188  ------------------------------------------------------------------  ------------------------------------------------------------------
189  Capturing subpattern count = 0  Capturing subpattern count = 0
190  Options: utf8  Options: utf8
# Line 195  Need char = 158 Line 195  Need char = 158
195    
196  /\x{80}/D8  /\x{80}/D8
197  ------------------------------------------------------------------  ------------------------------------------------------------------
198    0   7 Bra 0    0   6 Bra 0
199    3   2 \x{80}    3     \x{80}
200    7   7 Ket    6   6 Ket
201   10     End    9     End
202  ------------------------------------------------------------------  ------------------------------------------------------------------
203  Capturing subpattern count = 0  Capturing subpattern count = 0
204  Options: utf8  Options: utf8
# Line 207  Need char = 128 Line 207  Need char = 128
207    
208  /\x{084}/D8  /\x{084}/D8
209  ------------------------------------------------------------------  ------------------------------------------------------------------
210    0   7 Bra 0    0   6 Bra 0
211    3   2 \x{84}    3     \x{84}
212    7   7 Ket    6   6 Ket
213   10     End    9     End
214  ------------------------------------------------------------------  ------------------------------------------------------------------
215  Capturing subpattern count = 0  Capturing subpattern count = 0
216  Options: utf8  Options: utf8
# Line 219  Need char = 132 Line 219  Need char = 132
219    
220  /\x{104}/D8  /\x{104}/D8
221  ------------------------------------------------------------------  ------------------------------------------------------------------
222    0   7 Bra 0    0   6 Bra 0
223    3   2 \x{104}    3     \x{104}
224    7   7 Ket    6   6 Ket
225   10     End    9     End
226  ------------------------------------------------------------------  ------------------------------------------------------------------
227  Capturing subpattern count = 0  Capturing subpattern count = 0
228  Options: utf8  Options: utf8
# Line 231  Need char = 132 Line 231  Need char = 132
231    
232  /\x{861}/D8  /\x{861}/D8
233  ------------------------------------------------------------------  ------------------------------------------------------------------
234    0   8 Bra 0    0   7 Bra 0
235    3   3 \x{861}    3     \x{861}
236    8   8 Ket    7   7 Ket
237   11     End   10     End
238  ------------------------------------------------------------------  ------------------------------------------------------------------
239  Capturing subpattern count = 0  Capturing subpattern count = 0
240  Options: utf8  Options: utf8
# Line 243  Need char = 161 Line 243  Need char = 161
243    
244  /\x{212ab}/D8  /\x{212ab}/D8
245  ------------------------------------------------------------------  ------------------------------------------------------------------
246    0   9 Bra 0    0   8 Bra 0
247    3   4 \x{212ab}    3     \x{212ab}
248    9   9 Ket    8   8 Ket
249   12     End   11     End
250  ------------------------------------------------------------------  ------------------------------------------------------------------
251  Capturing subpattern count = 0  Capturing subpattern count = 0
252  Options: utf8  Options: utf8
# Line 255  Need char = 171 Line 255  Need char = 171
255    
256  /.{3,5}X/D8  /.{3,5}X/D8
257  ------------------------------------------------------------------  ------------------------------------------------------------------
258    0  14 Bra 0    0  13 Bra 0
259    3     Any{3}    3     Any{3}
260    7     Any{0,2}    7     Any{0,2}
261   11   1 X   11     X
262   14  14 Ket   13  13 Ket
263   17     End   16     End
264  ------------------------------------------------------------------  ------------------------------------------------------------------
265  Capturing subpattern count = 0  Capturing subpattern count = 0
266    Partial matching not supported
267  Options: utf8  Options: utf8
268  No first char  No first char
269  Need char = 'X'  Need char = 'X'
# Line 279  Need char = 'X' Line 280  Need char = 'X'
280   14     End   14     End
281  ------------------------------------------------------------------  ------------------------------------------------------------------
282  Capturing subpattern count = 0  Capturing subpattern count = 0
283    Partial matching not supported
284  Options: utf8  Options: utf8
285  No first char  No first char
286  No need char  No need char
# Line 349  No match Line 351  No match
351  ------------------------------------------------------------------  ------------------------------------------------------------------
352    0  37 Bra 0    0  37 Bra 0
353    3     ^    3     ^
354    4     [a-b]    4     [ab]
355   37  37 Ket   37  37 Ket
356   40     End   40     End
357  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 402  Capturing subpattern count = 0 Line 404  Capturing subpattern count = 0
404  Options: utf8  Options: utf8
405  No first char  No first char
406  No need char  No need char
407  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
408    \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
409    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4    \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    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 438  No match
438   16     End   16     End
439  ------------------------------------------------------------------  ------------------------------------------------------------------
440  Capturing subpattern count = 0  Capturing subpattern count = 0
441    Partial matching not supported
442  Options: utf8  Options: utf8
443  First char = 196  First char = 196
444  Need char = 128  Need char = 128
# Line 445  Study returned NULL Line 448  Study returned NULL
448    
449  /(\x{100}+|x)/8SD  /(\x{100}+|x)/8SD
450  ------------------------------------------------------------------  ------------------------------------------------------------------
451    0  18 Bra 0    0  17 Bra 0
452    3   6 Bra 1    3   6 Bra 1
453    6     \x{100}+    6     \x{100}+
454    9   6 Alt    9   5 Alt
455   12   1 x   12     x
456   15  12 Ket   14  11 Ket
457   18  18 Ket   17  17 Ket
458   21     End   20     End
459  ------------------------------------------------------------------  ------------------------------------------------------------------
460  Capturing subpattern count = 1  Capturing subpattern count = 1
461    Partial matching not supported
462  Options: utf8  Options: utf8
463  No first char  No first char
464  No need char  No need char
465  Starting character set: x \xc4  Starting byte set: x \xc4
466    
467  /(\x{100}*a|x)/8SD  /(\x{100}*a|x)/8SD
468  ------------------------------------------------------------------  ------------------------------------------------------------------
469    0  21 Bra 0    0  19 Bra 0
470    3   9 Bra 1    3   8 Bra 1
471    6     \x{100}*    6     \x{100}*
472    9   1 a    9     a
473   12   6 Alt   11   5 Alt
474   15   1 x   14     x
475   18  15 Ket   16  13 Ket
476   21  21 Ket   19  19 Ket
477   24     End   22     End
478  ------------------------------------------------------------------  ------------------------------------------------------------------
479  Capturing subpattern count = 1  Capturing subpattern count = 1
480    Partial matching not supported
481  Options: utf8  Options: utf8
482  No first char  No first char
483  No need char  No need char
484  Starting character set: a x \xc4  Starting byte set: a x \xc4
485    
486  /(\x{100}{0,2}a|x)/8SD  /(\x{100}{0,2}a|x)/8SD
487  ------------------------------------------------------------------  ------------------------------------------------------------------
488    0  23 Bra 0    0  21 Bra 0
489    3  11 Bra 1    3  10 Bra 1
490    6     \x{100}{,2}    6     \x{100}{,2}
491   11   1 a   11     a
492   14   6 Alt   13   5 Alt
493   17   1 x   16     x
494   20  17 Ket   18  15 Ket
495   23  23 Ket   21  21 Ket
496   26     End   24     End
497  ------------------------------------------------------------------  ------------------------------------------------------------------
498  Capturing subpattern count = 1  Capturing subpattern count = 1
499    Partial matching not supported
500  Options: utf8  Options: utf8
501  No first char  No first char
502  No need char  No need char
503  Starting character set: a x \xc4  Starting byte set: a x \xc4
504    
505  /(\x{100}{1,2}a|x)/8SD  /(\x{100}{1,2}a|x)/8SD
506  ------------------------------------------------------------------  ------------------------------------------------------------------
507    0  27 Bra 0    0  24 Bra 0
508    3  15 Bra 1    3  13 Bra 1
509    6   2 \x{100}    6     \x{100}
510   10     \x{100}{,1}    9     \x{100}{,1}
511   15   1 a   14     a
512   18   6 Alt   16   5 Alt
513   21   1 x   19     x
514   24  21 Ket   21  18 Ket
515   27  27 Ket   24  24 Ket
516   30     End   27     End
517  ------------------------------------------------------------------  ------------------------------------------------------------------
518  Capturing subpattern count = 1  Capturing subpattern count = 1
519    Partial matching not supported
520  Options: utf8  Options: utf8
521  No first char  No first char
522  No need char  No need char
523  Starting character set: x \xc4  Starting byte set: x \xc4
524    
525  /\x{100}*(\d+|"(?1)")/8  /\x{100}*(\d+|"(?1)")/8
526      1234      1234
# Line 541  No match Line 548  No match
548    
549  /\x{100}/8D  /\x{100}/8D
550  ------------------------------------------------------------------  ------------------------------------------------------------------
551    0   7 Bra 0    0   6 Bra 0
552    3   2 \x{100}    3     \x{100}
553    7   7 Ket    6   6 Ket
554   10     End    9     End
555  ------------------------------------------------------------------  ------------------------------------------------------------------
556  Capturing subpattern count = 0  Capturing subpattern count = 0
557  Options: utf8  Options: utf8
# Line 559  Need char = 128 Line 566  Need char = 128
566    9     End    9     End
567  ------------------------------------------------------------------  ------------------------------------------------------------------
568  Capturing subpattern count = 0  Capturing subpattern count = 0
569    Partial matching not supported
570  Options: utf8  Options: utf8
571  No first char  No first char
572  No need char  No need char
573    
574  /a\x{100}*/8D  /a\x{100}*/8D
575  ------------------------------------------------------------------  ------------------------------------------------------------------
576    0   9 Bra 0    0   8 Bra 0
577    3   1 a    3     a
578    6     \x{100}*    5     \x{100}*
579    9   9 Ket    8   8 Ket
580   12     End   11     End
581  ------------------------------------------------------------------  ------------------------------------------------------------------
582  Capturing subpattern count = 0  Capturing subpattern count = 0
583    Partial matching not supported
584  Options: utf8  Options: utf8
585  First char = 'a'  First char = 'a'
586  No need char  No need char
# Line 579  No need char Line 588  No need char
588  /ab\x{100}*/8D  /ab\x{100}*/8D
589  ------------------------------------------------------------------  ------------------------------------------------------------------
590    0  10 Bra 0    0  10 Bra 0
591    3   2 ab    3     ab
592    7     \x{100}*    7     \x{100}*
593   10  10 Ket   10  10 Ket
594   13     End   13     End
595  ------------------------------------------------------------------  ------------------------------------------------------------------
596  Capturing subpattern count = 0  Capturing subpattern count = 0
597    Partial matching not supported
598  Options: utf8  Options: utf8
599  First char = 'a'  First char = 'a'
600  Need char = 'b'  Need char = 'b'
# Line 592  Need char = 'b' Line 602  Need char = 'b'
602  /a\x{100}\x{101}*/8D  /a\x{100}\x{101}*/8D
603  ------------------------------------------------------------------  ------------------------------------------------------------------
604    0  11 Bra 0    0  11 Bra 0
605    3   3 a\x{100}    3     a\x{100}
606    8     \x{101}*    8     \x{101}*
607   11  11 Ket   11  11 Ket
608   14     End   14     End
609  ------------------------------------------------------------------  ------------------------------------------------------------------
610  Capturing subpattern count = 0  Capturing subpattern count = 0
611    Partial matching not supported
612  Options: utf8  Options: utf8
613  First char = 'a'  First char = 'a'
614  Need char = 128  Need char = 128
# Line 605  Need char = 128 Line 616  Need char = 128
616  /a\x{100}\x{101}+/8D  /a\x{100}\x{101}+/8D
617  ------------------------------------------------------------------  ------------------------------------------------------------------
618    0  11 Bra 0    0  11 Bra 0
619    3   3 a\x{100}    3     a\x{100}
620    8     \x{101}+    8     \x{101}+
621   11  11 Ket   11  11 Ket
622   14     End   14     End
623  ------------------------------------------------------------------  ------------------------------------------------------------------
624  Capturing subpattern count = 0  Capturing subpattern count = 0
625    Partial matching not supported
626  Options: utf8  Options: utf8
627  First char = 'a'  First char = 'a'
628  Need char = 129  Need char = 129
629    
630  /\x{100}*A/8D  /\x{100}*A/8D
631  ------------------------------------------------------------------  ------------------------------------------------------------------
632    0   9 Bra 0    0   8 Bra 0
633    3     \x{100}*    3     \x{100}*
634    6   1 A    6     A
635    9   9 Ket    8   8 Ket
636   12     End   11     End
637  ------------------------------------------------------------------  ------------------------------------------------------------------
638  Capturing subpattern count = 0  Capturing subpattern count = 0
639    Partial matching not supported
640  Options: utf8  Options: utf8
641  No first char  No first char
642  Need char = 'A'  Need char = 'A'
# Line 640  Need char = 'A' Line 653  Need char = 'A'
653   13     End   13     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
# 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 863  First char = 195 Line 865  First char = 195
865  Need char = 'x'  Need char = 'x'
866    
867  /abc/8  /abc/8
868     ]      ]
869  Error -10  Error -10
870          
871  Error -10  Error -10
872          
873  Error -10  Error -10
874     \?      \?
875  No match  No match
876    
877  / End of testinput5 /  /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      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    ------------------------------------------------------------------
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      0  32 Bra 0
932      3     [^\x{100}]
933     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    ------------------------------------------------------------------
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      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    ------------------------------------------------------------------
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      0  26 Bra 0
966      3     Brazero
967      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    ------------------------------------------------------------------
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      0  55 Bra 0
986      3     Brazero
987      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    ------------------------------------------------------------------
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      0  26 Bra 0
1017      3     Brazero
1018      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    ------------------------------------------------------------------
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      0  55 Bra 0
1037      3     Brazero
1038      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    ------------------------------------------------------------------
1060    Capturing subpattern count = 2
1061    Options: utf8
1062    No first char
1063    No need char
1064    
1065    /\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    / End of testinput5 /

Legend:
Removed from v.71  
changed lines
  Added in v.83

  ViewVC Help
Powered by ViewVC 1.1.5