/[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 55 by nigel, Sat Feb 24 21:39:46 2007 UTC revision 71 by nigel, Sat Feb 24 21:40:24 2007 UTC
# Line 1  Line 1 
1  PCRE version 3.6 23-Oct-2001  PCRE version 4.4 21-August-2003
2    
3  /-- Because of problems with Perl 5.6 in handling UTF-8 vs non UTF-8 --/  /\x{100}/8DM
4  /-- strings automatically, do not use the \x{} construct except with --/  Memory allocation (code space): 11
5  No match  ------------------------------------------------------------------
6  /-- patterns that have the /8 option set, and don't use them without! --/    0   7 Bra 0
7  No match    3   2 \x{100}
8      7   7 Ket
9     10     End
10    ------------------------------------------------------------------
11    Capturing subpattern count = 0
12    Options: utf8
13    First char = 196
14    Need char = 128
15    
16    /\x{1000}/8DM
17    Memory allocation (code space): 12
18    ------------------------------------------------------------------
19      0   8 Bra 0
20      3   3 \x{1000}
21      8   8 Ket
22     11     End
23    ------------------------------------------------------------------
24    Capturing subpattern count = 0
25    Options: utf8
26    First char = 225
27    Need char = 128
28    
29    /\x{10000}/8DM
30    Memory allocation (code space): 13
31    ------------------------------------------------------------------
32      0   9 Bra 0
33      3   4 \x{10000}
34      9   9 Ket
35     12     End
36    ------------------------------------------------------------------
37    Capturing subpattern count = 0
38    Options: utf8
39    First char = 240
40    Need char = 128
41    
42    /\x{100000}/8DM
43    Memory allocation (code space): 13
44    ------------------------------------------------------------------
45      0   9 Bra 0
46      3   4 \x{100000}
47      9   9 Ket
48     12     End
49    ------------------------------------------------------------------
50    Capturing subpattern count = 0
51    Options: utf8
52    First char = 244
53    Need char = 128
54    
55    /\x{1000000}/8DM
56    Memory allocation (code space): 14
57    ------------------------------------------------------------------
58      0  10 Bra 0
59      3   5 \x{1000000}
60     10  10 Ket
61     13     End
62    ------------------------------------------------------------------
63    Capturing subpattern count = 0
64    Options: utf8
65    First char = 249
66    Need char = 128
67    
68    /\x{4000000}/8DM
69    Memory allocation (code space): 15
70    ------------------------------------------------------------------
71      0  11 Bra 0
72      3   6 \x{4000000}
73     11  11 Ket
74     14     End
75    ------------------------------------------------------------------
76    Capturing subpattern count = 0
77    Options: utf8
78    First char = 252
79    Need char = 128
80    
81    /\x{7fffFFFF}/8DM
82    Memory allocation (code space): 15
83    ------------------------------------------------------------------
84      0  11 Bra 0
85      3   6 \x{7fffffff}
86     11  11 Ket
87     14     End
88    ------------------------------------------------------------------
89    Capturing subpattern count = 0
90    Options: utf8
91    First char = 253
92    Need char = 191
93    
94    /[\x{ff}]/8DM
95    Memory allocation (code space): 40
96    ------------------------------------------------------------------
97      0  36 Bra 0
98      3     [\xff]
99     36  36 Ket
100     39     End
101    ------------------------------------------------------------------
102    Capturing subpattern count = 0
103    Options: utf8
104    No first char
105    No need char
106    
107    /[\x{100}]/8DM
108    Memory allocation (code space): 47
109    ------------------------------------------------------------------
110      0  11 Bra 0
111      3     [\x{100}]
112     11  11 Ket
113     14     End
114    ------------------------------------------------------------------
115    Capturing subpattern count = 0
116    Options: utf8
117    No first char
118    No need char
119    
120    /\x{ffffffff}/8
121    Failed: character value in \x{...} sequence is too large at offset 11
122    
123    /\x{100000000}/8
124    Failed: character value in \x{...} sequence is too large at offset 12
125    
126    /^\x{100}a\x{1234}/8
127        \x{100}a\x{1234}bcd
128     0: \x{100}a\x{1234}
129    
130    /\x80/8D
131    ------------------------------------------------------------------
132      0   7 Bra 0
133      3   2 \x{80}
134      7   7 Ket
135     10     End
136    ------------------------------------------------------------------
137    Capturing subpattern count = 0
138    Options: utf8
139    First char = 194
140    Need char = 128
141    
142    /\xff/8D
143    ------------------------------------------------------------------
144      0   7 Bra 0
145      3   2 \x{ff}
146      7   7 Ket
147     10     End
148    ------------------------------------------------------------------
149    Capturing subpattern count = 0
150    Options: utf8
151    First char = 195
152    Need char = 191
153    
154    /\x{0041}\x{2262}\x{0391}\x{002e}/D8
155    ------------------------------------------------------------------
156      0  12 Bra 0
157      3   7 A\x{2262}\x{391}.
158     12  12 Ket
159     15     End
160    ------------------------------------------------------------------
161    Capturing subpattern count = 0
162    Options: utf8
163    First char = 'A'
164    Need char = '.'
165        \x{0041}\x{2262}\x{0391}\x{002e}
166     0: A\x{2262}\x{391}.
167    
168    /\x{D55c}\x{ad6d}\x{C5B4}/D8
169    ------------------------------------------------------------------
170      0  14 Bra 0
171      3   9 \x{d55c}\x{ad6d}\x{c5b4}
172     14  14 Ket
173     17     End
174    ------------------------------------------------------------------
175    Capturing subpattern count = 0
176    Options: utf8
177    First char = 237
178    Need char = 180
179        \x{D55c}\x{ad6d}\x{C5B4}
180     0: \x{d55c}\x{ad6d}\x{c5b4}
181    
182    /\x{65e5}\x{672c}\x{8a9e}/D8
183    ------------------------------------------------------------------
184      0  14 Bra 0
185      3   9 \x{65e5}\x{672c}\x{8a9e}
186     14  14 Ket
187     17     End
188    ------------------------------------------------------------------
189    Capturing subpattern count = 0
190    Options: utf8
191    First char = 230
192    Need char = 158
193        \x{65e5}\x{672c}\x{8a9e}
194     0: \x{65e5}\x{672c}\x{8a9e}
195    
196    /\x{80}/D8
197    ------------------------------------------------------------------
198      0   7 Bra 0
199      3   2 \x{80}
200      7   7 Ket
201     10     End
202    ------------------------------------------------------------------
203    Capturing subpattern count = 0
204    Options: utf8
205    First char = 194
206    Need char = 128
207    
208    /\x{084}/D8
209    ------------------------------------------------------------------
210      0   7 Bra 0
211      3   2 \x{84}
212      7   7 Ket
213     10     End
214    ------------------------------------------------------------------
215    Capturing subpattern count = 0
216    Options: utf8
217    First char = 194
218    Need char = 132
219    
220    /\x{104}/D8
221    ------------------------------------------------------------------
222      0   7 Bra 0
223      3   2 \x{104}
224      7   7 Ket
225     10     End
226    ------------------------------------------------------------------
227    Capturing subpattern count = 0
228    Options: utf8
229    First char = 196
230    Need char = 132
231    
232    /\x{861}/D8
233    ------------------------------------------------------------------
234      0   8 Bra 0
235      3   3 \x{861}
236      8   8 Ket
237     11     End
238    ------------------------------------------------------------------
239    Capturing subpattern count = 0
240    Options: utf8
241    First char = 224
242    Need char = 161
243    
244    /\x{212ab}/D8
245    ------------------------------------------------------------------
246      0   9 Bra 0
247      3   4 \x{212ab}
248      9   9 Ket
249     12     End
250    ------------------------------------------------------------------
251    Capturing subpattern count = 0
252    Options: utf8
253    First char = 240
254    Need char = 171
255    
256    /.{3,5}X/D8
257    ------------------------------------------------------------------
258      0  14 Bra 0
259      3     Any{3}
260      7     Any{0,2}
261     11   1 X
262     14  14 Ket
263     17     End
264    ------------------------------------------------------------------
265    Capturing subpattern count = 0
266    Options: utf8
267    No first char
268    Need char = 'X'
269        \x{212ab}\x{212ab}\x{212ab}\x{861}X
270     0: \x{212ab}\x{212ab}\x{212ab}\x{861}X
271    
272    
273    /.{3,5}?/D8
274    ------------------------------------------------------------------
275      0  11 Bra 0
276      3     Any{3}
277      7     Any{0,2}?
278     11  11 Ket
279     14     End
280    ------------------------------------------------------------------
281    Capturing subpattern count = 0
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  /a.b/8  /-- This one is here not because it's different to Perl, but because the --/
333      acb  /-- way the captured single-byte is displayed. (In Perl it becomes a --/
  0: acb  
     a\x7fb  
  0: a\x{7f}b  
     a\x{100}b  
  0: a\x{100}b  
     *** Failers  
334  No match  No match
335      a\nb  /-- character, and you can't tell the difference.) --/
336  No match  No match
337    
338  /a(.{3})b/8  /X(\C)(.*)/8
339      a\x{4000}xyb      X\x{1234}
340   0: a\x{4000}xyb   0: X\x{1234}
341   1: \x{4000}xy   1: \xe1
342      a\x{4000}\x7fyb   2: \x88\xb4
343   0: a\x{4000}\x{7f}yb      X\nabc
344   1: \x{4000}\x{7f}y   0: X\x{0a}abc
345      a\x{4000}\x{100}yb   1: \x{0a}
346   0: a\x{4000}\x{100}yb   2: abc
347   1: \x{4000}\x{100}y  
348    /^[ab]/8D
349    ------------------------------------------------------------------
350      0  37 Bra 0
351      3     ^
352      4     [a-b]
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\x{4000}b      c
 No match  
     ac\ncb  
 No match  
   
 /a(.*?)(.)/  
     a\xc0\x88b  
  0: a\xc0  
  1:  
  2: \xc0  
   
 /a(.*?)(.)/8  
     a\x{100}b  
  0: a\x{100}  
  1:  
  2: \x{100}  
   
 /a(.*)(.)/  
     a\xc0\x88b  
  0: a\xc0\x88b  
  1: \xc0\x88  
  2: b  
   
 /a(.*)(.)/8  
     a\x{100}b  
  0: a\x{100}b  
  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  
365  No match  No match
366      a\x{1234}b      \x{ff}
367  No match  No match
368      ac\ncb      \x{100}
369  No match  No match
370    
371  /a(.{3,})b/8  /^[^ab]/8D
372      a\x{1234}xyb  ------------------------------------------------------------------
373   0: a\x{1234}xyb    0  37 Bra 0
374   1: \x{1234}xy    3     ^
375      a\x{1234}\x{4321}yb    4     [\x00-`c-\xff] (neg)
376   0: a\x{1234}\x{4321}yb   37  37 Ket
377   1: \x{1234}\x{4321}y   40     End
378      a\x{1234}\x{4321}\x{3412}b  ------------------------------------------------------------------
379   0: a\x{1234}\x{4321}\x{3412}b  Capturing subpattern count = 0
380   1: \x{1234}\x{4321}\x{3412}  Options: anchored utf8
381      axxxxbcdefghijb  No first char
382   0: axxxxbcdefghijb  No need char
383   1: xxxxbcdefghij      c
384      a\x{1234}\x{4321}\x{3412}\x{3421}b   0: c
385   0: a\x{1234}\x{4321}\x{3412}\x{3421}b      \x{ff}
386   1: \x{1234}\x{4321}\x{3412}\x{3421}   0: \x{ff}
387        \x{100}
388     0: \x{100}
389        *** Failers
390     0: *
391        aaa
392    No match
393    
394    /[^ab\xC0-\xF0]/8SD
395    ------------------------------------------------------------------
396      0  36 Bra 0
397      3     [\x00-`c-\xbf\xf1-\xff] (neg)
398     36  36 Ket
399     39     End
400    ------------------------------------------------------------------
401    Capturing subpattern count = 0
402    Options: utf8
403    No first char
404    No need char
405    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
407      \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
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
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}  Options: utf8
440      axxxxbcdefghijb  First char = 196
441   0: axxxxb  Need char = 128
442   1: xxxx  Study returned NULL
443      a\x{1234}\x{4321}\x{3412}\x{3421}b    \x{100}\x{100}\x{100}\x{100\x{100}
444   0: a\x{1234}\x{4321}\x{3412}\x{3421}b   0: \x{100}\x{100}\x{100}
445   1: \x{1234}\x{4321}\x{3412}\x{3421}  
446      *** Failers  /(\x{100}+|x)/8SD
447    ------------------------------------------------------------------
448      0  18 Bra 0
449      3   6 Bra 1
450      6     \x{100}+
451      9   6 Alt
452     12   1 x
453     15  12 Ket
454     18  18 Ket
455     21     End
456    ------------------------------------------------------------------
457    Capturing subpattern count = 1
458    Options: utf8
459    No first char
460    No need char
461    Starting character set: x \xc4
462    
463    /(\x{100}*a|x)/8SD
464    ------------------------------------------------------------------
465      0  21 Bra 0
466      3   9 Bra 1
467      6     \x{100}*
468      9   1 a
469     12   6 Alt
470     15   1 x
471     18  15 Ket
472     21  21 Ket
473     24     End
474    ------------------------------------------------------------------
475    Capturing subpattern count = 1
476    Options: utf8
477    No first char
478    No need char
479    Starting character set: a x \xc4
480    
481    /(\x{100}{0,2}a|x)/8SD
482    ------------------------------------------------------------------
483      0  23 Bra 0
484      3  11 Bra 1
485      6     \x{100}{,2}
486     11   1 a
487     14   6 Alt
488     17   1 x
489     20  17 Ket
490     23  23 Ket
491     26     End
492    ------------------------------------------------------------------
493    Capturing subpattern count = 1
494    Options: utf8
495    No first char
496    No need char
497    Starting character set: a x \xc4
498    
499    /(\x{100}{1,2}a|x)/8SD
500    ------------------------------------------------------------------
501      0  27 Bra 0
502      3  15 Bra 1
503      6   2 \x{100}
504     10     \x{100}{,1}
505     15   1 a
506     18   6 Alt
507     21   1 x
508     24  21 Ket
509     27  27 Ket
510     30     End
511    ------------------------------------------------------------------
512    Capturing subpattern count = 1
513    Options: utf8
514    No first char
515    No need char
516    Starting character set: x \xc4
517    
518    /\x{100}*(\d+|"(?1)")/8
519        1234
520     0: 1234
521     1: 1234
522        "1234"
523     0: "1234"
524     1: "1234"
525        \x{100}1234
526     0: \x{100}1234
527     1: 1234
528        "\x{100}1234"
529     0: \x{100}1234
530     1: 1234
531        \x{100}\x{100}12ab
532     0: \x{100}\x{100}12
533     1: 12
534        \x{100}\x{100}"12"
535     0: \x{100}\x{100}"12"
536     1: "12"
537        *** Failers
538  No match  No match
539      a\x{1234}b      \x{100}\x{100}abcd
540  No match  No match
541    
542  /a(.{3,5})b/8  /\x{100}/8D
543      a\x{1234}xyb  ------------------------------------------------------------------
544   0: a\x{1234}xyb    0   7 Bra 0
545   1: \x{1234}xy    3   2 \x{100}
546      a\x{1234}\x{4321}yb    7   7 Ket
547   0: a\x{1234}\x{4321}yb   10     End
548   1: \x{1234}\x{4321}y  ------------------------------------------------------------------
549      a\x{1234}\x{4321}\x{3412}b  Capturing subpattern count = 0
550   0: a\x{1234}\x{4321}\x{3412}b  Options: utf8
551   1: \x{1234}\x{4321}\x{3412}  First char = 196
552      axxxxbcdefghijb  Need char = 128
553   0: axxxxb  
554   1: xxxx  /\x{100}*/8D
555      a\x{1234}\x{4321}\x{3412}\x{3421}b  ------------------------------------------------------------------
556   0: a\x{1234}\x{4321}\x{3412}\x{3421}b    0   6 Bra 0
557   1: \x{1234}\x{4321}\x{3412}\x{3421}    3     \x{100}*
558      axbxxbcdefghijb    6   6 Ket
559   0: axbxxb    9     End
560   1: xbxx  ------------------------------------------------------------------
561      axxxxxbcdefghijb  Capturing subpattern count = 0
562   0: axxxxxb  Options: utf8
563   1: xxxxx  No first char
564      *** Failers  No need char
565  No match  
566      a\x{1234}b  /a\x{100}*/8D
567    ------------------------------------------------------------------
568      0   9 Bra 0
569      3   1 a
570      6     \x{100}*
571      9   9 Ket
572     12     End
573    ------------------------------------------------------------------
574    Capturing subpattern count = 0
575    Options: utf8
576    First char = 'a'
577    No need char
578    
579    /ab\x{100}*/8D
580    ------------------------------------------------------------------
581      0  10 Bra 0
582      3   2 ab
583      7     \x{100}*
584     10  10 Ket
585     13     End
586    ------------------------------------------------------------------
587    Capturing subpattern count = 0
588    Options: utf8
589    First char = 'a'
590    Need char = 'b'
591    
592    /a\x{100}\x{101}*/8D
593    ------------------------------------------------------------------
594      0  11 Bra 0
595      3   3 a\x{100}
596      8     \x{101}*
597     11  11 Ket
598     14     End
599    ------------------------------------------------------------------
600    Capturing subpattern count = 0
601    Options: utf8
602    First char = 'a'
603    Need char = 128
604    
605    /a\x{100}\x{101}+/8D
606    ------------------------------------------------------------------
607      0  11 Bra 0
608      3   3 a\x{100}
609      8     \x{101}+
610     11  11 Ket
611     14     End
612    ------------------------------------------------------------------
613    Capturing subpattern count = 0
614    Options: utf8
615    First char = 'a'
616    Need char = 129
617    
618    /\x{100}*A/8D
619    ------------------------------------------------------------------
620      0   9 Bra 0
621      3     \x{100}*
622      6   1 A
623      9   9 Ket
624     12     End
625    ------------------------------------------------------------------
626    Capturing subpattern count = 0
627    Options: utf8
628    No first char
629    Need char = 'A'
630        A
631     0: A
632    
633    /\x{100}*\d(?R)/8D
634    ------------------------------------------------------------------
635      0  10 Bra 0
636      3     \x{100}*
637      6     \d
638      7   0 Recurse
639     10  10 Ket
640     13     End
641    ------------------------------------------------------------------
642    Capturing subpattern count = 0
643    Options: utf8
644    No first char
645    No need char
646    
647    /[^\x{c4}]/D
648    ------------------------------------------------------------------
649      0  36 Bra 0
650      3     [\x01-35-bd-z|~-\xff] (neg)
651     36  36 Ket
652     39     End
653    ------------------------------------------------------------------
654    Capturing subpattern count = 0
655    No options
656    No first char
657    No need char
658    
659    /[^\x{c4}]/8D
660    ------------------------------------------------------------------
661      0  36 Bra 0
662      3     [\x00-\xc3\xc5-\xff] (neg)
663     36  36 Ket
664     39     End
665    ------------------------------------------------------------------
666    Capturing subpattern count = 0
667    Options: utf8
668    No first char
669    No need char
670    
671    /[\x{100}]/8DM
672    Memory allocation (code space): 47
673    ------------------------------------------------------------------
674      0  11 Bra 0
675      3     [\x{100}]
676     11  11 Ket
677     14     End
678    ------------------------------------------------------------------
679    Capturing subpattern count = 0
680    Options: utf8
681    No first char
682    No need char
683        \x{100}
684     0: \x{100}
685        Z\x{100}
686     0: \x{100}
687        \x{100}Z
688     0: \x{100}
689        *** Failers
690  No match  No match
691      axxxxxxbcdefghijb  
692    /[Z\x{100}]/8DM
693    Memory allocation (code space): 47
694    ------------------------------------------------------------------
695      0  43 Bra 0
696      3     [Z\x{100}]
697     43  43 Ket
698     46     End
699    ------------------------------------------------------------------
700    Capturing subpattern count = 0
701    Options: utf8
702    No first char
703    No need char
704        Z\x{100}
705     0: Z
706        \x{100}
707     0: \x{100}
708        \x{100}Z
709     0: \x{100}
710        *** Failers
711  No match  No match
712    
713  /a(.{3,5}?)b/8  /[\x{200}-\x{100}]/8
714      a\x{1234}xyb  Failed: range out of order in character class at offset 15
715   0: a\x{1234}xyb  
716   1: \x{1234}xy  /[Ā-Ą]/8
717      a\x{1234}\x{4321}yb      \x{100}
718   0: a\x{1234}\x{4321}yb   0: \x{100}
719   1: \x{1234}\x{4321}y      \x{104}
720      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  
721      *** Failers      *** Failers
722  No match  No match
723      a\x{1234}b      \x{105}
724  No match  No match
725      axxxxxxbcdefghijb      \x{ff}
726  No match  No match
727    
728  /^[a\x{c0}]/8  /[z-\x{100}]/8D
729      *** Failers  ------------------------------------------------------------------
730  No match    0  12 Bra 0
731      3     [z-\x{100}]
732     12  12 Ket
733     15     End
734    ------------------------------------------------------------------
735    Capturing subpattern count = 0
736    Options: utf8
737    No first char
738    No need char
739    
740    /[z-\x{100}]/8Di
741    ------------------------------------------------------------------
742      0  45 Bra 0
743      3     [Zz-\xff\x{100}-\x{100}]
744     45  45 Ket
745     48     End
746    ------------------------------------------------------------------
747    Capturing subpattern count = 0
748    Options: caseless utf8
749    No first char
750    No need char
751    
752    /[z\Qa-d]Ā\E]/8D
753    ------------------------------------------------------------------
754      0  43 Bra 0
755      3     [\-\]adz\x{100}]
756     43  43 Ket
757     46     End
758    ------------------------------------------------------------------
759    Capturing subpattern count = 0
760    Options: utf8
761    No first char
762    No need char
763      \x{100}      \x{100}
764  No match   0: \x{100}
765        Ā
766  /(?<=aXb)cd/8   0: \x{100}
767      aXbcd  
768   0: cd  /[\xFF]/D
769    ------------------------------------------------------------------
770  /(?<=a\x{100}b)cd/8    0   6 Bra 0
771      a\x{100}bcd    3   1 \xff
772   0: cd    6   6 Ket
773      9     End
774  /(?<=a\x{100000}b)cd/8  ------------------------------------------------------------------
775      a\x{100000}bcd  Capturing subpattern count = 0
776   0: cd  No options
777    First char = 255
778  /(?:\x{100}){3}b/8  No need char
779      \x{100}\x{100}\x{100}b      >\xff<
780   0: \x{100}\x{100}\x{100}b   0: \xff
781      *** Failers  
782  No match  /[\xff]/D8
783      \x{100}\x{100}b  ------------------------------------------------------------------
784      0  36 Bra 0
785      3     [\xff]
786     36  36 Ket
787     39     End
788    ------------------------------------------------------------------
789    Capturing subpattern count = 0
790    Options: utf8
791    No first char
792    No need char
793        >\x{ff}<
794     0: \x{ff}
795    
796    /[^\xFF]/D
797    ------------------------------------------------------------------
798      0   5 Bra 0
799      3     [^\xff]
800      5   5 Ket
801      8     End
802    ------------------------------------------------------------------
803    Capturing subpattern count = 0
804    No options
805    No first char
806    No need char
807    
808    /[^\xff]/8D
809    ------------------------------------------------------------------
810      0  36 Bra 0
811      3     [\x00-\xfe] (neg)
812     36  36 Ket
813     39     End
814    ------------------------------------------------------------------
815    Capturing subpattern count = 0
816    Options: utf8
817    No first char
818    No need char
819    
820    /[Ä-Ü]/8
821        Ö # Matches without Study
822     0: \x{d6}
823        \x{d6}
824     0: \x{d6}
825    
826    /[Ä-Ü]/8S
827        Ö <-- Same with Study
828     0: \x{d6}
829        \x{d6}
830     0: \x{d6}
831    
832    /[\x{c4}-\x{dc}]/8
833        Ö # Matches without Study
834     0: \x{d6}
835        \x{d6}
836     0: \x{d6}
837    
838    /[\x{c4}-\x{dc}]/8S
839        Ö <-- Same with Study
840     0: \x{d6}
841        \x{d6}
842     0: \x{d6}
843    
844    /[]/8
845    Failed: invalid UTF-8 string at offset 2
846    
847    //8
848    Failed: invalid UTF-8 string at offset 0
849    
850    /xxx/8
851    Failed: invalid UTF-8 string at offset 1
852    
853    /xxx/8?D
854    ------------------------------------------------------------------
855      0  11 Bra 0
856      3   6 \x{c3}\x{f8}xx
857     11  11 Ket
858     14     End
859    ------------------------------------------------------------------
860    Capturing subpattern count = 0
861    Options: utf8 no_utf8_check
862    First char = 195
863    Need char = 'x'
864    
865    /abc/8
866       ]
867    Error -10
868      
869    Error -10
870      
871    Error -10
872       \?
873  No match  No match
874    
875  / End of testinput5 /  / End of testinput5 /

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

  ViewVC Help
Powered by ViewVC 1.1.5