/[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 69 by nigel, Sat Feb 24 21:40:18 2007 UTC revision 96 by nigel, Fri Mar 2 13:10:43 2007 UTC
# Line 1  Line 1 
 PCRE version 4.3 21-May-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): 15
107  ------------------------------------------------------------------  ------------------------------------------------------------------
108    0  11 Bra 0    0  11 Bra 0
109    3     [\x{100}]    3     [\x{100}]
# 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  Study size = 40  Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
 Starting character 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
409    Z [ \ ] ^ _ ` c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f    Z [ \ ] ^ _ ` c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f
410    \x80 \x81 \x82 \x83 \x84 \x85 \x86 \x87 \x88 \x89 \x8a \x8b \x8c \x8d \x8e    \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0
411    \x8f \x90 \x91 \x92 \x93 \x94 \x95 \x96 \x97 \x98 \x99 \x9a \x9b \x9c \x9d    \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf
412    \x9e \x9f \xa0 \xa1 \xa2 \xa3 \xa4 \xa5 \xa6 \xa7 \xa8 \xa9 \xaa \xab \xac    \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee
413    \xad \xae \xaf \xb0 \xb1 \xb2 \xb3 \xb4 \xb5 \xb6 \xb7 \xb8 \xb9 \xba \xbb    \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd
414    \xbc \xbd \xbe \xbf \xc0 \xc1 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca    \xfe \xff
   \xcb \xcc \xcd \xce \xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9  
   \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8  
   \xe9 \xea \xeb \xec \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7  
   \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff  
415      \x{f1}      \x{f1}
416   0: \x{f1}   0: \x{f1}
417      \x{bf}      \x{bf}
# Line 434  No match Line 429  No match
429    
430  /Ā{3,4}/8SD  /Ā{3,4}/8SD
431  ------------------------------------------------------------------  ------------------------------------------------------------------
432    0  13 Bra 0    0  11 Bra 0
433    3     \x{100}{3}    3     \x{100}{3}
434    8     \x{100}{,1}    8     \x{100}?
435   13  13 Ket   11  11 Ket
436   16     End   14     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 450  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  19 Bra 0
450    3   6 Bra 1    3   8 Bra 1
451    6     \x{100}+    8     \x{100}+
452    9   6 Alt   11   5 Alt
453   12   1 x   14     x
454   15  12 Ket   16  13 Ket
455   18  18 Ket   19  19 Ket
456   21     End   22     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  Study size = 40  Starting byte set: x \xc4
 Starting character set: x \xc4  
464    
465  /(\x{100}*a|x)/8SD  /(\x{100}*a|x)/8SD
466  ------------------------------------------------------------------  ------------------------------------------------------------------
467    0  21 Bra 0    0  21 Bra 0
468    3   9 Bra 1    3  10 Bra 1
469    6     \x{100}*    8     \x{100}*+
470    9   1 a   11     a
471   12   6 Alt   13   5 Alt
472   15   1 x   16     x
473   18  15 Ket   18  15 Ket
474   21  21 Ket   21  21 Ket
475   24     End   24     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  Study size = 40  Starting byte set: a x \xc4
 Starting character 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  23 Bra 0
487    3  11 Bra 1    3  12 Bra 1
488    6     \x{100}{,2}    8     \x{100}{0,2}
489   11   1 a   13     a
490   14   6 Alt   15   5 Alt
491   17   1 x   18     x
492   20  17 Ket   20  17 Ket
493   23  23 Ket   23  23 Ket
494   26     End   26     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  Study size = 40  Starting byte set: a x \xc4
 Starting character 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  26 Bra 0
506    3  15 Bra 1    3  15 Bra 1
507    6   2 \x{100}    8     \x{100}
508   10     \x{100}{,1}   11     \x{100}{0,1}
509   15   1 a   16     a
510   18   6 Alt   18   5 Alt
511   21   1 x   21     x
512   24  21 Ket   23  20 Ket
513   27  27 Ket   26  26 Ket
514   30     End   29     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  Study size = 40  Starting byte set: x \xc4
 Starting character set: x \xc4  
