/[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 87 by nigel, Sat Feb 24 21:41:21 2007 UTC revision 161 by ph10, Thu May 3 10:28:07 2007 UTC
# Line 1  Line 1 
1  /\x{100}/8DM  /\x{100}/8DZM
2  Memory allocation (code space): 10  Memory allocation (code space): 10
3  ------------------------------------------------------------------  ------------------------------------------------------------------
4    0   6 Bra 0          Bra 0
5    3     \x{100}          \x{100}
6    6   6 Ket          Ket
7    9     End          End
8  ------------------------------------------------------------------  ------------------------------------------------------------------
9  Capturing subpattern count = 0  Capturing subpattern count = 0
10  Options: utf8  Options: utf8
11  First char = 196  First char = 196
12  Need char = 128  Need char = 128
13    
14  /\x{1000}/8DM  /\x{1000}/8DZM
15  Memory allocation (code space): 11  Memory allocation (code space): 11
16  ------------------------------------------------------------------  ------------------------------------------------------------------
17    0   7 Bra 0          Bra 0
18    3     \x{1000}          \x{1000}
19    7   7 Ket          Ket
20   10     End          End
21  ------------------------------------------------------------------  ------------------------------------------------------------------
22  Capturing subpattern count = 0  Capturing subpattern count = 0
23  Options: utf8  Options: utf8
24  First char = 225  First char = 225
25  Need char = 128  Need char = 128
26    
27  /\x{10000}/8DM  /\x{10000}/8DZM
28  Memory allocation (code space): 12  Memory allocation (code space): 12
29  ------------------------------------------------------------------  ------------------------------------------------------------------
30    0   8 Bra 0          Bra 0
31    3     \x{10000}          \x{10000}
32    8   8 Ket          Ket
33   11     End          End
34  ------------------------------------------------------------------  ------------------------------------------------------------------
35  Capturing subpattern count = 0  Capturing subpattern count = 0
36  Options: utf8  Options: utf8
37  First char = 240  First char = 240
38  Need char = 128  Need char = 128
39    
40  /\x{100000}/8DM  /\x{100000}/8DZM
41  Memory allocation (code space): 12  Memory allocation (code space): 12
42  ------------------------------------------------------------------  ------------------------------------------------------------------
43    0   8 Bra 0          Bra 0
44    3     \x{100000}          \x{100000}
45    8   8 Ket          Ket
46   11     End          End
47  ------------------------------------------------------------------  ------------------------------------------------------------------
48  Capturing subpattern count = 0  Capturing subpattern count = 0
49  Options: utf8  Options: utf8
50  First char = 244  First char = 244
51  Need char = 128  Need char = 128
52    
53  /\x{1000000}/8DM  /\x{1000000}/8DZM
54  Memory allocation (code space): 13  Memory allocation (code space): 13
55  ------------------------------------------------------------------  ------------------------------------------------------------------
56    0   9 Bra 0          Bra 0
57    3     \x{1000000}          \x{1000000}
58    9   9 Ket          Ket
59   12     End          End
60  ------------------------------------------------------------------  ------------------------------------------------------------------
61  Capturing subpattern count = 0  Capturing subpattern count = 0
62  Options: utf8  Options: utf8
63  First char = 249  First char = 249
64  Need char = 128  Need char = 128
65    
66  /\x{4000000}/8DM  /\x{4000000}/8DZM
67  Memory allocation (code space): 14  Memory allocation (code space): 14
68  ------------------------------------------------------------------  ------------------------------------------------------------------
69    0  10 Bra 0          Bra 0
70    3     \x{4000000}          \x{4000000}
71   10  10 Ket          Ket
72   13     End          End
73  ------------------------------------------------------------------  ------------------------------------------------------------------
74  Capturing subpattern count = 0  Capturing subpattern count = 0
75  Options: utf8  Options: utf8
76  First char = 252  First char = 252
77  Need char = 128  Need char = 128
78    
79  /\x{7fffFFFF}/8DM  /\x{7fffFFFF}/8DZM
80  Memory allocation (code space): 14  Memory allocation (code space): 14
81  ------------------------------------------------------------------  ------------------------------------------------------------------
82    0  10 Bra 0          Bra 0
83    3     \x{7fffffff}          \x{7fffffff}
84   10  10 Ket          Ket
85   13     End          End
86  ------------------------------------------------------------------  ------------------------------------------------------------------
87  Capturing subpattern count = 0  Capturing subpattern count = 0
88  Options: utf8  Options: utf8
89  First char = 253  First char = 253
90  Need char = 191  Need char = 191
91    
92  /[\x{ff}]/8DM  /[\x{ff}]/8DZM
93  Memory allocation (code space): 10  Memory allocation (code space): 10
94  ------------------------------------------------------------------  ------------------------------------------------------------------
95    0   6 Bra 0          Bra 0
96    3     \x{ff}          \x{ff}
97    6   6 Ket          Ket
98    9     End          End
99  ------------------------------------------------------------------  ------------------------------------------------------------------
100  Capturing subpattern count = 0  Capturing subpattern count = 0
101  Options: utf8  Options: utf8
102  First char = 195  First char = 195
103  Need char = 191  Need char = 191
104    
105  /[\x{100}]/8DM  /[\x{100}]/8DZM
106  Memory allocation (code space): 47  Memory allocation (code space): 15
107  ------------------------------------------------------------------  ------------------------------------------------------------------
108    0  11 Bra 0          Bra 0
109    3     [\x{100}]          [\x{100}]
110   11  11 Ket          Ket
111   14     End          End
112  ------------------------------------------------------------------  ------------------------------------------------------------------
113  Capturing subpattern count = 0  Capturing subpattern count = 0
114  Options: utf8  Options: utf8
# Line 125  Failed: character value in \x{...} seque Line 125  Failed: character value in \x{...} seque
125      \x{100}a\x{1234}bcd      \x{100}a\x{1234}bcd
126   0: \x{100}a\x{1234}   0: \x{100}a\x{1234}
127    
128  /\x80/8D  /\x80/8DZ
129  ------------------------------------------------------------------  ------------------------------------------------------------------
130    0   6 Bra 0          Bra 0
131    3     \x{80}          \x{80}
132    6   6 Ket          Ket
133    9     End          End
134  ------------------------------------------------------------------  ------------------------------------------------------------------
135  Capturing subpattern count = 0  Capturing subpattern count = 0
136  Options: utf8  Options: utf8
137  First char = 194  First char = 194
138  Need char = 128  Need char = 128
139    
140  /\xff/8D  /\xff/8DZ
141  ------------------------------------------------------------------  ------------------------------------------------------------------
142    0   6 Bra 0          Bra 0
143    3     \x{ff}          \x{ff}
144    6   6 Ket          Ket
145    9     End          End
146  ------------------------------------------------------------------  ------------------------------------------------------------------
147  Capturing subpattern count = 0  Capturing subpattern count = 0
148  Options: utf8  Options: utf8
149  First char = 195  First char = 195
150  Need char = 191  Need char = 191
151    
152  /\x{0041}\x{2262}\x{0391}\x{002e}/D8  /\x{0041}\x{2262}\x{0391}\x{002e}/DZ8
153  ------------------------------------------------------------------  ------------------------------------------------------------------
154    0  14 Bra 0          Bra 0
155    3     A\x{2262}\x{391}.          A\x{2262}\x{391}.
156   14  14 Ket          Ket
157   17     End          End
158  ------------------------------------------------------------------  ------------------------------------------------------------------
159  Capturing subpattern count = 0  Capturing subpattern count = 0
160  Options: utf8  Options: utf8
# Line 163  Need char = '.' Line 163  Need char = '.'
163      \x{0041}\x{2262}\x{0391}\x{002e}      \x{0041}\x{2262}\x{0391}\x{002e}
164   0: A\x{2262}\x{391}.   0: A\x{2262}\x{391}.
165    
166  /\x{D55c}\x{ad6d}\x{C5B4}/D8  /\x{D55c}\x{ad6d}\x{C5B4}/DZ8
167  ------------------------------------------------------------------  ------------------------------------------------------------------
168    0  15 Bra 0          Bra 0
169    3     \x{d55c}\x{ad6d}\x{c5b4}          \x{d55c}\x{ad6d}\x{c5b4}
170   15  15 Ket          Ket
171   18     End          End
172  ------------------------------------------------------------------  ------------------------------------------------------------------
173  Capturing subpattern count = 0  Capturing subpattern count = 0
174  Options: utf8  Options: utf8
# Line 177  Need char = 180 Line 177  Need char = 180
177      \x{D55c}\x{ad6d}\x{C5B4}      \x{D55c}\x{ad6d}\x{C5B4}
178   0: \x{d55c}\x{ad6d}\x{c5b4}   0: \x{d55c}\x{ad6d}\x{c5b4}
179    
180  /\x{65e5}\x{672c}\x{8a9e}/D8  /\x{65e5}\x{672c}\x{8a9e}/DZ8
181  ------------------------------------------------------------------  ------------------------------------------------------------------
182    0  15 Bra 0          Bra 0
183    3     \x{65e5}\x{672c}\x{8a9e}          \x{65e5}\x{672c}\x{8a9e}
184   15  15 Ket          Ket
185   18     End          End
186  ------------------------------------------------------------------  ------------------------------------------------------------------
187  Capturing subpattern count = 0  Capturing subpattern count = 0
188  Options: utf8  Options: utf8
# Line 191  Need char = 158 Line 191  Need char = 158
191      \x{65e5}\x{672c}\x{8a9e}      \x{65e5}\x{672c}\x{8a9e}
192   0: \x{65e5}\x{672c}\x{8a9e}   0: \x{65e5}\x{672c}\x{8a9e}
193    
194  /\x{80}/D8  /\x{80}/DZ8
195  ------------------------------------------------------------------  ------------------------------------------------------------------
196    0   6 Bra 0          Bra 0
197    3     \x{80}          \x{80}
198    6   6 Ket          Ket
199    9     End          End
200  ------------------------------------------------------------------  ------------------------------------------------------------------
201  Capturing subpattern count = 0  Capturing subpattern count = 0
202  Options: utf8  Options: utf8
203  First char = 194  First char = 194
204  Need char = 128  Need char = 128
205    
206  /\x{084}/D8  /\x{084}/DZ8
207  ------------------------------------------------------------------  ------------------------------------------------------------------
208    0   6 Bra 0          Bra 0
209    3     \x{84}          \x{84}
210    6   6 Ket          Ket
211    9     End          End
212  ------------------------------------------------------------------  ------------------------------------------------------------------
213  Capturing subpattern count = 0  Capturing subpattern count = 0
214  Options: utf8  Options: utf8
215  First char = 194  First char = 194
216  Need char = 132  Need char = 132
217    
218  /\x{104}/D8  /\x{104}/DZ8
219  ------------------------------------------------------------------  ------------------------------------------------------------------
220    0   6 Bra 0          Bra 0
221    3     \x{104}          \x{104}
222    6   6 Ket          Ket
223    9     End          End
224  ------------------------------------------------------------------  ------------------------------------------------------------------
225  Capturing subpattern count = 0  Capturing subpattern count = 0
226  Options: utf8  Options: utf8
227  First char = 196  First char = 196
228  Need char = 132  Need char = 132
229    
230  /\x{861}/D8  /\x{861}/DZ8
231  ------------------------------------------------------------------  ------------------------------------------------------------------
232    0   7 Bra 0          Bra 0
233    3     \x{861}          \x{861}
234    7   7 Ket          Ket
235   10     End          End
236  ------------------------------------------------------------------  ------------------------------------------------------------------
237  Capturing subpattern count = 0  Capturing subpattern count = 0
238  Options: utf8  Options: utf8
239  First char = 224  First char = 224
240  Need char = 161  Need char = 161
241    
242  /\x{212ab}/D8  /\x{212ab}/DZ8
243  ------------------------------------------------------------------  ------------------------------------------------------------------
244    0   8 Bra 0          Bra 0
245    3     \x{212ab}          \x{212ab}
246    8   8 Ket          Ket
247   11     End          End
248  ------------------------------------------------------------------  ------------------------------------------------------------------
249  Capturing subpattern count = 0  Capturing subpattern count = 0
250  Options: utf8  Options: utf8
251  First char = 240  First char = 240
252  Need char = 171  Need char = 171
253    
254  /.{3,5}X/D8  /.{3,5}X/DZ8
255  ------------------------------------------------------------------  ------------------------------------------------------------------
256    0  13 Bra 0          Bra 0
257    3     Any{3}          Any{3}
258    7     Any{0,2}          Any{0,2}
259   11     X          X
260   13  13 Ket          Ket
261   16     End          End
262  ------------------------------------------------------------------  ------------------------------------------------------------------
263  Capturing subpattern count = 0  Capturing subpattern count = 0
264  Partial matching not supported  Partial matching not supported
# Line 269  Need char = 'X' Line 269  Need char = 'X'
269   0: \x{212ab}\x{212ab}\x{212ab}\x{861}X   0: \x{212ab}\x{212ab}\x{212ab}\x{861}X
270    
271    
272  /.{3,5}?/D8  /.{3,5}?/DZ8
273  ------------------------------------------------------------------  ------------------------------------------------------------------
274    0  11 Bra 0          Bra 0
275    3     Any{3}          Any{3}
276    7     Any{0,2}?          Any{0,2}?
277   11  11 Ket          Ket
278   14     End          End
279  ------------------------------------------------------------------  ------------------------------------------------------------------
280  Capturing subpattern count = 0  Capturing subpattern count = 0
281  Partial matching not supported  Partial matching not supported
# Line 285  No need char Line 285  No need char
285      \x{212ab}\x{212ab}\x{212ab}\x{861}      \x{212ab}\x{212ab}\x{212ab}\x{861}
286   0: \x{212ab}\x{212ab}\x{212ab}   0: \x{212ab}\x{212ab}\x{212ab}
287    
288  /-- These tests are here rather than in testinput4 because Perl 5.6 has --/  /-- These tests are here rather than in testinput4 because Perl 5.6 has some
289  /-- some problems with UTF-8 support, in the area of \x{..} where the   --/  problems with UTF-8 support, in the area of \x{..} where the value is < 255.
290  No match  It grumbles about invalid UTF-8 strings. --/
 /-- value is < 255. It grumbles about invalid UTF-8 strings.            --/  
 No match  
291    
292  /^[a\x{c0}]b/8  /^[a\x{c0}]b/8
293      \x{c0}b      \x{c0}b
# Line 329  No match Line 327  No match
327  /(?<=\C)X/8  /(?<=\C)X/8
328  Failed: \C not allowed in lookbehind assertion at offset 6  Failed: \C not allowed in lookbehind assertion at offset 6
329    
330  /-- This one is here not because it's different to Perl, but because the --/  /-- This one is here not because it's different to Perl, but because the way
331  /-- way the captured single-byte is displayed. (In Perl it becomes a --/  the captured single-byte is displayed. (In Perl it becomes a character, and you
332  No match  can't tell the difference.) --/
 /-- character, and you can't tell the difference.) --/  
 No match  
333    
334  /X(\C)(.*)/8  /X(\C)(.*)/8
335      X\x{1234}      X\x{1234}
# Line 345  No match Line 341  No match
341   1: \x{0a}   1: \x{0a}
342   2: abc   2: abc
343    
344  /^[ab]/8D  /^[ab]/8DZ
345  ------------------------------------------------------------------  ------------------------------------------------------------------
346    0  37 Bra 0          Bra 0
347    3     ^          ^
348    4     [ab]          [ab]
349   37  37 Ket          Ket
350   40     End          End
351  ------------------------------------------------------------------  ------------------------------------------------------------------
352  Capturing subpattern count = 0  Capturing subpattern count = 0
353  Options: anchored utf8  Options: anchored utf8
# Line 368  No match Line 364  No match
364      \x{100}      \x{100}
365  No match  No match
366    
367  /^[^ab]/8D  /^[^ab]/8DZ
368  ------------------------------------------------------------------  ------------------------------------------------------------------
369    0  37 Bra 0          Bra 0
370    3     ^          ^
371    4     [\x00-`c-\xff] (neg)          [\x00-`c-\xff] (neg)
372   37  37 Ket          Ket
373   40     End          End
374  ------------------------------------------------------------------  ------------------------------------------------------------------
375  Capturing subpattern count = 0  Capturing subpattern count = 0
376  Options: anchored utf8  Options: anchored utf8
# Line 391  No need char Line 387  No need char
387      aaa      aaa
388  No match  No match
389    
390  /[^ab\xC0-\xF0]/8SD  /[^ab\xC0-\xF0]/8SDZ
391  ------------------------------------------------------------------  ------------------------------------------------------------------
392    0  36 Bra 0          Bra 0
393    3     [\x00-`c-\xbf\xf1-\xff] (neg)          [\x00-`c-\xbf\xf1-\xff] (neg)
394   36  36 Ket          Ket
395   39     End          End
396  ------------------------------------------------------------------  ------------------------------------------------------------------
397  Capturing subpattern count = 0  Capturing subpattern count = 0
398  Options: utf8  Options: utf8
# Line 427  No match Line 423  No match
423      \x{f0}      \x{f0}
424  No match  No match
425    
426  /Ā{3,4}/8SD  /Ā{3,4}/8SDZ
427  ------------------------------------------------------------------  ------------------------------------------------------------------
428    0  13 Bra 0          Bra 0
429    3     \x{100}{3}          \x{100}{3}
430    8     \x{100}{,1}          \x{100}?
431   13  13 Ket          Ket
432   16     End          End
433  ------------------------------------------------------------------  ------------------------------------------------------------------
434  Capturing subpattern count = 0  Capturing subpattern count = 0
435  Partial matching not supported  Partial matching not supported
# Line 444  Study returned NULL Line 440  Study returned NULL
440    \x{100}\x{100}\x{100}\x{100\x{100}    \x{100}\x{100}\x{100}\x{100\x{100}
441   0: \x{100}\x{100}\x{100}   0: \x{100}\x{100}\x{100}
442    
443  /(\x{100}+|x)/8SD  /(\x{100}+|x)/8SDZ
444  ------------------------------------------------------------------  ------------------------------------------------------------------
445    0  17 Bra 0          Bra 0
446    3   6 Bra 1          Bra 1
447    6     \x{100}+          \x{100}+
448    9   5 Alt          Alt
449   12     x          x
450   14  11 Ket          Ket
451   17  17 Ket          Ket
452   20     End          End
453  ------------------------------------------------------------------  ------------------------------------------------------------------
454  Capturing subpattern count = 1  Capturing subpattern count = 1
455  Partial matching not supported  Partial matching not supported
# Line 462  No first char Line 458  No first char
458  No need char  No need char
459  Starting byte set: x \xc4  Starting byte set: x \xc4
460    
461  /(\x{100}*a|x)/8SD  /(\x{100}*a|x)/8SDZ
462  ------------------------------------------------------------------  ------------------------------------------------------------------
463    0  19 Bra 0          Bra 0
464    3   8 Bra 1          Bra 1
465    6     \x{100}*          \x{100}*+
466    9     a          a
467   11   5 Alt          Alt
468   14     x          x
469   16  13 Ket          Ket
470   19  19 Ket          Ket
471   22     End          End
472  ------------------------------------------------------------------  ------------------------------------------------------------------
473  Capturing subpattern count = 1  Capturing subpattern count = 1
474  Partial matching not supported  Partial matching not supported
# Line 481  No first char Line 477  No first char
477  No need char  No need char
478  Starting byte set: a x \xc4  Starting byte set: a x \xc4
479    
480  /(\x{100}{0,2}a|x)/8SD  /(\x{100}{0,2}a|x)/8SDZ
481  ------------------------------------------------------------------  ------------------------------------------------------------------
482    0  21 Bra 0          Bra 0
483    3  10 Bra 1          Bra 1
484    6     \x{100}{,2}          \x{100}{0,2}
485   11     a          a
486   13   5 Alt          Alt
487   16     x          x
488   18  15 Ket          Ket
489   21  21 Ket          Ket
490   24     End          End
491  ------------------------------------------------------------------  ------------------------------------------------------------------
492  Capturing subpattern count = 1  Capturing subpattern count = 1
493  Partial matching not supported  Partial matching not supported
# Line 500  No first char Line 496  No first char
496  No need char  No need char
497  Starting byte set: a x \xc4  Starting byte set: a x \xc4
498    
499  /(\x{100}{1,2}a|x)/8SD  /(\x{100}{1,2}a|x)/8SDZ
500  ------------------------------------------------------------------  ------------------------------------------------------------------
501    0  24 Bra 0          Bra 0
502    3  13 Bra 1          Bra 1
503    6     \x{100}          \x{100}
504    9     \x{100}{,1}          \x{100}{0,1}
505   14     a          a
506   16   5 Alt          Alt
507   19     x          x
508   21  18 Ket          Ket
509   24  24 Ket          Ket
510   27     End          End
511  ------------------------------------------------------------------  ------------------------------------------------------------------
512  Capturing subpattern count = 1  Capturing subpattern count = 1
513  Partial matching not supported  Partial matching not supported
# Line 544  No match Line 540  No match
540      \x{100}\x{100}abcd      \x{100}\x{100}abcd
541  No match  No match
542    
543  /\x{100}/8D  /\x{100}/8DZ
544  ------------------------------------------------------------------  ------------------------------------------------------------------
545    0   6 Bra 0          Bra 0
546    3     \x{100}          \x{100}
547    6   6 Ket          Ket
548    9     End          End
549  ------------------------------------------------------------------  ------------------------------------------------------------------
550  Capturing subpattern count = 0  Capturing subpattern count = 0
551  Options: utf8  Options: utf8
552  First char = 196  First char = 196
553  Need char = 128  Need char = 128
554    
555  /\x{100}*/8D  /\x{100}*/8DZ
556  ------------------------------------------------------------------  ------------------------------------------------------------------
557    0   6 Bra 0          Bra 0
558    3     \x{100}*          \x{100}*
559    6   6 Ket          Ket
560    9     End          End
561  ------------------------------------------------------------------  ------------------------------------------------------------------
562  Capturing subpattern count = 0  Capturing subpattern count = 0
563  Partial matching not supported  Partial matching not supported
# Line 569  Options: utf8 Line 565  Options: utf8
565  No first char  No first char
566  No need char  No need char
567    
568  /a\x{100}*/8D  /a\x{100}*/8DZ
569  ------------------------------------------------------------------  ------------------------------------------------------------------
570    0   8 Bra 0          Bra 0
571    3     a          a
572    5     \x{100}*          \x{100}*
573    8   8 Ket          Ket
574   11     End          End
575  ------------------------------------------------------------------  ------------------------------------------------------------------
576  Capturing subpattern count = 0  Capturing subpattern count = 0
577  Partial matching not supported  Partial matching not supported
# Line 583  Options: utf8 Line 579  Options: utf8
579  First char = 'a'  First char = 'a'
580  No need char  No need char
581    
582  /ab\x{100}*/8D  /ab\x{100}*/8DZ
583  ------------------------------------------------------------------  ------------------------------------------------------------------
584    0  10 Bra 0          Bra 0
585    3     ab          ab
586    7     \x{100}*          \x{100}*
587   10  10 Ket          Ket
588   13     End          End
589  ------------------------------------------------------------------  ------------------------------------------------------------------
590  Capturing subpattern count = 0  Capturing subpattern count = 0
591  Partial matching not supported  Partial matching not supported
# Line 597  Options: utf8 Line 593  Options: utf8
593  First char = 'a'  First char = 'a'
594  Need char = 'b'  Need char = 'b'
595    
596  /a\x{100}\x{101}*/8D  /a\x{100}\x{101}*/8DZ
597  ------------------------------------------------------------------  ------------------------------------------------------------------
598    0  11 Bra 0          Bra 0
599    3     a\x{100}          a\x{100}
600    8     \x{101}*          \x{101}*
601   11  11 Ket          Ket
602   14     End          End
603  ------------------------------------------------------------------  ------------------------------------------------------------------
604  Capturing subpattern count = 0  Capturing subpattern count = 0
605  Partial matching not supported  Partial matching not supported
# Line 611  Options: utf8 Line 607  Options: utf8
607  First char = 'a'  First char = 'a'
608  Need char = 128  Need char = 128
609    
610  /a\x{100}\x{101}+/8D  /a\x{100}\x{101}+/8DZ
611  ------------------------------------------------------------------  ------------------------------------------------------------------
612    0  11 Bra 0          Bra 0
613    3     a\x{100}          a\x{100}
614    8     \x{101}+          \x{101}+
615   11  11 Ket          Ket
616   14     End          End
617  ------------------------------------------------------------------  ------------------------------------------------------------------
618  Capturing subpattern count = 0  Capturing subpattern count = 0
619  Partial matching not supported  Partial matching not supported
# Line 625  Options: utf8 Line 621  Options: utf8
621  First char = 'a'  First char = 'a'
622  Need char = 129  Need char = 129
623    
624  /\x{100}*A/8D  /\x{100}*A/8DZ
625  ------------------------------------------------------------------  ------------------------------------------------------------------
626    0   8 Bra 0          Bra 0
627    3     \x{100}*          \x{100}*+
628    6     A          A
629    8   8 Ket          Ket
630   11     End          End
631  ------------------------------------------------------------------  ------------------------------------------------------------------
632  Capturing subpattern count = 0  Capturing subpattern count = 0
633  Partial matching not supported  Partial matching not supported
# Line 641  Need char = 'A' Line 637  Need char = 'A'
637      A      A
638   0: A   0: A
639    
640  /\x{100}*\d(?R)/8D  /\x{100}*\d(?R)/8DZ
641  ------------------------------------------------------------------  ------------------------------------------------------------------
642    0  16 Bra 0          Bra 0
643    3     \x{100}*          \x{100}*+
644    6     \d          \d
645    7   6 Once          Once
646   10   0 Recurse          Recurse
647   13   6 Ket          Ket
648   16  16 Ket          Ket
649   19     End          End
650  ------------------------------------------------------------------  ------------------------------------------------------------------
651  Capturing subpattern count = 0  Capturing subpattern count = 0
652  Partial matching not supported  Partial matching not supported
# Line 658  Options: utf8 Line 654  Options: utf8
654  No first char  No first char
655  No need char  No need char
656    
657  /[^\x{c4}]/D  /[^\x{c4}]/DZ
658  ------------------------------------------------------------------  ------------------------------------------------------------------
659    0   5 Bra 0          Bra 0
660    3     [^\xc4]          [^\xc4]
661    5   5 Ket          Ket
662    8     End          End
663  ------------------------------------------------------------------  ------------------------------------------------------------------
664  Capturing subpattern count = 0  Capturing subpattern count = 0
665  No options  No options
666  No first char  No first char
667  No need char  No need char
668    
669  /[^\x{c4}]/8D  /[^\x{c4}]/8DZ
670  ------------------------------------------------------------------  ------------------------------------------------------------------
671    0  36 Bra 0          Bra 0
672    3     [\x00-\xc3\xc5-\xff] (neg)          [\x00-\xc3\xc5-\xff] (neg)
673   36  36 Ket          Ket
674   39     End          End
675  ------------------------------------------------------------------  ------------------------------------------------------------------
676  Capturing subpattern count = 0  Capturing subpattern count = 0
677  Options: utf8  Options: utf8
678  No first char  No first char
679  No need char  No need char
680    
681  /[\x{100}]/8DM  /[\x{100}]/8DZM
682  Memory allocation (code space): 47  Memory allocation (code space): 15
683  ------------------------------------------------------------------  ------------------------------------------------------------------
684    0  11 Bra 0          Bra 0
685    3     [\x{100}]          [\x{100}]
686   11  11 Ket          Ket
687   14     End          End
688  ------------------------------------------------------------------  ------------------------------------------------------------------
689  Capturing subpattern count = 0  Capturing subpattern count = 0
690  Options: utf8  Options: utf8
# Line 703  No need char Line 699  No need char
699      *** Failers      *** Failers
700  No match  No match
701    
702  /[Z\x{100}]/8DM  /[Z\x{100}]/8DZM
703  Memory allocation (code space): 47  Memory allocation (code space): 47
704  ------------------------------------------------------------------  ------------------------------------------------------------------
705    0  43 Bra 0          Bra 0
706    3     [Z\x{100}]          [Z\x{100}]
707   43  43 Ket          Ket
708   46     End          End
709  ------------------------------------------------------------------  ------------------------------------------------------------------
710  Capturing subpattern count = 0  Capturing subpattern count = 0
711  Options: utf8  Options: utf8
# Line 739  No match Line 735  No match
735      \x{ff}      \x{ff}
736  No match  No match
737    
738  /[z-\x{100}]/8D  /[z-\x{100}]/8DZ
739  ------------------------------------------------------------------  ------------------------------------------------------------------
740    0  12 Bra 0          Bra 0
741    3     [z-\x{100}]          [z-\x{100}]
742   12  12 Ket          Ket
743   15     End          End
744  ------------------------------------------------------------------  ------------------------------------------------------------------
745  Capturing subpattern count = 0  Capturing subpattern count = 0
746  Options: utf8  Options: utf8
747  No first char  No first char
748  No need char  No need char
749    
750  /[z\Qa-d]Ā\E]/8D  /[z\Qa-d]Ā\E]/8DZ
751  ------------------------------------------------------------------  ------------------------------------------------------------------
752    0  43 Bra 0          Bra 0
753    3     [\-\]adz\x{100}]          [\-\]adz\x{100}]
754   43  43 Ket          Ket
755   46     End          End
756  ------------------------------------------------------------------  ------------------------------------------------------------------
757  Capturing subpattern count = 0  Capturing subpattern count = 0
758  Options: utf8  Options: utf8
# Line 767  No need char Line 763  No need char
763      Ā      Ā
764   0: \x{100}   0: \x{100}
765    
766  /[\xFF]/D  /[\xFF]/DZ
767  ------------------------------------------------------------------  ------------------------------------------------------------------
768    0   5 Bra 0          Bra 0
769    3     \xff          \xff
770    5   5 Ket          Ket
771    8     End          End
772  ------------------------------------------------------------------  ------------------------------------------------------------------
773  Capturing subpattern count = 0  Capturing subpattern count = 0
774  No options  No options
# Line 781  No need char Line 777  No need char
777      >\xff<      >\xff<
778   0: \xff   0: \xff
779    
780  /[\xff]/D8  /[\xff]/DZ8
781  ------------------------------------------------------------------  ------------------------------------------------------------------
782    0   6 Bra 0          Bra 0
783    3     \x{ff}          \x{ff}
784    6   6 Ket          Ket
785    9     End          End
786  ------------------------------------------------------------------  ------------------------------------------------------------------
787  Capturing subpattern count = 0  Capturing subpattern count = 0
788  Options: utf8  Options: utf8
# Line 795  Need char = 191 Line 791  Need char = 191
791      >\x{ff}<      >\x{ff}<
792   0: \x{ff}   0: \x{ff}
793    
794  /[^\xFF]/D  /[^\xFF]/DZ
795  ------------------------------------------------------------------  ------------------------------------------------------------------
796    0   5 Bra 0          Bra 0
797    3     [^\xff]          [^\xff]
798    5   5 Ket          Ket
799    8     End          End
800  ------------------------------------------------------------------  ------------------------------------------------------------------
801  Capturing subpattern count = 0  Capturing subpattern count = 0
802  No options  No options
803  No first char  No first char
804  No need char  No need char
805    
806  /[^\xff]/8D  /[^\xff]/8DZ
807  ------------------------------------------------------------------  ------------------------------------------------------------------
808    0  36 Bra 0          Bra 0
809    3     [\x00-\xfe] (neg)          [\x00-\xfe] (neg)
810   36  36 Ket          Ket
811   39     End          End
812  ------------------------------------------------------------------  ------------------------------------------------------------------
813  Capturing subpattern count = 0  Capturing subpattern count = 0
814  Options: utf8  Options: utf8
# Line 852  Failed: invalid UTF-8 string at offset 0 Line 848  Failed: invalid UTF-8 string at offset 0
848  /xxx/8  /xxx/8
849  Failed: invalid UTF-8 string at offset 1  Failed: invalid UTF-8 string at offset 1
850    
851  /xxx/8?D  /xxx/8?DZ
852  ------------------------------------------------------------------  ------------------------------------------------------------------
853    0  15 Bra 0          Bra 0
854    3     \X{c0}\X{c0}\X{c0}xxx          \X{c0}\X{c0}\X{c0}xxx
855   15  15 Ket          Ket
856   18     End          End
857  ------------------------------------------------------------------  ------------------------------------------------------------------
858  Capturing subpattern count = 0  Capturing subpattern count = 0
859  Options: utf8 no_utf8_check  Options: utf8 no_utf8_check
# Line 910  No match Line 906  No match
906      \xfd\x83\x80\x80\x80\x80      \xfd\x83\x80\x80\x80\x80
907  No match  No match
908    
909  /\x{100}abc(xyz(?1))/8D  /\x{100}abc(xyz(?1))/8DZ
910  ------------------------------------------------------------------  ------------------------------------------------------------------
911    0  33 Bra 0          Bra 0
912    3     \x{100}abc          \x{100}abc
913   12  18 Bra 1          Bra 1
914   15     xyz          xyz
915   21   6 Once          Once
916   24  12 Recurse          Recurse
917   27   6 Ket          Ket
918   30  18 Ket          Ket
919   33  33 Ket          Ket
920   36     End          End
921  ------------------------------------------------------------------  ------------------------------------------------------------------
922  Capturing subpattern count = 1  Capturing subpattern count = 1
923  Options: utf8  Options: utf8
924  First char = 196  First char = 196
925  Need char = 'z'  Need char = 'z'
926    
927  /[^\x{100}]abc(xyz(?1))/8D  /[^\x{100}]abc(xyz(?1))/8DZ
928  ------------------------------------------------------------------  ------------------------------------------------------------------
929    0  38 Bra 0          Bra 0
930    3     [^\x{100}]          [^\x{100}]
931   11     abc          abc
932   17  18 Bra 1          Bra 1
933   20     xyz          xyz
934   26   6 Once          Once
935   29  17 Recurse          Recurse
936   32   6 Ket          Ket
937   35  18 Ket          Ket
938   38  38 Ket          Ket
939   41     End          End
940  ------------------------------------------------------------------  ------------------------------------------------------------------
941  Capturing subpattern count = 1  Capturing subpattern count = 1
942  Options: utf8  Options: utf8
943  No first char  No first char
944  Need char = 'z'  Need char = 'z'
945    
946  /[ab\x{100}]abc(xyz(?1))/8D  /[ab\x{100}]abc(xyz(?1))/8DZ
947  ------------------------------------------------------------------  ------------------------------------------------------------------
948    0  70 Bra 0          Bra 0
949    3     [ab\x{100}]          [ab\x{100}]
950   43     abc          abc
951   49  18 Bra 1          Bra 1
952   52     xyz          xyz
953   58   6 Once          Once
954   61  49 Recurse          Recurse
955   64   6 Ket          Ket
956   67  18 Ket          Ket
957   70  70 Ket          Ket
958   73     End          End
959  ------------------------------------------------------------------  ------------------------------------------------------------------
960  Capturing subpattern count = 1  Capturing subpattern count = 1
961  Options: utf8  Options: utf8
962  No first char  No first char
963  Need char = 'z'  Need char = 'z'
964    
965  /(\x{100}(b(?2)c))?/D8  /(\x{100}(b(?2)c))?/DZ8
966  ------------------------------------------------------------------  ------------------------------------------------------------------
967    0  32 Bra 0          Bra 0
968    3     Brazero          Brazero
969    4  25 Bra 1          Bra 1
970    7     \x{100}          \x{100}
971   10  16 Bra 2          Bra 2
972   13     b          b
973   15   6 Once          Once
974   18  10 Recurse          Recurse
975   21   6 Ket          Ket
976   24     c          c
977   26  16 Ket          Ket
978   29  25 Ket          Ket
979   32  32 Ket          Ket
980   35     End          End
981  ------------------------------------------------------------------  ------------------------------------------------------------------
982  Capturing subpattern count = 2  Capturing subpattern count = 2
983  Options: utf8  Options: utf8
984  No first char  No first char
985  No need char  No need char
986    
987  /(\x{100}(b(?2)c)){0,2}/D8  /(\x{100}(b(?2)c)){0,2}/DZ8
988  ------------------------------------------------------------------  ------------------------------------------------------------------
989    0  67 Bra 0          Bra 0
990    3     Brazero          Brazero
991    4  60 Bra 0          Bra 0
992    7  25 Bra 1          Bra 1
993   10     \x{100}          \x{100}
994   13  16 Bra 2          Bra 2
995   16     b          b
996   18   6 Once          Once
997   21  13 Recurse          Recurse
998   24   6 Ket          Ket
999   27     c          c
1000   29  16 Ket          Ket
1001   32  25 Ket          Ket
1002   35     Brazero          Brazero
1003   36  25 Bra 1          Bra 1
1004   39     \x{100}          \x{100}
1005   42  16 Bra 2          Bra 2
1006   45     b          b
1007   47   6 Once          Once
1008   50  13 Recurse          Recurse
1009   53   6 Ket          Ket
1010   56     c          c
1011   58  16 Ket          Ket
1012   61  25 Ket          Ket
1013   64  60 Ket          Ket
1014   67  67 Ket          Ket
1015   70     End          End
1016  ------------------------------------------------------------------  ------------------------------------------------------------------
1017  Capturing subpattern count = 2  Capturing subpattern count = 2
1018  Options: utf8  Options: utf8
1019  No first char  No first char
1020  No need char  No need char
1021    
1022  /(\x{100}(b(?1)c))?/D8  /(\x{100}(b(?1)c))?/DZ8
1023  ------------------------------------------------------------------  ------------------------------------------------------------------
1024    0  32 Bra 0          Bra 0
1025    3     Brazero          Brazero
1026    4  25 Bra 1          Bra 1
1027    7     \x{100}          \x{100}
1028   10  16 Bra 2          Bra 2
1029   13     b          b
1030   15   6 Once          Once
1031   18   4 Recurse          Recurse
1032   21   6 Ket          Ket
1033   24     c          c
1034   26  16 Ket          Ket
1035   29  25 Ket          Ket
1036   32  32 Ket          Ket
1037   35     End          End
1038  ------------------------------------------------------------------  ------------------------------------------------------------------
1039  Capturing subpattern count = 2  Capturing subpattern count = 2
1040  Options: utf8  Options: utf8
1041  No first char  No first char
1042  No need char  No need char
1043    
1044  /(\x{100}(b(?1)c)){0,2}/D8  /(\x{100}(b(?1)c)){0,2}/DZ8
1045  ------------------------------------------------------------------  ------------------------------------------------------------------
1046    0  67 Bra 0          Bra 0
1047    3     Brazero          Brazero
1048    4  60 Bra 0          Bra 0
1049    7  25 Bra 1          Bra 1
1050   10     \x{100}          \x{100}
1051   13  16 Bra 2          Bra 2
1052   16     b          b
1053   18   6 Once          Once
1054   21   7 Recurse          Recurse
1055   24   6 Ket          Ket
1056   27     c          c
1057   29  16 Ket          Ket
1058   32  25 Ket          Ket
1059   35     Brazero          Brazero
1060   36  25 Bra 1          Bra 1
1061   39     \x{100}          \x{100}
1062   42  16 Bra 2          Bra 2
1063   45     b          b
1064   47   6 Once          Once
1065   50   7 Recurse          Recurse
1066   53   6 Ket          Ket
1067   56     c          c
1068   58  16 Ket          Ket
1069   61  25 Ket          Ket
1070   64  60 Ket          Ket
1071   67  67 Ket          Ket
1072   70     End          End
1073  ------------------------------------------------------------------  ------------------------------------------------------------------
1074  Capturing subpattern count = 2  Capturing subpattern count = 2
1075  Options: utf8  Options: utf8
# Line 1094  No need char Line 1090  No need char
1090      a\x{1234}b      a\x{1234}b
1091   0: a\x{1234}b   0: a\x{1234}b
1092    
1093  /^\ሴ/8D  /^\ሴ/8DZ
1094  ------------------------------------------------------------------  ------------------------------------------------------------------
1095    0   8 Bra 0          Bra 0
1096    3     ^          ^
1097    4     \x{1234}          \x{1234}
1098    8   8 Ket          Ket
1099   11     End          End
1100  ------------------------------------------------------------------  ------------------------------------------------------------------
1101  Capturing subpattern count = 0  Capturing subpattern count = 0
1102  Options: anchored utf8  Options: anchored utf8
1103  No first char  No first char
1104  No need char  No need char
1105    
1106    /\777/I
1107    Failed: octal value is greater than \377 (not in UTF-8 mode) at offset 3
1108    
1109    /\777/8I
1110    Capturing subpattern count = 0
1111    Options: utf8
1112    First char = 199
1113    Need char = 191
1114      \x{1ff}
1115     0: \x{1ff}
1116      \777
1117     0: \x{1ff}
1118    
1119    /\x{100}*\d/8DZ
1120    ------------------------------------------------------------------
1121            Bra 0
1122            \x{100}*+
1123            \d
1124            Ket
1125            End
1126    ------------------------------------------------------------------
1127    Capturing subpattern count = 0
1128    Partial matching not supported
1129    Options: utf8
1130    No first char
1131    No need char
1132    
1133    /\x{100}*\s/8DZ
1134    ------------------------------------------------------------------
1135            Bra 0
1136            \x{100}*+
1137            \s
1138            Ket
1139            End
1140    ------------------------------------------------------------------
1141    Capturing subpattern count = 0
1142    Partial matching not supported
1143    Options: utf8
1144    No first char
1145    No need char
1146    
1147    /\x{100}*\w/8DZ
1148    ------------------------------------------------------------------
1149            Bra 0
1150            \x{100}*+
1151            \w
1152            Ket
1153            End
1154    ------------------------------------------------------------------
1155    Capturing subpattern count = 0
1156    Partial matching not supported
1157    Options: utf8
1158    No first char
1159    No need char
1160    
1161    /\x{100}*\D/8DZ
1162    ------------------------------------------------------------------
1163            Bra 0
1164            \x{100}*
1165            \D
1166            Ket
1167            End
1168    ------------------------------------------------------------------
1169    Capturing subpattern count = 0
1170    Partial matching not supported
1171    Options: utf8
1172    No first char
1173    No need char
1174    
1175    /\x{100}*\S/8DZ
1176    ------------------------------------------------------------------
1177            Bra 0
1178            \x{100}*
1179            \S
1180            Ket
1181            End
1182    ------------------------------------------------------------------
1183    Capturing subpattern count = 0
1184    Partial matching not supported
1185    Options: utf8
1186    No first char
1187    No need char
1188    
1189    /\x{100}*\W/8DZ
1190    ------------------------------------------------------------------
1191            Bra 0
1192            \x{100}*
1193            \W
1194            Ket
1195            End
1196    ------------------------------------------------------------------
1197    Capturing subpattern count = 0
1198    Partial matching not supported
1199    Options: utf8
1200    No first char
1201    No need char
1202    
1203    /\x{100}+\x{200}/8DZ
1204    ------------------------------------------------------------------
1205            Bra 0
1206            \x{100}++
1207            \x{200}
1208            Ket
1209            End
1210    ------------------------------------------------------------------
1211    Capturing subpattern count = 0
1212    Partial matching not supported
1213    Options: utf8
1214    First char = 196
1215    Need char = 128
1216    
1217    /\x{100}+X/8DZ
1218    ------------------------------------------------------------------
1219            Bra 0
1220            \x{100}++
1221            X
1222            Ket
1223            End
1224    ------------------------------------------------------------------
1225    Capturing subpattern count = 0
1226    Partial matching not supported
1227    Options: utf8
1228    First char = 196
1229    Need char = 'X'
1230    
1231    /X+\x{200}/8DZ
1232    ------------------------------------------------------------------
1233            Bra 0
1234            X++
1235            \x{200}
1236            Ket
1237            End
1238    ------------------------------------------------------------------
1239    Capturing subpattern count = 0
1240    Partial matching not supported
1241    Options: utf8
1242    First char = 'X'
1243    Need char = 128
1244    
1245    /()()()()()()()()()()
1246     ()()()()()()()()()()
1247     ()()()()()()()()()()
1248     ()()()()()()()()()()
1249     A (x) (?41) B/8x
1250        AxxB
1251    Matched, but too many substrings
1252     0: AxxB
1253     1:
1254     2:
1255     3:
1256     4:
1257     5:
1258     6:
1259     7:
1260     8:
1261     9:
1262    10:
1263    11:
1264    12:
1265    13:
1266    14:
1267    
1268    /^[\x{100}\E-\Q\E\x{150}]/B8
1269    ------------------------------------------------------------------
1270      0  14 Bra 0
1271      3     ^
1272      4     [\x{100}-\x{150}]
1273     14  14 Ket
1274     17     End
1275    ------------------------------------------------------------------
1276    
1277    /^[\QĀ\E-\QŐ\E]/B8
1278    ------------------------------------------------------------------
1279      0  14 Bra 0
1280      3     ^
1281      4     [\x{100}-\x{150}]
1282     14  14 Ket
1283     17     End
1284    ------------------------------------------------------------------
1285    
1286    /^[\QĀ\E-\QŐ\E/B8
1287    Failed: missing terminating ] for character class at offset 15
1288    
1289    /^abc./mgx8<any>
1290        abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x{0085}abc7 \x{2028}abc8 \x{2029}abc9 JUNK
1291     0: abc1
1292     0: abc2
1293     0: abc3
1294     0: abc4
1295     0: abc5
1296     0: abc6
1297     0: abc7
1298     0: abc8
1299     0: abc9
1300    
1301    /abc.$/mgx8<any>
1302        abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x{0085} abc7\x{2028} abc8\x{2029} abc9
1303     0: abc1
1304     0: abc2
1305     0: abc3
1306     0: abc4
1307     0: abc5
1308     0: abc6
1309     0: abc7
1310     0: abc8
1311     0: abc9
1312    
1313    /^a\Rb/8
1314        a\nb
1315     0: a\x{0a}b
1316        a\rb
1317     0: a\x{0d}b
1318        a\r\nb
1319     0: a\x{0d}\x{0a}b
1320        a\x0bb
1321     0: a\x{0b}b
1322        a\x0cb
1323     0: a\x{0c}b
1324        a\x{85}b
1325     0: a\x{85}b
1326        a\x{2028}b
1327     0: a\x{2028}b
1328        a\x{2029}b
1329     0: a\x{2029}b
1330        ** Failers
1331    No match
1332        a\n\rb
1333    No match
1334    
1335    /^a\R*b/8
1336        ab
1337     0: ab
1338        a\nb
1339     0: a\x{0a}b
1340        a\rb
1341     0: a\x{0d}b
1342        a\r\nb
1343     0: a\x{0d}\x{0a}b
1344        a\x0bb
1345     0: a\x{0b}b
1346        a\x0c\x{2028}\x{2029}b
1347     0: a\x{0c}\x{2028}\x{2029}b
1348        a\x{85}b
1349     0: a\x{85}b
1350        a\n\rb
1351     0: a\x{0a}\x{0d}b
1352        a\n\r\x{85}\x0cb
1353     0: a\x{0a}\x{0d}\x{85}\x{0c}b
1354    
1355    /^a\R+b/8
1356        a\nb
1357     0: a\x{0a}b
1358        a\rb
1359     0: a\x{0d}b
1360        a\r\nb
1361     0: a\x{0d}\x{0a}b
1362        a\x0bb
1363     0: a\x{0b}b
1364        a\x0c\x{2028}\x{2029}b
1365     0: a\x{0c}\x{2028}\x{2029}b
1366        a\x{85}b
1367     0: a\x{85}b
1368        a\n\rb
1369     0: a\x{0a}\x{0d}b
1370        a\n\r\x{85}\x0cb
1371     0: a\x{0a}\x{0d}\x{85}\x{0c}b
1372        ** Failers
1373    No match
1374        ab
1375    No match
1376    
1377    /^a\R{1,3}b/8
1378        a\nb
1379     0: a\x{0a}b
1380        a\n\rb
1381     0: a\x{0a}\x{0d}b
1382        a\n\r\x{85}b
1383     0: a\x{0a}\x{0d}\x{85}b
1384        a\r\n\r\nb
1385     0: a\x{0d}\x{0a}\x{0d}\x{0a}b
1386        a\r\n\r\n\r\nb
1387     0: a\x{0d}\x{0a}\x{0d}\x{0a}\x{0d}\x{0a}b
1388        a\n\r\n\rb
1389     0: a\x{0a}\x{0d}\x{0a}\x{0d}b
1390        a\n\n\r\nb
1391     0: a\x{0a}\x{0a}\x{0d}\x{0a}b
1392        ** Failers
1393    No match
1394        a\n\n\n\rb
1395    No match
1396        a\r
1397    No match
1398    
1399  / End of testinput5 /  / End of testinput5 /

Legend:
Removed from v.87  
changed lines
  Added in v.161

  ViewVC Help
Powered by ViewVC 1.1.5