/[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 57 by nigel, Sat Feb 24 21:39:50 2007 UTC revision 87 by nigel, Sat Feb 24 21:41:21 2007 UTC
# Line 1  Line 1 
1  PCRE version 3.7 29-Oct-2001  /\x{100}/8DM
2    Memory allocation (code space): 10
3    ------------------------------------------------------------------
4      0   6 Bra 0
5      3     \x{100}
6      6   6 Ket
7      9     End
8    ------------------------------------------------------------------
9    Capturing subpattern count = 0
10    Options: utf8
11    First char = 196
12    Need char = 128
13    
14    /\x{1000}/8DM
15    Memory allocation (code space): 11
16    ------------------------------------------------------------------
17      0   7 Bra 0
18      3     \x{1000}
19      7   7 Ket
20     10     End
21    ------------------------------------------------------------------
22    Capturing subpattern count = 0
23    Options: utf8
24    First char = 225
25    Need char = 128
26    
27    /\x{10000}/8DM
28    Memory allocation (code space): 12
29    ------------------------------------------------------------------
30      0   8 Bra 0
31      3     \x{10000}
32      8   8 Ket
33     11     End
34    ------------------------------------------------------------------
35    Capturing subpattern count = 0
36    Options: utf8
37    First char = 240
38    Need char = 128
39    
40    /\x{100000}/8DM
41    Memory allocation (code space): 12
42    ------------------------------------------------------------------
43      0   8 Bra 0
44      3     \x{100000}
45      8   8 Ket
46     11     End
47    ------------------------------------------------------------------
48    Capturing subpattern count = 0
49    Options: utf8
50    First char = 244
51    Need char = 128
52    
53    /\x{1000000}/8DM
54    Memory allocation (code space): 13
55    ------------------------------------------------------------------
56      0   9 Bra 0
57      3     \x{1000000}
58      9   9 Ket
59     12     End
60    ------------------------------------------------------------------
61    Capturing subpattern count = 0
62    Options: utf8
63    First char = 249
64    Need char = 128
65    
66    /\x{4000000}/8DM
67    Memory allocation (code space): 14
68    ------------------------------------------------------------------
69      0  10 Bra 0
70      3     \x{4000000}
71     10  10 Ket
72     13     End
73    ------------------------------------------------------------------
74    Capturing subpattern count = 0
75    Options: utf8
76    First char = 252
77    Need char = 128
78    
79    /\x{7fffFFFF}/8DM
80    Memory allocation (code space): 14
81    ------------------------------------------------------------------
82      0  10 Bra 0
83      3     \x{7fffffff}
84     10  10 Ket
85     13     End
86    ------------------------------------------------------------------
87    Capturing subpattern count = 0
88    Options: utf8
89    First char = 253
90    Need char = 191
91    
92    /[\x{ff}]/8DM
93    Memory allocation (code space): 10
94    ------------------------------------------------------------------
95      0   6 Bra 0
96      3     \x{ff}
97      6   6 Ket
98      9     End
99    ------------------------------------------------------------------
100    Capturing subpattern count = 0
101    Options: utf8
102    First char = 195
103    Need char = 191
104    
105    /[\x{100}]/8DM
106    Memory allocation (code space): 47
107    ------------------------------------------------------------------
108      0  11 Bra 0
109      3     [\x{100}]
110     11  11 Ket
111     14     End
112    ------------------------------------------------------------------
113    Capturing subpattern count = 0
114    Options: utf8
115    No first char
116    No need char
117    
118    /\x{ffffffff}/8
119    Failed: character value in \x{...} sequence is too large at offset 11
120    
121    /\x{100000000}/8
122    Failed: character value in \x{...} sequence is too large at offset 12
123    
124    /^\x{100}a\x{1234}/8
125        \x{100}a\x{1234}bcd
126     0: \x{100}a\x{1234}
127    
128    /\x80/8D
129    ------------------------------------------------------------------
130      0   6 Bra 0
131      3     \x{80}
132      6   6 Ket
133      9     End
134    ------------------------------------------------------------------
135    Capturing subpattern count = 0
136    Options: utf8
137    First char = 194
138    Need char = 128
139    
140    /\xff/8D
141    ------------------------------------------------------------------
142      0   6 Bra 0
143      3     \x{ff}
144      6   6 Ket
145      9     End
146    ------------------------------------------------------------------
147    Capturing subpattern count = 0
148    Options: utf8
149    First char = 195
150    Need char = 191
151    
152    /\x{0041}\x{2262}\x{0391}\x{002e}/D8
153    ------------------------------------------------------------------
154      0  14 Bra 0
155      3     A\x{2262}\x{391}.
156     14  14 Ket
157     17     End
158    ------------------------------------------------------------------
159    Capturing subpattern count = 0
160    Options: utf8
161    First char = 'A'
162    Need char = '.'
163        \x{0041}\x{2262}\x{0391}\x{002e}
164     0: A\x{2262}\x{391}.
165    
166    /\x{D55c}\x{ad6d}\x{C5B4}/D8
167    ------------------------------------------------------------------
168      0  15 Bra 0
169      3     \x{d55c}\x{ad6d}\x{c5b4}
170     15  15 Ket
171     18     End
172    ------------------------------------------------------------------
173    Capturing subpattern count = 0
174    Options: utf8
175    First char = 237
176    Need char = 180
177        \x{D55c}\x{ad6d}\x{C5B4}
178     0: \x{d55c}\x{ad6d}\x{c5b4}
179    
180    /\x{65e5}\x{672c}\x{8a9e}/D8
181    ------------------------------------------------------------------
182      0  15 Bra 0
183      3     \x{65e5}\x{672c}\x{8a9e}
184     15  15 Ket
185     18     End
186    ------------------------------------------------------------------
187    Capturing subpattern count = 0
188    Options: utf8
189    First char = 230
190    Need char = 158
191        \x{65e5}\x{672c}\x{8a9e}
192     0: \x{65e5}\x{672c}\x{8a9e}
193    
194    /\x{80}/D8
195    ------------------------------------------------------------------
196      0   6 Bra 0
197      3     \x{80}
198      6   6 Ket
199      9     End
200    ------------------------------------------------------------------
201    Capturing subpattern count = 0
202    Options: utf8
203    First char = 194
204    Need char = 128
205    
206    /\x{084}/D8
207    ------------------------------------------------------------------
208      0   6 Bra 0
209      3     \x{84}
210      6   6 Ket
211      9     End
212    ------------------------------------------------------------------
213    Capturing subpattern count = 0
214    Options: utf8
215    First char = 194
216    Need char = 132
217    
218    /\x{104}/D8
219    ------------------------------------------------------------------
220      0   6 Bra 0
221      3     \x{104}
222      6   6 Ket
223      9     End
224    ------------------------------------------------------------------
225    Capturing subpattern count = 0
226    Options: utf8
227    First char = 196
228    Need char = 132
229    
230    /\x{861}/D8
231    ------------------------------------------------------------------
232      0   7 Bra 0
233      3     \x{861}
234      7   7 Ket
235     10     End
236    ------------------------------------------------------------------
237    Capturing subpattern count = 0
238    Options: utf8
239    First char = 224
240    Need char = 161
241    
242    /\x{212ab}/D8
243    ------------------------------------------------------------------
244      0   8 Bra 0
245      3     \x{212ab}
246      8   8 Ket
247     11     End
248    ------------------------------------------------------------------
249    Capturing subpattern count = 0
250    Options: utf8
251    First char = 240
252    Need char = 171
253    
254    /.{3,5}X/D8
255    ------------------------------------------------------------------
256      0  13 Bra 0
257      3     Any{3}
258      7     Any{0,2}
259     11     X
260     13  13 Ket
261     16     End
262    ------------------------------------------------------------------
263    Capturing subpattern count = 0
264    Partial matching not supported
265    Options: utf8
266    No first char
267    Need char = 'X'
268        \x{212ab}\x{212ab}\x{212ab}\x{861}X
269     0: \x{212ab}\x{212ab}\x{212ab}\x{861}X
270    
271    
272    /.{3,5}?/D8
273    ------------------------------------------------------------------
274      0  11 Bra 0
275      3     Any{3}
276      7     Any{0,2}?
277     11  11 Ket
278     14     End
279    ------------------------------------------------------------------
280    Capturing subpattern count = 0
281    Partial matching not supported
282    Options: utf8
283    No first char
284    No need char
285        \x{212ab}\x{212ab}\x{212ab}\x{861}
286     0: \x{212ab}\x{212ab}\x{212ab}
287    
288    /-- These tests are here rather than in testinput4 because Perl 5.6 has --/
289    /-- some problems with UTF-8 support, in the area of \x{..} where the   --/
290    No match
291    /-- value is < 255. It grumbles about invalid UTF-8 strings.            --/
292    No match
293    
294    /^[a\x{c0}]b/8
295        \x{c0}b
296     0: \x{c0}b
297    
298    /^([a\x{c0}]*?)aa/8
299        a\x{c0}aaaa/
300     0: a\x{c0}aa
301     1: a\x{c0}
302    
303    /^([a\x{c0}]*?)aa/8
304        a\x{c0}aaaa/
305     0: a\x{c0}aa
306     1: a\x{c0}
307        a\x{c0}a\x{c0}aaa/
308     0: a\x{c0}a\x{c0}aa
309     1: a\x{c0}a\x{c0}
310    
311    /^([a\x{c0}]*)aa/8
312        a\x{c0}aaaa/
313     0: a\x{c0}aaaa
314     1: a\x{c0}aa
315        a\x{c0}a\x{c0}aaa/
316     0: a\x{c0}a\x{c0}aaa
317     1: a\x{c0}a\x{c0}a
318    
319    /^([a\x{c0}]*)a\x{c0}/8
320        a\x{c0}aaaa/
321     0: a\x{c0}
322     1:
323        a\x{c0}a\x{c0}aaa/
324     0: a\x{c0}a\x{c0}
325     1: a\x{c0}
326    
327    /-- --/
328    
329    /(?<=\C)X/8
330    Failed: \C not allowed in lookbehind assertion at offset 6
331    
332  /-- Because of problems with Perl 5.6 in handling UTF-8 vs non UTF-8 --/  /-- This one is here not because it's different to Perl, but because the --/
333  /-- strings automatically, do not use the \x{} construct except with --/  /-- way the captured single-byte is displayed. (In Perl it becomes a --/
334  No match  No match
335  /-- patterns that have the /8 option set, and don't use them without! --/  /-- character, and you can't tell the difference.) --/
336  No match  No match
337    
338  /a.b/8  /X(\C)(.*)/8
339      acb      X\x{1234}
340   0: acb   0: X\x{1234}
341      a\x7fb   1: \xe1
342   0: a\x{7f}b   2: \x88\xb4
343      a\x{100}b      X\nabc
344   0: a\x{100}b   0: X\x{0a}abc
345     1: \x{0a}
346     2: abc
347    
348    /^[ab]/8D
349    ------------------------------------------------------------------
350      0  37 Bra 0
351      3     ^
352      4     [ab]
353     37  37 Ket
354     40     End
355    ------------------------------------------------------------------
356    Capturing subpattern count = 0
357    Options: anchored utf8
358    No first char
359    No need char
360        bar
361     0: b
362      *** Failers      *** Failers
363  No match  No match
364      a\nb      c
 No match  
   
 /a(.{3})b/8  
     a\x{4000}xyb  
  0: a\x{4000}xyb  
  1: \x{4000}xy  
     a\x{4000}\x7fyb  
  0: a\x{4000}\x{7f}yb  
  1: \x{4000}\x{7f}y  
     a\x{4000}\x{100}yb  
  0: a\x{4000}\x{100}yb  
  1: \x{4000}\x{100}y  
     *** Failers  
365  No match  No match
366      a\x{4000}b      \x{ff}
367  No match  No match
368      ac\ncb      \x{100}
369  No match  No match
370    
371  /a(.*?)(.)/  /^[^ab]/8D
372      a\xc0\x88b  ------------------------------------------------------------------
373   0: a\xc0    0  37 Bra 0
374   1:    3     ^
375   2: \xc0    4     [\x00-`c-\xff] (neg)
376     37  37 Ket
377  /a(.*?)(.)/8   40     End
378      a\x{100}b  ------------------------------------------------------------------
379   0: a\x{100}  Capturing subpattern count = 0
380   1:  Options: anchored utf8
381   2: \x{100}  No first char
382    No need char
383  /a(.*)(.)/      c
384      a\xc0\x88b   0: c
385   0: a\xc0\x88b      \x{ff}
386   1: \xc0\x88   0: \x{ff}
387   2: b      \x{100}
388     0: \x{100}
389  /a(.*)(.)/8      *** Failers
390      a\x{100}b   0: *
391   0: a\x{100}b      aaa
  1: \x{100}  
  2: b  
   
 /a(.)(.)/  
     a\xc0\x92bcd  
  0: a\xc0\x92  
  1: \xc0  
  2: \x92  
   
 /a(.)(.)/8  
     a\x{240}bcd  
  0: a\x{240}b  
  1: \x{240}  
  2: b  
   
 /a(.?)(.)/  
     a\xc0\x92bcd  
  0: a\xc0\x92  
  1: \xc0  
  2: \x92  
   
 /a(.?)(.)/8  
     a\x{240}bcd  
  0: a\x{240}b  
  1: \x{240}  
  2: b  
   
 /a(.??)(.)/  
     a\xc0\x92bcd  
  0: a\xc0  
  1:  
  2: \xc0  
   
 /a(.??)(.)/8  
     a\x{240}bcd  
  0: a\x{240}  
  1:  
  2: \x{240}  
   
 /a(.{3})b/8  
     a\x{1234}xyb  
  0: a\x{1234}xyb  
  1: \x{1234}xy  
     a\x{1234}\x{4321}yb  
  0: a\x{1234}\x{4321}yb  
  1: \x{1234}\x{4321}y  
     a\x{1234}\x{4321}\x{3412}b  
  0: a\x{1234}\x{4321}\x{3412}b  
  1: \x{1234}\x{4321}\x{3412}  
     *** Failers  
 No match  
     a\x{1234}b  
 No match  
     ac\ncb  
392  No match  No match
393    
394  /a(.{3,})b/8  /[^ab\xC0-\xF0]/8SD
395      a\x{1234}xyb  ------------------------------------------------------------------
396   0: a\x{1234}xyb    0  36 Bra 0
397   1: \x{1234}xy    3     [\x00-`c-\xbf\xf1-\xff] (neg)
398      a\x{1234}\x{4321}yb   36  36 Ket
399   0: a\x{1234}\x{4321}yb   39     End
400   1: \x{1234}\x{4321}y  ------------------------------------------------------------------
401      a\x{1234}\x{4321}\x{3412}b  Capturing subpattern count = 0
402   0: a\x{1234}\x{4321}\x{3412}b  Options: utf8
403   1: \x{1234}\x{4321}\x{3412}  No first char
404      axxxxbcdefghijb  No need char
405   0: axxxxbcdefghijb  Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
406   1: xxxxbcdefghij    \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19
407      a\x{1234}\x{4321}\x{3412}\x{3421}b    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4
408   0: a\x{1234}\x{4321}\x{3412}\x{3421}b    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   1: \x{1234}\x{4321}\x{3412}\x{3421}    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      \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0
411      \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf
412      \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee
413      \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd
414      \xfe \xff
415        \x{f1}
416     0: \x{f1}
417        \x{bf}
418     0: \x{bf}
419        \x{100}
420     0: \x{100}
421        \x{1000}
422     0: \x{1000}
423      *** Failers      *** Failers
424     0: *
425        \x{c0}
426  No match  No match
427      a\x{1234}b      \x{f0}
428  No match  No match
429    
430  /a(.{3,}?)b/8  /Ā{3,4}/8SD
431      a\x{1234}xyb  ------------------------------------------------------------------
432   0: a\x{1234}xyb    0  13 Bra 0
433   1: \x{1234}xy    3     \x{100}{3}
434      a\x{1234}\x{4321}yb    8     \x{100}{,1}
435   0: a\x{1234}\x{4321}yb   13  13 Ket
436   1: \x{1234}\x{4321}y   16     End
437      a\x{1234}\x{4321}\x{3412}b  ------------------------------------------------------------------
438   0: a\x{1234}\x{4321}\x{3412}b  Capturing subpattern count = 0
439   1: \x{1234}\x{4321}\x{3412}  Partial matching not supported
440      axxxxbcdefghijb  Options: utf8
441   0: axxxxb  First char = 196
442   1: xxxx  Need char = 128
443      a\x{1234}\x{4321}\x{3412}\x{3421}b  Study returned NULL
444   0: a\x{1234}\x{4321}\x{3412}\x{3421}b    \x{100}\x{100}\x{100}\x{100\x{100}
445   1: \x{1234}\x{4321}\x{3412}\x{3421}   0: \x{100}\x{100}\x{100}
446      *** Failers  
447    /(\x{100}+|x)/8SD
448    ------------------------------------------------------------------
449      0  17 Bra 0
450      3   6 Bra 1
451      6     \x{100}+
452      9   5 Alt
453     12     x
454     14  11 Ket
455     17  17 Ket
456     20     End
457    ------------------------------------------------------------------
458    Capturing subpattern count = 1
459    Partial matching not supported
460    Options: utf8
461    No first char
462    No need char
463    Starting byte set: x \xc4
464    
465    /(\x{100}*a|x)/8SD
466    ------------------------------------------------------------------
467      0  19 Bra 0
468      3   8 Bra 1
469      6     \x{100}*
470      9     a
471     11   5 Alt
472     14     x
473     16  13 Ket
474     19  19 Ket
475     22     End
476    ------------------------------------------------------------------
477    Capturing subpattern count = 1
478    Partial matching not supported
479    Options: utf8
480    No first char
481    No need char
482    Starting byte set: a x \xc4
483    
484    /(\x{100}{0,2}a|x)/8SD
485    ------------------------------------------------------------------
486      0  21 Bra 0
487      3  10 Bra 1
488      6     \x{100}{,2}
489     11     a
490     13   5 Alt
491     16     x
492     18  15 Ket
493     21  21 Ket
494     24     End
495    ------------------------------------------------------------------
496    Capturing subpattern count = 1
497    Partial matching not supported
498    Options: utf8
499    No first char
500    No need char
501    Starting byte set: a x \xc4
502    
503    /(\x{100}{1,2}a|x)/8SD
504    ------------------------------------------------------------------
505      0  24 Bra 0
506      3  13 Bra 1
507      6     \x{100}
508      9     \x{100}{,1}
509     14     a
510     16   5 Alt
511     19     x
512     21  18 Ket
513     24  24 Ket
514     27     End
515    ------------------------------------------------------------------
516    Capturing subpattern count = 1
517    Partial matching not supported
518    Options: utf8
519    No first char
520    No need char
521    Starting byte set: x \xc4
522    
523    /\x{100}*(\d+|"(?1)")/8
524        1234
525     0: 1234
526     1: 1234
527        "1234"
528     0: "1234"
529     1: "1234"
530        \x{100}1234
531     0: \x{100}1234
532     1: 1234
533        "\x{100}1234"
534     0: \x{100}1234
535     1: 1234
536        \x{100}\x{100}12ab
537     0: \x{100}\x{100}12
538     1: 12
539        \x{100}\x{100}"12"
540     0: \x{100}\x{100}"12"
541     1: "12"
542        *** Failers
543  No match  No match
544      a\x{1234}b      \x{100}\x{100}abcd
545  No match  No match
546    
547  /a(.{3,5})b/8  /\x{100}/8D
548      a\x{1234}xyb  ------------------------------------------------------------------
549   0: a\x{1234}xyb    0   6 Bra 0
550   1: \x{1234}xy    3     \x{100}
551      a\x{1234}\x{4321}yb    6   6 Ket
552   0: a\x{1234}\x{4321}yb    9     End
553   1: \x{1234}\x{4321}y  ------------------------------------------------------------------
554      a\x{1234}\x{4321}\x{3412}b  Capturing subpattern count = 0
555   0: a\x{1234}\x{4321}\x{3412}b  Options: utf8
556   1: \x{1234}\x{4321}\x{3412}  First char = 196
557      axxxxbcdefghijb  Need char = 128
558   0: axxxxb  
559   1: xxxx  /\x{100}*/8D
560      a\x{1234}\x{4321}\x{3412}\x{3421}b  ------------------------------------------------------------------
561   0: a\x{1234}\x{4321}\x{3412}\x{3421}b    0   6 Bra 0
562   1: \x{1234}\x{4321}\x{3412}\x{3421}    3     \x{100}*
563      axbxxbcdefghijb    6   6 Ket
564   0: axbxxb    9     End
565   1: xbxx  ------------------------------------------------------------------
566      axxxxxbcdefghijb  Capturing subpattern count = 0
567   0: axxxxxb  Partial matching not supported
568   1: xxxxx  Options: utf8
569      *** Failers  No first char
570  No match  No need char
571      a\x{1234}b  
572    /a\x{100}*/8D
573    ------------------------------------------------------------------
574      0   8 Bra 0
575      3     a
576      5     \x{100}*
577      8   8 Ket
578     11     End
579    ------------------------------------------------------------------
580    Capturing subpattern count = 0
581    Partial matching not supported
582    Options: utf8
583    First char = 'a'
584    No need char
585    
586    /ab\x{100}*/8D
587    ------------------------------------------------------------------
588      0  10 Bra 0
589      3     ab
590      7     \x{100}*
591     10  10 Ket
592     13     End
593    ------------------------------------------------------------------
594    Capturing subpattern count = 0
595    Partial matching not supported
596    Options: utf8
597    First char = 'a'
598    Need char = 'b'
599    
600    /a\x{100}\x{101}*/8D
601    ------------------------------------------------------------------
602      0  11 Bra 0
603      3     a\x{100}
604      8     \x{101}*
605     11  11 Ket
606     14     End
607    ------------------------------------------------------------------
608    Capturing subpattern count = 0
609    Partial matching not supported
610    Options: utf8
611    First char = 'a'
612    Need char = 128
613    
614    /a\x{100}\x{101}+/8D
615    ------------------------------------------------------------------
616      0  11 Bra 0
617      3     a\x{100}
618      8     \x{101}+
619     11  11 Ket
620     14     End
621    ------------------------------------------------------------------
622    Capturing subpattern count = 0
623    Partial matching not supported
624    Options: utf8
625    First char = 'a'
626    Need char = 129
627    
628    /\x{100}*A/8D
629    ------------------------------------------------------------------
630      0   8 Bra 0
631      3     \x{100}*
632      6     A
633      8   8 Ket
634     11     End
635    ------------------------------------------------------------------
636    Capturing subpattern count = 0
637    Partial matching not supported
638    Options: utf8
639    No first char
640    Need char = 'A'
641        A
642     0: A
643    
644    /\x{100}*\d(?R)/8D
645    ------------------------------------------------------------------
646      0  16 Bra 0
647      3     \x{100}*
648      6     \d
649      7   6 Once
650     10   0 Recurse
651     13   6 Ket
652     16  16 Ket
653     19     End
654    ------------------------------------------------------------------
655    Capturing subpattern count = 0
656    Partial matching not supported
657    Options: utf8
658    No first char
659    No need char
660    
661    /[^\x{c4}]/D
662    ------------------------------------------------------------------
663      0   5 Bra 0
664      3     [^\xc4]
665      5   5 Ket
666      8     End
667    ------------------------------------------------------------------
668    Capturing subpattern count = 0
669    No options
670    No first char
671    No need char
672    
673    /[^\x{c4}]/8D
674    ------------------------------------------------------------------
675      0  36 Bra 0
676      3     [\x00-\xc3\xc5-\xff] (neg)
677     36  36 Ket
678     39     End
679    ------------------------------------------------------------------
680    Capturing subpattern count = 0
681    Options: utf8
682    No first char
683    No need char
684    
685    /[\x{100}]/8DM
686    Memory allocation (code space): 47
687    ------------------------------------------------------------------
688      0  11 Bra 0
689      3     [\x{100}]
690     11  11 Ket
691     14     End
692    ------------------------------------------------------------------
693    Capturing subpattern count = 0
694    Options: utf8
695    No first char
696    No need char
697        \x{100}
698     0: \x{100}
699        Z\x{100}
700     0: \x{100}
701        \x{100}Z
702     0: \x{100}
703        *** Failers
704  No match  No match
705      axxxxxxbcdefghijb  
706    /[Z\x{100}]/8DM
707    Memory allocation (code space): 47
708    ------------------------------------------------------------------
709      0  43 Bra 0
710      3     [Z\x{100}]
711     43  43 Ket
712     46     End
713    ------------------------------------------------------------------
714    Capturing subpattern count = 0
715    Options: utf8
716    No first char
717    No need char
718        Z\x{100}
719     0: Z
720        \x{100}
721     0: \x{100}
722        \x{100}Z
723     0: \x{100}
724        *** Failers
725  No match  No match
726    
727  /a(.{3,5}?)b/8  /[\x{200}-\x{100}]/8
728      a\x{1234}xyb  Failed: range out of order in character class at offset 15
729   0: a\x{1234}xyb  
730   1: \x{1234}xy  /[Ā-Ą]/8
731      a\x{1234}\x{4321}yb      \x{100}
732   0: a\x{1234}\x{4321}yb   0: \x{100}
733   1: \x{1234}\x{4321}y      \x{104}
734      a\x{1234}\x{4321}\x{3412}b   0: \x{104}
  0: a\x{1234}\x{4321}\x{3412}b  
  1: \x{1234}\x{4321}\x{3412}  
     axxxxbcdefghijb  
  0: axxxxb  
  1: xxxx  
     a\x{1234}\x{4321}\x{3412}\x{3421}b  
  0: a\x{1234}\x{4321}\x{3412}\x{3421}b  
  1: \x{1234}\x{4321}\x{3412}\x{3421}  
     axbxxbcdefghijb  
  0: axbxxb  
  1: xbxx  
     axxxxxbcdefghijb  
  0: axxxxxb  
  1: xxxxx  
735      *** Failers      *** Failers
736  No match  No match
737      a\x{1234}b      \x{105}
738  No match  No match
739      axxxxxxbcdefghijb      \x{ff}
740  No match  No match
741    
742  /^[a\x{c0}]/8  /[z-\x{100}]/8D
743      *** Failers  ------------------------------------------------------------------
744  No match    0  12 Bra 0
745      3     [z-\x{100}]
746     12  12 Ket
747     15     End
748    ------------------------------------------------------------------
749    Capturing subpattern count = 0
750    Options: utf8
751    No first char
752    No need char
753    
754    /[z\Qa-d]Ā\E]/8D
755    ------------------------------------------------------------------
756      0  43 Bra 0
757      3     [\-\]adz\x{100}]
758     43  43 Ket
759     46     End
760    ------------------------------------------------------------------
761    Capturing subpattern count = 0
762    Options: utf8
763    No first char
764    No need char
765      \x{100}      \x{100}
766  No match   0: \x{100}
767        Ā
768  /(?<=aXb)cd/8   0: \x{100}
769      aXbcd  
770   0: cd  /[\xFF]/D
771    ------------------------------------------------------------------
772  /(?<=a\x{100}b)cd/8    0   5 Bra 0
773      a\x{100}bcd    3     \xff
774   0: cd    5   5 Ket
775      8     End
776  /(?<=a\x{100000}b)cd/8  ------------------------------------------------------------------
777      a\x{100000}bcd  Capturing subpattern count = 0
778   0: cd  No options
779    First char = 255
780  /(?:\x{100}){3}b/8  No need char
781      \x{100}\x{100}\x{100}b      >\xff<
782   0: \x{100}\x{100}\x{100}b   0: \xff
783      *** Failers  
784  No match  /[\xff]/D8
785      \x{100}\x{100}b  ------------------------------------------------------------------
786  No match    0   6 Bra 0
787      3     \x{ff}
788      6   6 Ket
789      9     End
790    ------------------------------------------------------------------
791    Capturing subpattern count = 0
792    Options: utf8
793    First char = 195
794    Need char = 191
795        >\x{ff}<
796     0: \x{ff}
797    
798    /[^\xFF]/D
799    ------------------------------------------------------------------
800      0   5 Bra 0
801      3     [^\xff]
802      5   5 Ket
803      8     End
804    ------------------------------------------------------------------
805    Capturing subpattern count = 0
806    No options
807    No first char
808    No need char
809    
810    /[^\xff]/8D
811    ------------------------------------------------------------------
812      0  36 Bra 0
813      3     [\x00-\xfe] (neg)
814     36  36 Ket
815     39     End
816    ------------------------------------------------------------------
817    Capturing subpattern count = 0
818    Options: utf8
819    No first char
820    No need char
821    
822    /[Ä-Ü]/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  33 Bra 0
916      3     \x{100}abc
917     12  18 Bra 1
918     15     xyz
919     21   6 Once
920     24  12 Recurse
921     27   6 Ket
922     30  18 Ket
923     33  33 Ket
924     36     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  38 Bra 0
934      3     [^\x{100}]
935     11     abc
936     17  18 Bra 1
937     20     xyz
938     26   6 Once
939     29  17 Recurse
940     32   6 Ket
941     35  18 Ket
942     38  38 Ket
943     41     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  70 Bra 0
953      3     [ab\x{100}]
954     43     abc
955     49  18 Bra 1
956     52     xyz
957     58   6 Once
958     61  49 Recurse
959     64   6 Ket
960     67  18 Ket
961     70  70 Ket
962     73     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  32 Bra 0
972      3     Brazero
973      4  25 Bra 1
974      7     \x{100}
975     10  16 Bra 2
976     13     b
977     15   6 Once
978     18  10 Recurse
979     21   6 Ket
980     24     c
981     26  16 Ket
982     29  25 Ket
983     32  32 Ket
984     35     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  67 Bra 0
994      3     Brazero
995      4  60 Bra 0
996      7  25 Bra 1
997     10     \x{100}
998     13  16 Bra 2
999     16     b
1000     18   6 Once
1001     21  13 Recurse
1002     24   6 Ket
1003     27     c
1004     29  16 Ket
1005     32  25 Ket
1006     35     Brazero
1007     36  25 Bra 1
1008     39     \x{100}
1009     42  16 Bra 2
1010     45     b
1011     47   6 Once
1012     50  13 Recurse
1013     53   6 Ket
1014     56     c
1015     58  16 Ket
1016     61  25 Ket
1017     64  60 Ket
1018     67  67 Ket
1019     70     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  32 Bra 0
1029      3     Brazero
1030      4  25 Bra 1
1031      7     \x{100}
1032     10  16 Bra 2
1033     13     b
1034     15   6 Once
1035     18   4 Recurse
1036     21   6 Ket
1037     24     c
1038     26  16 Ket
1039     29  25 Ket
1040     32  32 Ket
1041     35     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  67 Bra 0
1051      3     Brazero
1052      4  60 Bra 0
1053      7  25 Bra 1
1054     10     \x{100}
1055     13  16 Bra 2
1056     16     b
1057     18   6 Once
1058     21   7 Recurse
1059     24   6 Ket
1060     27     c
1061     29  16 Ket
1062     32  25 Ket
1063     35     Brazero
1064     36  25 Bra 1
1065     39     \x{100}
1066     42  16 Bra 2
1067     45     b
1068     47   6 Once
1069     50   7 Recurse
1070     53   6 Ket
1071     56     c
1072     58  16 Ket
1073     61  25 Ket
1074     64  60 Ket
1075     67  67 Ket
1076     70     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  / End of testinput5 /  / End of testinput5 /
   

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

  ViewVC Help
Powered by ViewVC 1.1.5