522    
523  /\x{100}*(\d+|"(?1)")/8  /\x{100}*(\d+|"(?1)")/8
524      1234      1234
# Line 550  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 568  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 588  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 601  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 614  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 641  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 678  No first char Line 683  No first char
683  No need char  No need char
684    
685  /[\x{100}]/8DM  /[\x{100}]/8DM
686  Memory allocation (code space): 47  Memory allocation (code space): 15
687  ------------------------------------------------------------------  ------------------------------------------------------------------
688    0  11 Bra 0    0  11 Bra 0
689    3     [\x{100}]    3     [\x{100}]
# Line 746  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 776  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 790  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 826  Options: utf8 Line 819  Options: utf8
819  No first char  No first char
820  No need char  No need char
821    
822  / End of testinput5 /  /[Ä-Ü]/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      0  15 Bra 0
858      3     \X{c0}\X{c0}\X{c0}xxx
859     15  15 Ket
860     18     End
861    ------------------------------------------------------------------
862    Capturing subpattern count = 0
863    Options: utf8 no_utf8_check
864    First char = 195
865    Need char = 'x'
866    
867    /abc/8
868        ]
869    Error -10
870        
871    Error -10
872        
873    Error -10
874        \?
875    No match
876    
877    /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  35 Bra 0
916      3     \x{100}abc
917     12  20 Bra 1
918     17     xyz
919     23   6 Once
920     26  12 Recurse
921     29   6 Ket
922     32  20 Ket
923     35  35 Ket
924     38     End
925    ------------------------------------------------------------------
926    Capturing subpattern count = 1
927    Options: utf8
928    First char = 196
929    Need char = 'z'
930    
931    /[^\x{100}]abc(xyz(?1))/8D
932    ------------------------------------------------------------------
933      0  40 Bra 0
934      3     [^\x{100}]
935     11     abc
936     17  20 Bra 1
937     22     xyz
938     28   6 Once
939     31  17 Recurse
940     34   6 Ket
941     37  20 Ket
942     40  40 Ket
943     43     End
944    ------------------------------------------------------------------
945    Capturing subpattern count = 1
946    Options: utf8
947    No first char
948    Need char = 'z'
949    
950    /[ab\x{100}]abc(xyz(?1))/8D
951    ------------------------------------------------------------------
952      0  72 Bra 0
953      3     [ab\x{100}]
954     43     abc
955     49  20 Bra 1
956     54     xyz
957     60   6 Once
958     63  49 Recurse
959     66   6 Ket
960     69  20 Ket
961     72  72 Ket
962     75     End
963    ------------------------------------------------------------------
964    Capturing subpattern count = 1
965    Options: utf8
966    No first char
967    Need char = 'z'
968    
969    /(\x{100}(b(?2)c))?/D8
970    ------------------------------------------------------------------
971      0  36 Bra 0
972      3     Brazero
973      4  29 Bra 1
974      9     \x{100}
975     12  18 Bra 2
976     17     b
977     19   6 Once
978     22  12 Recurse
979     25   6 Ket
980     28     c
981     30  18 Ket
982     33  29 Ket
983     36  36 Ket
984     39     End
985    ------------------------------------------------------------------
986    Capturing subpattern count = 2
987    Options: utf8
988    No first char
989    No need char
990    
991    /(\x{100}(b(?2)c)){0,2}/D8
992    ------------------------------------------------------------------
993      0  75 Bra 0
994      3     Brazero
995      4  68 Bra 0
996      7  29 Bra 1
997     12     \x{100}
998     15  18 Bra 2
999     20     b
1000     22   6 Once
1001     25  15 Recurse
1002     28   6 Ket
1003     31     c
1004     33  18 Ket
1005     36  29 Ket
1006     39     Brazero
1007     40  29 Bra 1
1008     45     \x{100}
1009     48  18 Bra 2
1010     53     b
1011     55   6 Once
1012     58  15 Recurse
1013     61   6 Ket
1014     64     c
1015     66  18 Ket
1016     69  29 Ket
1017     72  68 Ket
1018     75  75 Ket
1019     78     End
1020    ------------------------------------------------------------------
1021    Capturing subpattern count = 2
1022    Options: utf8
1023    No first char
1024    No need char
1025    
1026    /(\x{100}(b(?1)c))?/D8
1027    ------------------------------------------------------------------
1028      0  36 Bra 0
1029      3     Brazero
1030      4  29 Bra 1
1031      9     \x{100}
1032     12  18 Bra 2
1033     17     b
1034     19   6 Once
1035     22   4 Recurse
1036     25   6 Ket
1037     28     c
1038     30  18 Ket
1039     33  29 Ket
1040     36  36 Ket
1041     39     End
1042    ------------------------------------------------------------------
1043    Capturing subpattern count = 2
1044    Options: utf8
1045    No first char
1046    No need char
1047    
1048    /(\x{100}(b(?1)c)){0,2}/D8
1049    ------------------------------------------------------------------
1050      0  75 Bra 0
1051      3     Brazero
1052      4  68 Bra 0
1053      7  29 Bra 1
1054     12     \x{100}
1055     15  18 Bra 2
1056     20     b
1057     22   6 Once
1058     25   7 Recurse
1059     28   6 Ket
1060     31     c
1061     33  18 Ket
1062     36  29 Ket
1063     39     Brazero
1064     40  29 Bra 1
1065     45     \x{100}
1066     48  18 Bra 2
1067     53     b
1068     55   6 Once
1069     58   7 Recurse
1070     61   6 Ket
1071     64     c
1072     66  18 Ket
1073     69  29 Ket
1074     72  68 Ket
1075     75  75 Ket
1076     78     End
1077    ------------------------------------------------------------------
1078    Capturing subpattern count = 2
1079    Options: utf8
1080    No first char
1081    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    /\x{100}*\d/8D
1124    ------------------------------------------------------------------
1125      0   7 Bra 0
1126      3     \x{100}*+
1127      6     \d
1128      7   7 Ket
1129     10     End
1130    ------------------------------------------------------------------
1131    Capturing subpattern count = 0
1132    Partial matching not supported
1133    Options: utf8
1134    No first char
1135    No need char
1136    
1137    /\x{100}*\s/8D
1138    ------------------------------------------------------------------
1139      0   7 Bra 0
1140      3     \x{100}*+
1141      6     \s
1142      7   7 Ket
1143     10     End
1144    ------------------------------------------------------------------
1145    Capturing subpattern count = 0
1146    Partial matching not supported
1147    Options: utf8
1148    No first char
1149    No need char
1150    
1151    /\x{100}*\w/8D
1152    ------------------------------------------------------------------
1153      0   7 Bra 0
1154      3     \x{100}*+
1155      6     \w
1156      7   7 Ket
1157     10     End
1158    ------------------------------------------------------------------
1159    Capturing subpattern count = 0
1160    Partial matching not supported
1161    Options: utf8
1162    No first char
1163    No need char
1164    
1165    /\x{100}*\D/8D
1166    ------------------------------------------------------------------
1167      0   7 Bra 0
1168      3     \x{100}*
1169      6     \D
1170      7   7 Ket
1171     10     End
1172    ------------------------------------------------------------------
1173    Capturing subpattern count = 0
1174    Partial matching not supported
1175    Options: utf8
1176    No first char
1177    No need char
1178    
1179    /\x{100}*\S/8D
1180    ------------------------------------------------------------------
1181      0   7 Bra 0
1182      3     \x{100}*
1183      6     \S
1184      7   7 Ket
1185     10     End
1186    ------------------------------------------------------------------
1187    Capturing subpattern count = 0
1188    Partial matching not supported
1189    Options: utf8
1190    No first char
1191    No need char
1192    
1193    /\x{100}*\W/8D
1194    ------------------------------------------------------------------
1195      0   7 Bra 0
1196      3     \x{100}*
1197      6     \W
1198      7   7 Ket
1199     10     End
1200    ------------------------------------------------------------------
1201    Capturing subpattern count = 0
1202    Partial matching not supported
1203    Options: utf8
1204    No first char
1205    No need char
1206    
1207    /\x{100}+\x{200}/8D
1208    ------------------------------------------------------------------
1209      0   9 Bra 0
1210      3     \x{100}++
1211      6     \x{200}
1212      9   9 Ket
1213     12     End
1214    ------------------------------------------------------------------
1215    Capturing subpattern count = 0
1216    Partial matching not supported
1217    Options: utf8
1218    First char = 196
1219    Need char = 128
1220    
1221    /\x{100}+X/8D
1222    ------------------------------------------------------------------
1223      0   8 Bra 0
1224      3     \x{100}++
1225      6     X
1226      8   8 Ket
1227     11     End
1228    ------------------------------------------------------------------
1229    Capturing subpattern count = 0
1230    Partial matching not supported
1231    Options: utf8
1232    First char = 196
1233    Need char = 'X'
1234    
1235    /X+\x{200}/8D
1236    ------------------------------------------------------------------
1237      0   8 Bra 0
1238      3     X++
1239      5     \x{200}
1240      8   8 Ket
1241     11     End
1242    ------------------------------------------------------------------
1243    Capturing subpattern count = 0
1244    Partial matching not supported
1245    Options: utf8
1246    First char = 'X'
1247    Need char = 128
1248    
1249    /()()()()()()()()()()
1250     ()()()()()()()()()()
1251     ()()()()()()()()()()
1252     ()()()()()()()()()()
1253     A (x) (?41) B/8x
1254        AxxB
1255    Matched, but too many substrings
1256     0: AxxB
1257     1:
1258     2:
1259     3:
1260     4:
1261     5:
1262     6:
1263     7:
1264     8:
1265     9:
1266    10:
1267    11:
1268    12:
1269    13:
1270    14:
1271    
1272    /^[\x{100}\E-\Q\E\x{150}]/B8
1273    ------------------------------------------------------------------
1274      0  14 Bra 0
1275      3     ^
1276      4     [\x{100}-\x{150}]
1277     14  14 Ket
1278     17     End
1279    ------------------------------------------------------------------
1280    
1281    /^[\QĀ\E-\QŐ\E]/B8
1282    ------------------------------------------------------------------
1283      0  14 Bra 0
1284      3     ^
1285      4     [\x{100}-\x{150}]
1286     14  14 Ket
1287     17     End
1288    ------------------------------------------------------------------
1289    
1290    /^[\QĀ\E-\QŐ\E/B8
1291    Failed: missing terminating ] for character class at offset 15
1292    
1293    /^abc./mgx8<any>
1294        abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x{0085}abc7 \x{2028}abc8 \x{2029}abc9 JUNK
1295     0: abc1
1296     0: abc2
1297     0: abc3
1298     0: abc4
1299     0: abc5
1300     0: abc6
1301     0: abc7
1302     0: abc8
1303     0: abc9
1304    
1305    /abc.$/mgx8<any>
1306        abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x{0085} abc7\x{2028} abc8\x{2029} abc9
1307     0: abc1
1308     0: abc2
1309     0: abc3
1310     0: abc4
1311     0: abc5
1312     0: abc6
1313     0: abc7
1314     0: abc8
1315     0: abc9
1316    
1317    /^a\Rb/8
1318        a\nb
1319     0: a\x{0a}b
1320        a\rb
1321     0: a\x{0d}b
1322        a\r\nb
1323     0: a\x{0d}\x{0a}b
1324        a\x0bb
1325     0: a\x{0b}b
1326        a\x0cb
1327     0: a\x{0c}b
1328        a\x{85}b
1329     0: a\x{85}b
1330        a\x{2028}b
1331     0: a\x{2028}b
1332        a\x{2029}b
1333     0: a\x{2029}b
1334        ** Failers
1335    No match
1336        a\n\rb
1337    No match
1338    
1339    /^a\R*b/8
1340        ab
1341     0: ab
1342        a\nb
1343     0: a\x{0a}b
1344        a\rb
1345     0: a\x{0d}b
1346        a\r\nb
1347     0: a\x{0d}\x{0a}b
1348        a\x0bb
1349     0: a\x{0b}b
1350        a\x0c\x{2028}\x{2029}b
1351     0: a\x{0c}\x{2028}\x{2029}b
1352        a\x{85}b
1353     0: a\x{85}b
1354        a\n\rb
1355     0: a\x{0a}\x{0d}b
1356        a\n\r\x{85}\x0cb
1357     0: a\x{0a}\x{0d}\x{85}\x{0c}b
1358    
1359    /^a\R+b/8
1360        a\nb
1361     0: a\x{0a}b
1362        a\rb
1363     0: a\x{0d}b
1364        a\r\nb
1365     0: a\x{0d}\x{0a}b
1366        a\x0bb
1367     0: a\x{0b}b
1368        a\x0c\x{2028}\x{2029}b
1369     0: a\x{0c}\x{2028}\x{2029}b
1370        a\x{85}b
1371     0: a\x{85}b
1372        a\n\rb
1373     0: a\x{0a}\x{0d}b
1374        a\n\r\x{85}\x0cb
1375     0: a\x{0a}\x{0d}\x{85}\x{0c}b
1376        ** Failers
1377    No match
1378        ab
1379    No match
1380    
1381    /^a\R{1,3}b/8
1382        a\nb
1383     0: a\x{0a}b
1384        a\n\rb
1385     0: a\x{0a}\x{0d}b
1386        a\n\r\x{85}b
1387     0: a\x{0a}\x{0d}\x{85}b
1388        a\r\n\r\nb
1389     0: a\x{0d}\x{0a}\x{0d}\x{0a}b
1390        a\r\n\r\n\r\nb
1391     0: a\x{0d}\x{0a}\x{0d}\x{0a}\x{0d}\x{0a}b
1392        a\n\r\n\rb
1393     0: a\x{0a}\x{0d}\x{0a}\x{0d}b
1394        a\n\n\r\nb
1395     0: a\x{0a}\x{0a}\x{0d}\x{0a}b
1396        ** Failers
1397    No match
1398        a\n\n\n\rb
1399    No match
1400        a\r
1401    No match
1402    
1403    / End of testinput5 /

Legend:
Removed from v.69  
changed lines
  Added in v.96

  ViewVC Help
Powered by ViewVC 1.1.5