/[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 83 by nigel, Sat Feb 24 21:41:06 2007 UTC revision 247 by ph10, Mon Sep 17 09:38:32 2007 UTC
# Line 1  Line 1 
1  PCRE version 6.3 15-Aug-2005  /\x{100}/8DZ
   
 /\x{100}/8DM  
 Memory allocation (code space): 10  
2  ------------------------------------------------------------------  ------------------------------------------------------------------
3    0   6 Bra 0          Bra
4    3     \x{100}          \x{100}
5    6   6 Ket          Ket
6    9     End          End
7  ------------------------------------------------------------------  ------------------------------------------------------------------
8  Capturing subpattern count = 0  Capturing subpattern count = 0
9  Options: utf8  Options: utf8
10  First char = 196  First char = 196
11  Need char = 128  Need char = 128
12    
13  /\x{1000}/8DM  /\x{1000}/8DZ
 Memory allocation (code space): 11  
14  ------------------------------------------------------------------  ------------------------------------------------------------------
15    0   7 Bra 0          Bra
16    3     \x{1000}          \x{1000}
17    7   7 Ket          Ket
18   10     End          End
19  ------------------------------------------------------------------  ------------------------------------------------------------------
20  Capturing subpattern count = 0  Capturing subpattern count = 0
21  Options: utf8  Options: utf8
22  First char = 225  First char = 225
23  Need char = 128  Need char = 128
24    
25  /\x{10000}/8DM  /\x{10000}/8DZ
 Memory allocation (code space): 12  
26  ------------------------------------------------------------------  ------------------------------------------------------------------
27    0   8 Bra 0          Bra
28    3     \x{10000}          \x{10000}
29    8   8 Ket          Ket
30   11     End          End
31  ------------------------------------------------------------------  ------------------------------------------------------------------
32  Capturing subpattern count = 0  Capturing subpattern count = 0
33  Options: utf8  Options: utf8
34  First char = 240  First char = 240
35  Need char = 128  Need char = 128
36    
37  /\x{100000}/8DM  /\x{100000}/8DZ
 Memory allocation (code space): 12  
38  ------------------------------------------------------------------  ------------------------------------------------------------------
39    0   8 Bra 0          Bra
40    3     \x{100000}          \x{100000}
41    8   8 Ket          Ket
42   11     End          End
43  ------------------------------------------------------------------  ------------------------------------------------------------------
44  Capturing subpattern count = 0  Capturing subpattern count = 0
45  Options: utf8  Options: utf8
46  First char = 244  First char = 244
47  Need char = 128  Need char = 128
48    
49  /\x{1000000}/8DM  /\x{1000000}/8DZ
 Memory allocation (code space): 13  
50  ------------------------------------------------------------------  ------------------------------------------------------------------
51    0   9 Bra 0          Bra
52    3     \x{1000000}          \x{1000000}
53    9   9 Ket          Ket
54   12     End          End
55  ------------------------------------------------------------------  ------------------------------------------------------------------
56  Capturing subpattern count = 0  Capturing subpattern count = 0
57  Options: utf8  Options: utf8
58  First char = 249  First char = 249
59  Need char = 128  Need char = 128
60    
61  /\x{4000000}/8DM  /\x{4000000}/8DZ
 Memory allocation (code space): 14  
62  ------------------------------------------------------------------  ------------------------------------------------------------------
63    0  10 Bra 0          Bra
64    3     \x{4000000}          \x{4000000}
65   10  10 Ket          Ket
66   13     End          End
67  ------------------------------------------------------------------  ------------------------------------------------------------------
68  Capturing subpattern count = 0  Capturing subpattern count = 0
69  Options: utf8  Options: utf8
70  First char = 252  First char = 252
71  Need char = 128  Need char = 128
72    
73  /\x{7fffFFFF}/8DM  /\x{7fffFFFF}/8DZ
 Memory allocation (code space): 14  
74  ------------------------------------------------------------------  ------------------------------------------------------------------
75    0  10 Bra 0          Bra
76    3     \x{7fffffff}          \x{7fffffff}
77   10  10 Ket          Ket
78   13     End          End
79  ------------------------------------------------------------------  ------------------------------------------------------------------
80  Capturing subpattern count = 0  Capturing subpattern count = 0
81  Options: utf8  Options: utf8
82  First char = 253  First char = 253
83  Need char = 191  Need char = 191
84    
85  /[\x{ff}]/8DM  /[\x{ff}]/8DZ
 Memory allocation (code space): 10  
86  ------------------------------------------------------------------  ------------------------------------------------------------------
87    0   6 Bra 0          Bra
88    3     \x{ff}          \x{ff}
89    6   6 Ket          Ket
90    9     End          End
91  ------------------------------------------------------------------  ------------------------------------------------------------------
92  Capturing subpattern count = 0  Capturing subpattern count = 0
93  Options: utf8  Options: utf8
94  First char = 195  First char = 195
95  Need char = 191  Need char = 191
96    
97  /[\x{100}]/8DM  /[\x{100}]/8DZ
 Memory allocation (code space): 47  
98  ------------------------------------------------------------------  ------------------------------------------------------------------
99    0  11 Bra 0          Bra
100    3     [\x{100}]          [\x{100}]
101   11  11 Ket          Ket
102   14     End          End
103  ------------------------------------------------------------------  ------------------------------------------------------------------
104  Capturing subpattern count = 0  Capturing subpattern count = 0
105  Options: utf8  Options: utf8
# Line 127  Failed: character value in \x{...} seque Line 116  Failed: character value in \x{...} seque
116      \x{100}a\x{1234}bcd      \x{100}a\x{1234}bcd
117   0: \x{100}a\x{1234}   0: \x{100}a\x{1234}
118    
119  /\x80/8D  /\x80/8DZ
120  ------------------------------------------------------------------  ------------------------------------------------------------------
121    0   6 Bra 0          Bra
122    3     \x{80}          \x{80}
123    6   6 Ket          Ket
124    9     End          End
125  ------------------------------------------------------------------  ------------------------------------------------------------------
126  Capturing subpattern count = 0  Capturing subpattern count = 0
127  Options: utf8  Options: utf8
128  First char = 194  First char = 194
129  Need char = 128  Need char = 128
130    
131  /\xff/8D  /\xff/8DZ
132  ------------------------------------------------------------------  ------------------------------------------------------------------
133    0   6 Bra 0          Bra
134    3     \x{ff}          \x{ff}
135    6   6 Ket          Ket
136    9     End          End
137  ------------------------------------------------------------------  ------------------------------------------------------------------
138  Capturing subpattern count = 0  Capturing subpattern count = 0
139  Options: utf8  Options: utf8
140  First char = 195  First char = 195
141  Need char = 191  Need char = 191
142    
143  /\x{0041}\x{2262}\x{0391}\x{002e}/D8  /\x{0041}\x{2262}\x{0391}\x{002e}/DZ8
144  ------------------------------------------------------------------  ------------------------------------------------------------------
145    0  14 Bra 0          Bra
146    3     A\x{2262}\x{391}.          A\x{2262}\x{391}.
147   14  14 Ket          Ket
148   17     End          End
149  ------------------------------------------------------------------  ------------------------------------------------------------------
150  Capturing subpattern count = 0  Capturing subpattern count = 0
151  Options: utf8  Options: utf8
# Line 165  Need char = '.' Line 154  Need char = '.'
154      \x{0041}\x{2262}\x{0391}\x{002e}      \x{0041}\x{2262}\x{0391}\x{002e}
155   0: A\x{2262}\x{391}.   0: A\x{2262}\x{391}.
156    
157  /\x{D55c}\x{ad6d}\x{C5B4}/D8  /\x{D55c}\x{ad6d}\x{C5B4}/DZ8
158  ------------------------------------------------------------------  ------------------------------------------------------------------
159    0  15 Bra 0          Bra
160    3     \x{d55c}\x{ad6d}\x{c5b4}          \x{d55c}\x{ad6d}\x{c5b4}
161   15  15 Ket          Ket
162   18     End          End
163  ------------------------------------------------------------------  ------------------------------------------------------------------
164  Capturing subpattern count = 0  Capturing subpattern count = 0
165  Options: utf8  Options: utf8
# Line 179  Need char = 180 Line 168  Need char = 180
168      \x{D55c}\x{ad6d}\x{C5B4}      \x{D55c}\x{ad6d}\x{C5B4}
169   0: \x{d55c}\x{ad6d}\x{c5b4}   0: \x{d55c}\x{ad6d}\x{c5b4}
170    
171  /\x{65e5}\x{672c}\x{8a9e}/D8  /\x{65e5}\x{672c}\x{8a9e}/DZ8
172  ------------------------------------------------------------------  ------------------------------------------------------------------
173    0  15 Bra 0          Bra
174    3     \x{65e5}\x{672c}\x{8a9e}          \x{65e5}\x{672c}\x{8a9e}
175   15  15 Ket          Ket
176   18     End          End
177  ------------------------------------------------------------------  ------------------------------------------------------------------
178  Capturing subpattern count = 0  Capturing subpattern count = 0
179  Options: utf8  Options: utf8
# Line 193  Need char = 158 Line 182  Need char = 158
182      \x{65e5}\x{672c}\x{8a9e}      \x{65e5}\x{672c}\x{8a9e}
183   0: \x{65e5}\x{672c}\x{8a9e}   0: \x{65e5}\x{672c}\x{8a9e}
184    
185  /\x{80}/D8  /\x{80}/DZ8
186  ------------------------------------------------------------------  ------------------------------------------------------------------
187    0   6 Bra 0          Bra
188    3     \x{80}          \x{80}
189    6   6 Ket          Ket
190    9     End          End
191  ------------------------------------------------------------------  ------------------------------------------------------------------
192  Capturing subpattern count = 0  Capturing subpattern count = 0
193  Options: utf8  Options: utf8
194  First char = 194  First char = 194
195  Need char = 128  Need char = 128
196    
197  /\x{084}/D8  /\x{084}/DZ8
198  ------------------------------------------------------------------  ------------------------------------------------------------------
199    0   6 Bra 0          Bra
200    3     \x{84}          \x{84}
201    6   6 Ket          Ket
202    9     End          End
203  ------------------------------------------------------------------  ------------------------------------------------------------------
204  Capturing subpattern count = 0  Capturing subpattern count = 0
205  Options: utf8  Options: utf8
206  First char = 194  First char = 194
207  Need char = 132  Need char = 132
208    
209  /\x{104}/D8  /\x{104}/DZ8
210  ------------------------------------------------------------------  ------------------------------------------------------------------
211    0   6 Bra 0          Bra
212    3     \x{104}          \x{104}
213    6   6 Ket          Ket
214    9     End          End
215  ------------------------------------------------------------------  ------------------------------------------------------------------
216  Capturing subpattern count = 0  Capturing subpattern count = 0
217  Options: utf8  Options: utf8
218  First char = 196  First char = 196
219  Need char = 132  Need char = 132
220    
221  /\x{861}/D8  /\x{861}/DZ8
222  ------------------------------------------------------------------  ------------------------------------------------------------------
223    0   7 Bra 0          Bra
224    3     \x{861}          \x{861}
225    7   7 Ket          Ket
226   10     End          End
227  ------------------------------------------------------------------  ------------------------------------------------------------------
228  Capturing subpattern count = 0  Capturing subpattern count = 0
229  Options: utf8  Options: utf8
230  First char = 224  First char = 224
231  Need char = 161  Need char = 161
232    
233  /\x{212ab}/D8  /\x{212ab}/DZ8
234  ------------------------------------------------------------------  ------------------------------------------------------------------
235    0   8 Bra 0          Bra
236    3     \x{212ab}          \x{212ab}
237    8   8 Ket          Ket
238   11     End          End
239  ------------------------------------------------------------------  ------------------------------------------------------------------
240  Capturing subpattern count = 0  Capturing subpattern count = 0
241  Options: utf8  Options: utf8
242  First char = 240  First char = 240
243  Need char = 171  Need char = 171
244    
245  /.{3,5}X/D8  /.{3,5}X/DZ8
246  ------------------------------------------------------------------  ------------------------------------------------------------------
247    0  13 Bra 0          Bra
248    3     Any{3}          Any{3}
249    7     Any{0,2}          Any{0,2}
250   11     X          X
251   13  13 Ket          Ket
252   16     End          End
253  ------------------------------------------------------------------  ------------------------------------------------------------------
254  Capturing subpattern count = 0  Capturing subpattern count = 0
255  Partial matching not supported  Partial matching not supported
# Line 271  Need char = 'X' Line 260  Need char = 'X'
260   0: \x{212ab}\x{212ab}\x{212ab}\x{861}X   0: \x{212ab}\x{212ab}\x{212ab}\x{861}X
261    
262    
263  /.{3,5}?/D8  /.{3,5}?/DZ8
264  ------------------------------------------------------------------  ------------------------------------------------------------------
265    0  11 Bra 0          Bra
266    3     Any{3}          Any{3}
267    7     Any{0,2}?          Any{0,2}?
268   11  11 Ket          Ket
269   14     End          End
270  ------------------------------------------------------------------  ------------------------------------------------------------------
271  Capturing subpattern count = 0  Capturing subpattern count = 0
272  Partial matching not supported  Partial matching not supported
# Line 287  No need char Line 276  No need char
276      \x{212ab}\x{212ab}\x{212ab}\x{861}      \x{212ab}\x{212ab}\x{212ab}\x{861}
277   0: \x{212ab}\x{212ab}\x{212ab}   0: \x{212ab}\x{212ab}\x{212ab}
278    
279  /-- 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
280  /-- 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.
281  No match  It grumbles about invalid UTF-8 strings. --/
 /-- value is < 255. It grumbles about invalid UTF-8 strings.            --/  
 No match  
282    
283  /^[a\x{c0}]b/8  /^[a\x{c0}]b/8
284      \x{c0}b      \x{c0}b
# Line 331  No match Line 318  No match
318  /(?<=\C)X/8  /(?<=\C)X/8
319  Failed: \C not allowed in lookbehind assertion at offset 6  Failed: \C not allowed in lookbehind assertion at offset 6
320    
321  /-- 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
322  /-- 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
323  No match  can't tell the difference.) --/
 /-- character, and you can't tell the difference.) --/  
 No match  
324    
325  /X(\C)(.*)/8  /X(\C)(.*)/8
326      X\x{1234}      X\x{1234}
# Line 347  No match Line 332  No match
332   1: \x{0a}   1: \x{0a}
333   2: abc   2: abc
334    
335  /^[ab]/8D  /^[ab]/8DZ
336  ------------------------------------------------------------------  ------------------------------------------------------------------
337    0  37 Bra 0          Bra
338    3     ^          ^
339    4     [ab]          [ab]
340   37  37 Ket          Ket
341   40     End          End
342  ------------------------------------------------------------------  ------------------------------------------------------------------
343  Capturing subpattern count = 0  Capturing subpattern count = 0
344  Options: anchored utf8  Options: anchored utf8
# Line 370  No match Line 355  No match
355      \x{100}      \x{100}
356  No match  No match
357    
358  /^[^ab]/8D  /^[^ab]/8DZ
359  ------------------------------------------------------------------  ------------------------------------------------------------------
360    0  37 Bra 0          Bra
361    3     ^          ^
362    4     [\x00-`c-\xff] (neg)          [\x00-`c-\xff] (neg)
363   37  37 Ket          Ket
364   40     End          End
365  ------------------------------------------------------------------  ------------------------------------------------------------------
366  Capturing subpattern count = 0  Capturing subpattern count = 0
367  Options: anchored utf8  Options: anchored utf8
# Line 393  No need char Line 378  No need char
378      aaa      aaa
379  No match  No match
380    
381  /[^ab\xC0-\xF0]/8SD  /[^ab\xC0-\xF0]/8SDZ
382  ------------------------------------------------------------------  ------------------------------------------------------------------
383    0  36 Bra 0          Bra
384    3     [\x00-`c-\xbf\xf1-\xff] (neg)          [\x00-`c-\xbf\xf1-\xff] (neg)
385   36  36 Ket          Ket
386   39     End          End
387  ------------------------------------------------------------------  ------------------------------------------------------------------
388  Capturing subpattern count = 0  Capturing subpattern count = 0
389  Options: utf8  Options: utf8
# Line 429  No match Line 414  No match
414      \x{f0}      \x{f0}
415  No match  No match
416    
417  /Ā{3,4}/8SD  /Ā{3,4}/8SDZ
418  ------------------------------------------------------------------  ------------------------------------------------------------------
419    0  13 Bra 0          Bra
420    3     \x{100}{3}          \x{100}{3}
421    8     \x{100}{,1}          \x{100}?
422   13  13 Ket          Ket
423   16     End          End
424  ------------------------------------------------------------------  ------------------------------------------------------------------
425  Capturing subpattern count = 0  Capturing subpattern count = 0
426  Partial matching not supported  Partial matching not supported
# Line 446  Study returned NULL Line 431  Study returned NULL
431    \x{100}\x{100}\x{100}\x{100\x{100}    \x{100}\x{100}\x{100}\x{100\x{100}
432   0: \x{100}\x{100}\x{100}   0: \x{100}\x{100}\x{100}
433    
434  /(\x{100}+|x)/8SD  /(\x{100}+|x)/8SDZ
435  ------------------------------------------------------------------  ------------------------------------------------------------------
436    0  17 Bra 0          Bra
437    3   6 Bra 1          CBra 1
438    6     \x{100}+          \x{100}+
439    9   5 Alt          Alt
440   12     x          x
441   14  11 Ket          Ket
442   17  17 Ket          Ket
443   20     End          End
444  ------------------------------------------------------------------  ------------------------------------------------------------------
445  Capturing subpattern count = 1  Capturing subpattern count = 1
446  Partial matching not supported  Partial matching not supported
# Line 464  No first char Line 449  No first char
449  No need char  No need char
450  Starting byte set: x \xc4  Starting byte set: x \xc4
451    
452  /(\x{100}*a|x)/8SD  /(\x{100}*a|x)/8SDZ
453  ------------------------------------------------------------------  ------------------------------------------------------------------
454    0  19 Bra 0          Bra
455    3   8 Bra 1          CBra 1
456    6     \x{100}*          \x{100}*+
457    9     a          a
458   11   5 Alt          Alt
459   14     x          x
460   16  13 Ket          Ket
461   19  19 Ket          Ket
462   22     End          End
463  ------------------------------------------------------------------  ------------------------------------------------------------------
464  Capturing subpattern count = 1  Capturing subpattern count = 1
465  Partial matching not supported  Partial matching not supported
# Line 483  No first char Line 468  No first char
468  No need char  No need char
469  Starting byte set: a x \xc4  Starting byte set: a x \xc4
470    
471  /(\x{100}{0,2}a|x)/8SD  /(\x{100}{0,2}a|x)/8SDZ
472  ------------------------------------------------------------------  ------------------------------------------------------------------
473    0  21 Bra 0          Bra
474    3  10 Bra 1          CBra 1
475    6     \x{100}{,2}          \x{100}{0,2}
476   11     a          a
477   13   5 Alt          Alt
478   16     x          x
479   18  15 Ket          Ket
480   21  21 Ket          Ket
481   24     End          End
482  ------------------------------------------------------------------  ------------------------------------------------------------------
483  Capturing subpattern count = 1  Capturing subpattern count = 1
484  Partial matching not supported  Partial matching not supported
# Line 502  No first char Line 487  No first char
487  No need char  No need char
488  Starting byte set: a x \xc4  Starting byte set: a x \xc4
489    
490  /(\x{100}{1,2}a|x)/8SD  /(\x{100}{1,2}a|x)/8SDZ
491  ------------------------------------------------------------------  ------------------------------------------------------------------
492    0  24 Bra 0          Bra
493    3  13 Bra 1          CBra 1
494    6     \x{100}          \x{100}
495    9     \x{100}{,1}          \x{100}{0,1}
496   14     a          a
497   16   5 Alt          Alt
498   19     x          x
499   21  18 Ket          Ket
500   24  24 Ket          Ket
501   27     End          End
502  ------------------------------------------------------------------  ------------------------------------------------------------------
503  Capturing subpattern count = 1  Capturing subpattern count = 1
504  Partial matching not supported  Partial matching not supported
# Line 546  No match Line 531  No match
531      \x{100}\x{100}abcd      \x{100}\x{100}abcd
532  No match  No match
533    
534  /\x{100}/8D  /\x{100}/8DZ
535  ------------------------------------------------------------------  ------------------------------------------------------------------
536    0   6 Bra 0          Bra
537    3     \x{100}          \x{100}
538    6   6 Ket          Ket
539    9     End          End
540  ------------------------------------------------------------------  ------------------------------------------------------------------
541  Capturing subpattern count = 0  Capturing subpattern count = 0
542  Options: utf8  Options: utf8
543  First char = 196  First char = 196
544  Need char = 128  Need char = 128
545    
546  /\x{100}*/8D  /\x{100}*/8DZ
547  ------------------------------------------------------------------  ------------------------------------------------------------------
548    0   6 Bra 0          Bra
549    3     \x{100}*          \x{100}*
550    6   6 Ket          Ket
551    9     End          End
552  ------------------------------------------------------------------  ------------------------------------------------------------------
553  Capturing subpattern count = 0  Capturing subpattern count = 0
554  Partial matching not supported  Partial matching not supported
# Line 571  Options: utf8 Line 556  Options: utf8
556  No first char  No first char
557  No need char  No need char
558    
559  /a\x{100}*/8D  /a\x{100}*/8DZ
560  ------------------------------------------------------------------  ------------------------------------------------------------------
561    0   8 Bra 0          Bra
562    3     a          a
563    5     \x{100}*          \x{100}*
564    8   8 Ket          Ket
565   11     End          End
566  ------------------------------------------------------------------  ------------------------------------------------------------------
567  Capturing subpattern count = 0  Capturing subpattern count = 0
568  Partial matching not supported  Partial matching not supported
# Line 585  Options: utf8 Line 570  Options: utf8
570  First char = 'a'  First char = 'a'
571  No need char  No need char
572    
573  /ab\x{100}*/8D  /ab\x{100}*/8DZ
574  ------------------------------------------------------------------  ------------------------------------------------------------------
575    0  10 Bra 0          Bra
576    3     ab          ab
577    7     \x{100}*          \x{100}*
578   10  10 Ket          Ket
579   13     End          End
580  ------------------------------------------------------------------  ------------------------------------------------------------------
581  Capturing subpattern count = 0  Capturing subpattern count = 0
582  Partial matching not supported  Partial matching not supported
# Line 599  Options: utf8 Line 584  Options: utf8
584  First char = 'a'  First char = 'a'
585  Need char = 'b'  Need char = 'b'
586    
587  /a\x{100}\x{101}*/8D  /a\x{100}\x{101}*/8DZ
588  ------------------------------------------------------------------  ------------------------------------------------------------------
589    0  11 Bra 0          Bra
590    3     a\x{100}          a\x{100}
591    8     \x{101}*          \x{101}*
592   11  11 Ket          Ket
593   14     End          End
594  ------------------------------------------------------------------  ------------------------------------------------------------------
595  Capturing subpattern count = 0  Capturing subpattern count = 0
596  Partial matching not supported  Partial matching not supported
# Line 613  Options: utf8 Line 598  Options: utf8
598  First char = 'a'  First char = 'a'
599  Need char = 128  Need char = 128
600    
601  /a\x{100}\x{101}+/8D  /a\x{100}\x{101}+/8DZ
602  ------------------------------------------------------------------  ------------------------------------------------------------------
603    0  11 Bra 0          Bra
604    3     a\x{100}          a\x{100}
605    8     \x{101}+          \x{101}+
606   11  11 Ket          Ket
607   14     End          End
608  ------------------------------------------------------------------  ------------------------------------------------------------------
609  Capturing subpattern count = 0  Capturing subpattern count = 0
610  Partial matching not supported  Partial matching not supported
# Line 627  Options: utf8 Line 612  Options: utf8
612  First char = 'a'  First char = 'a'
613  Need char = 129  Need char = 129
614    
615  /\x{100}*A/8D  /\x{100}*A/8DZ
616  ------------------------------------------------------------------  ------------------------------------------------------------------
617    0   8 Bra 0          Bra
618    3     \x{100}*          \x{100}*+
619    6     A          A
620    8   8 Ket          Ket
621   11     End          End
622  ------------------------------------------------------------------  ------------------------------------------------------------------
623  Capturing subpattern count = 0  Capturing subpattern count = 0
624  Partial matching not supported  Partial matching not supported
# Line 643  Need char = 'A' Line 628  Need char = 'A'
628      A      A
629   0: A   0: A
630    
631  /\x{100}*\d(?R)/8D  /\x{100}*\d(?R)/8DZ
632  ------------------------------------------------------------------  ------------------------------------------------------------------
633    0  10 Bra 0          Bra
634    3     \x{100}*          \x{100}*+
635    6     \d          \d
636    7   0 Recurse          Once
637   10  10 Ket          Recurse
638   13     End          Ket
639            Ket
640            End
641  ------------------------------------------------------------------  ------------------------------------------------------------------
642  Capturing subpattern count = 0  Capturing subpattern count = 0
643  Partial matching not supported  Partial matching not supported
# Line 658  Options: utf8 Line 645  Options: utf8
645  No first char  No first char
646  No need char  No need char
647    
648  /[^\x{c4}]/D  /[^\x{c4}]/DZ
649  ------------------------------------------------------------------  ------------------------------------------------------------------
650    0  36 Bra 0          Bra
651    3     [\x01-35-bd-z|~-\xff] (neg)          [^\xc4]
652   36  36 Ket          Ket
653   39     End          End
654  ------------------------------------------------------------------  ------------------------------------------------------------------
655  Capturing subpattern count = 0  Capturing subpattern count = 0
656  No options  No options
657  No first char  No first char
658  No need char  No need char
659    
660  /[^\x{c4}]/8D  /[^\x{c4}]/8DZ
661  ------------------------------------------------------------------  ------------------------------------------------------------------
662    0  36 Bra 0          Bra
663    3     [\x00-\xc3\xc5-\xff] (neg)          [\x00-\xc3\xc5-\xff] (neg)
664   36  36 Ket          Ket
665   39     End          End
666  ------------------------------------------------------------------  ------------------------------------------------------------------
667  Capturing subpattern count = 0  Capturing subpattern count = 0
668  Options: utf8  Options: utf8
669  No first char  No first char
670  No need char  No need char
671    
672  /[\x{100}]/8DM  /[\x{100}]/8DZ
 Memory allocation (code space): 47  
673  ------------------------------------------------------------------  ------------------------------------------------------------------
674    0  11 Bra 0          Bra
675    3     [\x{100}]          [\x{100}]
676   11  11 Ket          Ket
677   14     End          End
678  ------------------------------------------------------------------  ------------------------------------------------------------------
679  Capturing subpattern count = 0  Capturing subpattern count = 0
680  Options: utf8  Options: utf8
# Line 703  No need char Line 689  No need char
689      *** Failers      *** Failers
690  No match  No match
691    
692  /[Z\x{100}]/8DM  /[Z\x{100}]/8DZ
 Memory allocation (code space): 47  
693  ------------------------------------------------------------------  ------------------------------------------------------------------
694    0  43 Bra 0          Bra
695    3     [Z\x{100}]          [Z\x{100}]
696   43  43 Ket          Ket
697   46     End          End
698  ------------------------------------------------------------------  ------------------------------------------------------------------
699  Capturing subpattern count = 0  Capturing subpattern count = 0
700  Options: utf8  Options: utf8
# Line 739  No match Line 724  No match
724      \x{ff}      \x{ff}
725  No match  No match
726    
727  /[z-\x{100}]/8D  /[z-\x{100}]/8DZ
728  ------------------------------------------------------------------  ------------------------------------------------------------------
729    0  12 Bra 0          Bra
730    3     [z-\x{100}]          [z-\x{100}]
731   12  12 Ket          Ket
732   15     End          End
733  ------------------------------------------------------------------  ------------------------------------------------------------------
734  Capturing subpattern count = 0  Capturing subpattern count = 0
735  Options: utf8  Options: utf8
736  No first char  No first char
737  No need char  No need char
738    
739  /[z\Qa-d]Ā\E]/8D  /[z\Qa-d]Ā\E]/8DZ
740  ------------------------------------------------------------------  ------------------------------------------------------------------
741    0  43 Bra 0          Bra
742    3     [\-\]adz\x{100}]          [\-\]adz\x{100}]
743   43  43 Ket          Ket
744   46     End          End
745  ------------------------------------------------------------------  ------------------------------------------------------------------
746  Capturing subpattern count = 0  Capturing subpattern count = 0
747  Options: utf8  Options: utf8
# Line 767  No need char Line 752  No need char
752      Ā      Ā
753   0: \x{100}   0: \x{100}
754    
755  /[\xFF]/D  /[\xFF]/DZ
756  ------------------------------------------------------------------  ------------------------------------------------------------------
757    0   5 Bra 0          Bra
758    3     \xff          \xff
759    5   5 Ket          Ket
760    8     End          End
761  ------------------------------------------------------------------  ------------------------------------------------------------------
762  Capturing subpattern count = 0  Capturing subpattern count = 0
763  No options  No options
# Line 781  No need char Line 766  No need char
766      >\xff<      >\xff<
767   0: \xff   0: \xff
768    
769  /[\xff]/D8  /[\xff]/DZ8
770  ------------------------------------------------------------------  ------------------------------------------------------------------
771    0   6 Bra 0          Bra
772    3     \x{ff}          \x{ff}
773    6   6 Ket          Ket
774    9     End          End
775  ------------------------------------------------------------------  ------------------------------------------------------------------
776  Capturing subpattern count = 0  Capturing subpattern count = 0
777  Options: utf8  Options: utf8
# Line 795  Need char = 191 Line 780  Need char = 191
780      >\x{ff}<      >\x{ff}<
781   0: \x{ff}   0: \x{ff}
782    
783  /[^\xFF]/D  /[^\xFF]/DZ
784  ------------------------------------------------------------------  ------------------------------------------------------------------
785    0   5 Bra 0          Bra
786    3     [^\xff]          [^\xff]
787    5   5 Ket          Ket
788    8     End          End
789  ------------------------------------------------------------------  ------------------------------------------------------------------
790  Capturing subpattern count = 0  Capturing subpattern count = 0
791  No options  No options
792  No first char  No first char
793  No need char  No need char
794    
795  /[^\xff]/8D  /[^\xff]/8DZ
796  ------------------------------------------------------------------  ------------------------------------------------------------------
797    0  36 Bra 0          Bra
798    3     [\x00-\xfe] (neg)          [\x00-\xfe] (neg)
799   36  36 Ket          Ket
800   39     End          End
801  ------------------------------------------------------------------  ------------------------------------------------------------------
802  Capturing subpattern count = 0  Capturing subpattern count = 0
803  Options: utf8  Options: utf8
# Line 852  Failed: invalid UTF-8 string at offset 0 Line 837  Failed: invalid UTF-8 string at offset 0
837  /xxx/8  /xxx/8
838  Failed: invalid UTF-8 string at offset 1  Failed: invalid UTF-8 string at offset 1
839    
840  /xxx/8?D  /xxx/8?DZ
841  ------------------------------------------------------------------  ------------------------------------------------------------------
842    0  15 Bra 0          Bra
843    3     \X{c0}\X{c0}\X{c0}xxx          \X{c0}\X{c0}\X{c0}xxx
844   15  15 Ket          Ket
845   18     End          End
846  ------------------------------------------------------------------  ------------------------------------------------------------------
847  Capturing subpattern count = 0  Capturing subpattern count = 0
848  Options: utf8 no_utf8_check  Options: utf8 no_utf8_check
# Line 902  No match Line 887  No match
887      \xf1\x8f\x80\x80      \xf1\x8f\x80\x80
888  No match  No match
889      \xf8\x88\x80\x80\x80      \xf8\x88\x80\x80\x80
890  No match  Error -10
891      \xf9\x87\x80\x80\x80      \xf9\x87\x80\x80\x80
892  No match  Error -10
893      \xfc\x84\x80\x80\x80\x80      \xfc\x84\x80\x80\x80\x80
894  No match  Error -10
895      \xfd\x83\x80\x80\x80\x80      \xfd\x83\x80\x80\x80\x80
896    Error -10
897        \?\xf8\x88\x80\x80\x80
898    No match
899        \?\xf9\x87\x80\x80\x80
900    No match
901        \?\xfc\x84\x80\x80\x80\x80
902    No match
903        \?\xfd\x83\x80\x80\x80\x80
904  No match  No match
905    
906  /\x{100}abc(xyz(?1))/8D  /\x{100}abc(xyz(?1))/8DZ
907  ------------------------------------------------------------------  ------------------------------------------------------------------
908    0  27 Bra 0          Bra
909    3     \x{100}abc          \x{100}abc
910   12  12 Bra 1          CBra 1
911   15     xyz          xyz
912   21  12 Recurse          Once
913   24  12 Ket          Recurse
914   27  27 Ket          Ket
915   30     End          Ket
916            Ket
917            End
918  ------------------------------------------------------------------  ------------------------------------------------------------------
919  Capturing subpattern count = 1  Capturing subpattern count = 1
920  Options: utf8  Options: utf8
921  First char = 196  First char = 196
922  Need char = 'z'  Need char = 'z'
923    
924  /[^\x{100}]abc(xyz(?1))/8D  /[^\x{100}]abc(xyz(?1))/8DZ
925  ------------------------------------------------------------------  ------------------------------------------------------------------
926    0  32 Bra 0          Bra
927    3     [^\x{100}]          [^\x{100}]
928   11     abc          abc
929   17  12 Bra 1          CBra 1
930   20     xyz          xyz
931   26  17 Recurse          Once
932   29  12 Ket          Recurse
933   32  32 Ket          Ket
934   35     End          Ket
935            Ket
936            End
937  ------------------------------------------------------------------  ------------------------------------------------------------------
938  Capturing subpattern count = 1  Capturing subpattern count = 1
939  Options: utf8  Options: utf8
940  No first char  No first char
941  Need char = 'z'  Need char = 'z'
942    
943  /[ab\x{100}]abc(xyz(?1))/8D  /[ab\x{100}]abc(xyz(?1))/8DZ
944  ------------------------------------------------------------------  ------------------------------------------------------------------
945    0  64 Bra 0          Bra
946    3     [ab\x{100}]          [ab\x{100}]
947   43     abc          abc
948   49  12 Bra 1          CBra 1
949   52     xyz          xyz
950   58  49 Recurse          Once
951   61  12 Ket          Recurse
952   64  64 Ket          Ket
953   67     End          Ket
954            Ket
955            End
956  ------------------------------------------------------------------  ------------------------------------------------------------------
957  Capturing subpattern count = 1  Capturing subpattern count = 1
958  Options: utf8  Options: utf8
959  No first char  No first char
960  Need char = 'z'  Need char = 'z'
961    
962  /(\x{100}(b(?2)c))?/D8  /(\x{100}(b(?2)c))?/DZ8
963  ------------------------------------------------------------------  ------------------------------------------------------------------
964    0  26 Bra 0          Bra
965    3     Brazero          Brazero
966    4  19 Bra 1          CBra 1
967    7     \x{100}          \x{100}
968   10  10 Bra 2          CBra 2
969   13     b          b
970   15  10 Recurse          Once
971   18     c          Recurse
972   20  10 Ket          Ket
973   23  19 Ket          c
974   26  26 Ket          Ket
975   29     End          Ket
976            Ket
977            End
978  ------------------------------------------------------------------  ------------------------------------------------------------------
979  Capturing subpattern count = 2  Capturing subpattern count = 2
980  Options: utf8  Options: utf8
981  No first char  No first char
982  No need char  No need char
983    
984  /(\x{100}(b(?2)c)){0,2}/D8  /(\x{100}(b(?2)c)){0,2}/DZ8
985  ------------------------------------------------------------------  ------------------------------------------------------------------
986    0  55 Bra 0          Bra
987    3     Brazero          Brazero
988    4  48 Bra 0          Bra
989    7  19 Bra 1          CBra 1
990   10     \x{100}          \x{100}
991   13  10 Bra 2          CBra 2
992   16     b          b
993   18  13 Recurse          Once
994   21     c          Recurse
995   23  10 Ket          Ket
996   26  19 Ket          c
997   29     Brazero          Ket
998   30  19 Bra 1          Ket
999   33     \x{100}          Brazero
1000   36  10 Bra 2          CBra 1
1001   39     b          \x{100}
1002   41  13 Recurse          CBra 2
1003   44     c          b
1004   46  10 Ket          Once
1005   49  19 Ket          Recurse
1006   52  48 Ket          Ket
1007   55  55 Ket          c
1008   58     End          Ket
1009            Ket
1010            Ket
1011            Ket
1012            End
1013  ------------------------------------------------------------------  ------------------------------------------------------------------
1014  Capturing subpattern count = 2  Capturing subpattern count = 2
1015  Options: utf8  Options: utf8
1016  No first char  No first char
1017  No need char  No need char
1018    
1019  /(\x{100}(b(?1)c))?/D8  /(\x{100}(b(?1)c))?/DZ8
1020  ------------------------------------------------------------------  ------------------------------------------------------------------
1021    0  26 Bra 0          Bra
1022    3     Brazero          Brazero
1023    4  19 Bra 1          CBra 1
1024    7     \x{100}          \x{100}
1025   10  10 Bra 2          CBra 2
1026   13     b          b
1027   15   4 Recurse          Once
1028   18     c          Recurse
1029   20  10 Ket          Ket
1030   23  19 Ket          c
1031   26  26 Ket          Ket
1032   29     End          Ket
1033            Ket
1034            End
1035  ------------------------------------------------------------------  ------------------------------------------------------------------
1036  Capturing subpattern count = 2  Capturing subpattern count = 2
1037  Options: utf8  Options: utf8
1038  No first char  No first char
1039  No need char  No need char
1040    
1041  /(\x{100}(b(?1)c)){0,2}/D8  /(\x{100}(b(?1)c)){0,2}/DZ8
1042  ------------------------------------------------------------------  ------------------------------------------------------------------
1043    0  55 Bra 0          Bra
1044    3     Brazero          Brazero
1045    4  48 Bra 0          Bra
1046    7  19 Bra 1          CBra 1
1047   10     \x{100}          \x{100}
1048   13  10 Bra 2          CBra 2
1049   16     b          b
1050   18   7 Recurse          Once
1051   21     c          Recurse
1052   23  10 Ket          Ket
1053   26  19 Ket          c
1054   29     Brazero          Ket
1055   30  19 Bra 1          Ket
1056   33     \x{100}          Brazero
1057   36  10 Bra 2          CBra 1
1058   39     b          \x{100}
1059   41   7 Recurse          CBra 2
1060   44     c          b
1061   46  10 Ket          Once
1062   49  19 Ket          Recurse
1063   52  48 Ket          Ket
1064   55  55 Ket          c
1065   58     End          Ket
1066            Ket
1067            Ket
1068            Ket
1069            End
1070  ------------------------------------------------------------------  ------------------------------------------------------------------
1071  Capturing subpattern count = 2  Capturing subpattern count = 2
1072  Options: utf8  Options: utf8
# Line 1072  No need char Line 1083  No need char
1083      \x{100}X      \x{100}X
1084   0: X   0: X
1085    
1086    /a\x{1234}b/P8
1087        a\x{1234}b
1088     0: a\x{1234}b
1089    
1090    /^\ሴ/8DZ
1091    ------------------------------------------------------------------
1092            Bra
1093            ^
1094            \x{1234}
1095            Ket
1096            End
1097    ------------------------------------------------------------------
1098    Capturing subpattern count = 0
1099    Options: anchored utf8
1100    No first char
1101    No need char
1102    
1103    /\777/I
1104    Failed: octal value is greater than \377 (not in UTF-8 mode) at offset 3
1105    
1106    /\777/8I
1107    Capturing subpattern count = 0
1108    Options: utf8
1109    First char = 199
1110    Need char = 191
1111      \x{1ff}
1112     0: \x{1ff}
1113      \777
1114     0: \x{1ff}
1115    
1116    /\x{100}*\d/8DZ
1117    ------------------------------------------------------------------
1118            Bra
1119            \x{100}*+
1120            \d
1121            Ket
1122            End
1123    ------------------------------------------------------------------
1124    Capturing subpattern count = 0
1125    Partial matching not supported
1126    Options: utf8
1127    No first char
1128    No need char
1129    
1130    /\x{100}*\s/8DZ
1131    ------------------------------------------------------------------
1132            Bra
1133            \x{100}*+
1134            \s
1135            Ket
1136            End
1137    ------------------------------------------------------------------
1138    Capturing subpattern count = 0
1139    Partial matching not supported
1140    Options: utf8
1141    No first char
1142    No need char
1143    
1144    /\x{100}*\w/8DZ
1145    ------------------------------------------------------------------
1146            Bra
1147            \x{100}*+
1148            \w
1149            Ket
1150            End
1151    ------------------------------------------------------------------
1152    Capturing subpattern count = 0
1153    Partial matching not supported
1154    Options: utf8
1155    No first char
1156    No need char
1157    
1158    /\x{100}*\D/8DZ
1159    ------------------------------------------------------------------
1160            Bra
1161            \x{100}*
1162            \D
1163            Ket
1164            End
1165    ------------------------------------------------------------------
1166    Capturing subpattern count = 0
1167    Partial matching not supported
1168    Options: utf8
1169    No first char
1170    No need char
1171    
1172    /\x{100}*\S/8DZ
1173    ------------------------------------------------------------------
1174            Bra
1175            \x{100}*
1176            \S
1177            Ket
1178            End
1179    ------------------------------------------------------------------
1180    Capturing subpattern count = 0
1181    Partial matching not supported
1182    Options: utf8
1183    No first char
1184    No need char
1185    
1186    /\x{100}*\W/8DZ
1187    ------------------------------------------------------------------
1188            Bra
1189            \x{100}*
1190            \W
1191            Ket
1192            End
1193    ------------------------------------------------------------------
1194    Capturing subpattern count = 0
1195    Partial matching not supported
1196    Options: utf8
1197    No first char
1198    No need char
1199    
1200    /\x{100}+\x{200}/8DZ
1201    ------------------------------------------------------------------
1202            Bra
1203            \x{100}++
1204            \x{200}
1205            Ket
1206            End
1207    ------------------------------------------------------------------
1208    Capturing subpattern count = 0
1209    Partial matching not supported
1210    Options: utf8
1211    First char = 196
1212    Need char = 128
1213    
1214    /\x{100}+X/8DZ
1215    ------------------------------------------------------------------
1216            Bra
1217            \x{100}++
1218            X
1219            Ket
1220            End
1221    ------------------------------------------------------------------
1222    Capturing subpattern count = 0
1223    Partial matching not supported
1224    Options: utf8
1225    First char = 196
1226    Need char = 'X'
1227    
1228    /X+\x{200}/8DZ
1229    ------------------------------------------------------------------
1230            Bra
1231            X++
1232            \x{200}
1233            Ket
1234            End
1235    ------------------------------------------------------------------
1236    Capturing subpattern count = 0
1237    Partial matching not supported
1238    Options: utf8
1239    First char = 'X'
1240    Need char = 128
1241    
1242    /()()()()()()()()()()
1243     ()()()()()()()()()()
1244     ()()()()()()()()()()
1245     ()()()()()()()()()()
1246     A (x) (?41) B/8x
1247        AxxB
1248    Matched, but too many substrings
1249     0: AxxB
1250     1:
1251     2:
1252     3:
1253     4:
1254     5:
1255     6:
1256     7:
1257     8:
1258     9:
1259    10:
1260    11:
1261    12:
1262    13:
1263    14:
1264    
1265    /^[\x{100}\E-\Q\E\x{150}]/BZ8
1266    ------------------------------------------------------------------
1267            Bra
1268            ^
1269            [\x{100}-\x{150}]
1270            Ket
1271            End
1272    ------------------------------------------------------------------
1273    
1274    /^[\QĀ\E-\QŐ\E]/BZ8
1275    ------------------------------------------------------------------
1276            Bra
1277            ^
1278            [\x{100}-\x{150}]
1279            Ket
1280            End
1281    ------------------------------------------------------------------
1282    
1283    /^[\QĀ\E-\QŐ\E/BZ8
1284    Failed: missing terminating ] for character class at offset 15
1285    
1286    /^abc./mgx8<any>
1287        abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x{0085}abc7 \x{2028}abc8 \x{2029}abc9 JUNK
1288     0: abc1
1289     0: abc2
1290     0: abc3
1291     0: abc4
1292     0: abc5
1293     0: abc6
1294     0: abc7
1295     0: abc8
1296     0: abc9
1297    
1298    /abc.$/mgx8<any>
1299        abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x{0085} abc7\x{2028} abc8\x{2029} abc9
1300     0: abc1
1301     0: abc2
1302     0: abc3
1303     0: abc4
1304     0: abc5
1305     0: abc6
1306     0: abc7
1307     0: abc8
1308     0: abc9
1309    
1310    /^a\Rb/8<bsr_unicode>
1311        a\nb
1312     0: a\x{0a}b
1313        a\rb
1314     0: a\x{0d}b
1315        a\r\nb
1316     0: a\x{0d}\x{0a}b
1317        a\x0bb
1318     0: a\x{0b}b
1319        a\x0cb
1320     0: a\x{0c}b
1321        a\x{85}b
1322     0: a\x{85}b
1323        a\x{2028}b
1324     0: a\x{2028}b
1325        a\x{2029}b
1326     0: a\x{2029}b
1327        ** Failers
1328    No match
1329        a\n\rb
1330    No match
1331    
1332    /^a\R*b/8<bsr_unicode>
1333        ab
1334     0: ab
1335        a\nb
1336     0: a\x{0a}b
1337        a\rb
1338     0: a\x{0d}b
1339        a\r\nb
1340     0: a\x{0d}\x{0a}b
1341        a\x0bb
1342     0: a\x{0b}b
1343        a\x0c\x{2028}\x{2029}b
1344     0: a\x{0c}\x{2028}\x{2029}b
1345        a\x{85}b
1346     0: a\x{85}b
1347        a\n\rb
1348     0: a\x{0a}\x{0d}b
1349        a\n\r\x{85}\x0cb
1350     0: a\x{0a}\x{0d}\x{85}\x{0c}b
1351    
1352    /^a\R+b/8<bsr_unicode>
1353        a\nb
1354     0: a\x{0a}b
1355        a\rb
1356     0: a\x{0d}b
1357        a\r\nb
1358     0: a\x{0d}\x{0a}b
1359        a\x0bb
1360     0: a\x{0b}b
1361        a\x0c\x{2028}\x{2029}b
1362     0: a\x{0c}\x{2028}\x{2029}b
1363        a\x{85}b
1364     0: a\x{85}b
1365        a\n\rb
1366     0: a\x{0a}\x{0d}b
1367        a\n\r\x{85}\x0cb
1368     0: a\x{0a}\x{0d}\x{85}\x{0c}b
1369        ** Failers
1370    No match
1371        ab
1372    No match
1373    
1374    /^a\R{1,3}b/8<bsr_unicode>
1375        a\nb
1376     0: a\x{0a}b
1377        a\n\rb
1378     0: a\x{0a}\x{0d}b
1379        a\n\r\x{85}b
1380     0: a\x{0a}\x{0d}\x{85}b
1381        a\r\n\r\nb
1382     0: a\x{0d}\x{0a}\x{0d}\x{0a}b
1383        a\r\n\r\n\r\nb
1384     0: a\x{0d}\x{0a}\x{0d}\x{0a}\x{0d}\x{0a}b
1385        a\n\r\n\rb
1386     0: a\x{0a}\x{0d}\x{0a}\x{0d}b
1387        a\n\n\r\nb
1388     0: a\x{0a}\x{0a}\x{0d}\x{0a}b
1389        ** Failers
1390    No match
1391        a\n\n\n\rb
1392    No match
1393        a\r
1394    No match
1395    
1396    /\H\h\V\v/8
1397        X X\x0a
1398     0: X X\x{0a}
1399        X\x09X\x0b
1400     0: X\x{09}X\x{0b}
1401        ** Failers
1402    No match
1403        \x{a0} X\x0a
1404    No match
1405    
1406    /\H*\h+\V?\v{3,4}/8
1407        \x09\x20\x{a0}X\x0a\x0b\x0c\x0d\x0a
1408     0: \x{09} \x{a0}X\x{0a}\x{0b}\x{0c}\x{0d}
1409        \x09\x20\x{a0}\x0a\x0b\x0c\x0d\x0a
1410     0: \x{09} \x{a0}\x{0a}\x{0b}\x{0c}\x{0d}
1411        \x09\x20\x{a0}\x0a\x0b\x0c
1412     0: \x{09} \x{a0}\x{0a}\x{0b}\x{0c}
1413        ** Failers
1414    No match
1415        \x09\x20\x{a0}\x0a\x0b
1416    No match
1417    
1418    /\H\h\V\v/8
1419        \x{3001}\x{3000}\x{2030}\x{2028}
1420     0: \x{3001}\x{3000}\x{2030}\x{2028}
1421        X\x{180e}X\x{85}
1422     0: X\x{180e}X\x{85}
1423        ** Failers
1424    No match
1425        \x{2009} X\x0a
1426    No match
1427    
1428    /\H*\h+\V?\v{3,4}/8
1429        \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x0c\x0d\x0a
1430     0: \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x{0c}\x{0d}
1431        \x09\x{205f}\x{a0}\x0a\x{2029}\x0c\x{2028}\x0a
1432     0: \x{09}\x{205f}\x{a0}\x{0a}\x{2029}\x{0c}\x{2028}
1433        \x09\x20\x{202f}\x0a\x0b\x0c
1434     0: \x{09} \x{202f}\x{0a}\x{0b}\x{0c}
1435        ** Failers
1436    No match
1437        \x09\x{200a}\x{a0}\x{2028}\x0b
1438    No match
1439    
1440    /[\h]/8BZ
1441    ------------------------------------------------------------------
1442            Bra
1443            [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]
1444            Ket
1445            End
1446    ------------------------------------------------------------------
1447        >\x{1680}
1448     0: \x{1680}
1449    
1450    /[\h]{3,}/8BZ
1451    ------------------------------------------------------------------
1452            Bra
1453            [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]{3,}
1454            Ket
1455            End
1456    ------------------------------------------------------------------
1457        >\x{1680}\x{180e}\x{2000}\x{2003}\x{200a}\x{202f}\x{205f}\x{3000}<
1458     0: \x{1680}\x{180e}\x{2000}\x{2003}\x{200a}\x{202f}\x{205f}\x{3000}
1459    
1460    /[\v]/8BZ
1461    ------------------------------------------------------------------
1462            Bra
1463            [\x0a-\x0d\x85\x{2028}-\x{2029}]
1464            Ket
1465            End
1466    ------------------------------------------------------------------
1467    
1468    /[\H]/8BZ
1469    ------------------------------------------------------------------
1470            Bra
1471            [\x00-\x08\x0a-\x1f!-\x9f\xa1-\xff\x{100}-\x{167f}\x{1681}-\x{180d}\x{180f}-\x{1fff}\x{200b}-\x{202e}\x{2030}-\x{205e}\x{2060}-\x{2fff}\x{3001}-\x{7fffffff}]
1472            Ket
1473            End
1474    ------------------------------------------------------------------
1475    
1476    /[\V]/8BZ
1477    ------------------------------------------------------------------
1478            Bra
1479            [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{2029}-\x{7fffffff}]
1480            Ket
1481            End
1482    ------------------------------------------------------------------
1483    
1484    /.*$/8<any>
1485        \x{1ec5}
1486     0: \x{1ec5}
1487    
1488    /-- This tests the stricter UTF-8 check according to RFC 3629. --/
1489    
1490    /X/8
1491        \x{0}\x{d7ff}\x{e000}\x{10ffff}
1492    No match
1493        \x{d800}
1494    Error -10
1495        \x{d800}\?
1496    No match
1497        \x{da00}
1498    Error -10
1499        \x{da00}\?
1500    No match
1501        \x{dfff}
1502    Error -10
1503        \x{dfff}\?
1504    No match
1505        \x{110000}
1506    Error -10
1507        \x{110000}\?
1508    No match
1509        \x{2000000}
1510    Error -10
1511        \x{2000000}\?
1512    No match
1513        \x{7fffffff}
1514    Error -10
1515        \x{7fffffff}\?
1516    No match
1517    
1518    /a\Rb/I8<bsr_anycrlf>
1519    Capturing subpattern count = 0
1520    Options: bsr_anycrlf utf8
1521    First char = 'a'
1522    Need char = 'b'
1523        a\rb
1524     0: a\x{0d}b
1525        a\nb
1526     0: a\x{0a}b
1527        a\r\nb
1528     0: a\x{0d}\x{0a}b
1529        ** Failers
1530    No match
1531        a\x{85}b
1532    No match
1533        a\x0bb
1534    No match
1535    
1536    /a\Rb/I8<bsr_unicode>
1537    Capturing subpattern count = 0
1538    Options: bsr_unicode utf8
1539    First char = 'a'
1540    Need char = 'b'
1541        a\rb
1542     0: a\x{0d}b
1543        a\nb
1544     0: a\x{0a}b
1545        a\r\nb
1546     0: a\x{0d}\x{0a}b
1547        a\x{85}b
1548     0: a\x{85}b
1549        a\x0bb
1550     0: a\x{0b}b
1551        ** Failers
1552    No match
1553        a\x{85}b\<bsr_anycrlf>
1554    No match
1555        a\x0bb\<bsr_anycrlf>
1556    No match
1557    
1558    /a\R?b/I8<bsr_anycrlf>
1559    Capturing subpattern count = 0
1560    Options: bsr_anycrlf utf8
1561    First char = 'a'
1562    Need char = 'b'
1563        a\rb
1564     0: a\x{0d}b
1565        a\nb
1566     0: a\x{0a}b
1567        a\r\nb
1568     0: a\x{0d}\x{0a}b
1569        ** Failers
1570    No match
1571        a\x{85}b
1572    No match
1573        a\x0bb
1574    No match
1575    
1576    /a\R?b/I8<bsr_unicode>
1577    Capturing subpattern count = 0
1578    Options: bsr_unicode utf8
1579    First char = 'a'
1580    Need char = 'b'
1581        a\rb
1582     0: a\x{0d}b
1583        a\nb
1584     0: a\x{0a}b
1585        a\r\nb
1586     0: a\x{0d}\x{0a}b
1587        a\x{85}b
1588     0: a\x{85}b
1589        a\x0bb
1590     0: a\x{0b}b
1591        ** Failers
1592    No match
1593        a\x{85}b\<bsr_anycrlf>
1594    No match
1595        a\x0bb\<bsr_anycrlf>
1596    No match
1597    
1598  / End of testinput5 /  / End of testinput5 /

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

  ViewVC Help
Powered by ViewVC 1.1.5