/[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 91 by nigel, Sat Feb 24 21:41:34 2007 UTC revision 226 by ph10, Tue Aug 21 11:46:08 2007 UTC
# Line 1  Line 1 
1  /\x{100}/8DM  /\x{100}/8DZ
 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 125  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 163  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 177  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 191  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 269  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 285  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 329  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 345  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 368  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    Contains explicit CR or LF match
368  Options: anchored utf8  Options: anchored utf8
369  No first char  No first char
370  No need char  No need char
# Line 391  No need char Line 379  No need char
379      aaa      aaa
380  No match  No match
381    
382  /[^ab\xC0-\xF0]/8SD  /[^ab\xC0-\xF0]/8SDZ
383  ------------------------------------------------------------------  ------------------------------------------------------------------
384    0  36 Bra 0          Bra
385    3     [\x00-`c-\xbf\xf1-\xff] (neg)          [\x00-`c-\xbf\xf1-\xff] (neg)
386   36  36 Ket          Ket
387   39     End          End
388  ------------------------------------------------------------------  ------------------------------------------------------------------
389  Capturing subpattern count = 0  Capturing subpattern count = 0
390    Contains explicit CR or LF match
391  Options: utf8  Options: utf8
392  No first char  No first char
393  No need char  No need char
# Line 427  No match Line 416  No match
416      \x{f0}      \x{f0}
417  No match  No match
418    
419  /Ā{3,4}/8SD  /Ā{3,4}/8SDZ
420  ------------------------------------------------------------------  ------------------------------------------------------------------
421    0  13 Bra 0          Bra
422    3     \x{100}{3}          \x{100}{3}
423    8     \x{100}{,1}          \x{100}?
424   13  13 Ket          Ket
425   16     End          End
426  ------------------------------------------------------------------  ------------------------------------------------------------------
427  Capturing subpattern count = 0  Capturing subpattern count = 0
428  Partial matching not supported  Partial matching not supported
# Line 444  Study returned NULL Line 433  Study returned NULL
433    \x{100}\x{100}\x{100}\x{100\x{100}    \x{100}\x{100}\x{100}\x{100\x{100}
434   0: \x{100}\x{100}\x{100}   0: \x{100}\x{100}\x{100}
435    
436  /(\x{100}+|x)/8SD  /(\x{100}+|x)/8SDZ
437  ------------------------------------------------------------------  ------------------------------------------------------------------
438    0  17 Bra 0          Bra
439    3   6 Bra 1          CBra 1
440    6     \x{100}+          \x{100}+
441    9   5 Alt          Alt
442   12     x          x
443   14  11 Ket          Ket
444   17  17 Ket          Ket
445   20     End          End
446  ------------------------------------------------------------------  ------------------------------------------------------------------
447  Capturing subpattern count = 1  Capturing subpattern count = 1
448  Partial matching not supported  Partial matching not supported
# Line 462  No first char Line 451  No first char
451  No need char  No need char
452  Starting byte set: x \xc4  Starting byte set: x \xc4
453    
454  /(\x{100}*a|x)/8SD  /(\x{100}*a|x)/8SDZ
455  ------------------------------------------------------------------  ------------------------------------------------------------------
456    0  19 Bra 0          Bra
457    3   8 Bra 1          CBra 1
458    6     \x{100}*          \x{100}*+
459    9     a          a
460   11   5 Alt          Alt
461   14     x          x
462   16  13 Ket          Ket
463   19  19 Ket          Ket
464   22     End          End
465  ------------------------------------------------------------------  ------------------------------------------------------------------
466  Capturing subpattern count = 1  Capturing subpattern count = 1
467  Partial matching not supported  Partial matching not supported
# Line 481  No first char Line 470  No first char
470  No need char  No need char
471  Starting byte set: a x \xc4  Starting byte set: a x \xc4
472    
473  /(\x{100}{0,2}a|x)/8SD  /(\x{100}{0,2}a|x)/8SDZ
474  ------------------------------------------------------------------  ------------------------------------------------------------------
475    0  21 Bra 0          Bra
476    3  10 Bra 1          CBra 1
477    6     \x{100}{,2}          \x{100}{0,2}
478   11     a          a
479   13   5 Alt          Alt
480   16     x          x
481   18  15 Ket          Ket
482   21  21 Ket          Ket
483   24     End          End
484  ------------------------------------------------------------------  ------------------------------------------------------------------
485  Capturing subpattern count = 1  Capturing subpattern count = 1
486  Partial matching not supported  Partial matching not supported
# Line 500  No first char Line 489  No first char
489  No need char  No need char
490  Starting byte set: a x \xc4  Starting byte set: a x \xc4
491    
492  /(\x{100}{1,2}a|x)/8SD  /(\x{100}{1,2}a|x)/8SDZ
493  ------------------------------------------------------------------  ------------------------------------------------------------------
494    0  24 Bra 0          Bra
495    3  13 Bra 1          CBra 1
496    6     \x{100}          \x{100}
497    9     \x{100}{,1}          \x{100}{0,1}
498   14     a          a
499   16   5 Alt          Alt
500   19     x          x
501   21  18 Ket          Ket
502   24  24 Ket          Ket
503   27     End          End
504  ------------------------------------------------------------------  ------------------------------------------------------------------
505  Capturing subpattern count = 1  Capturing subpattern count = 1
506  Partial matching not supported  Partial matching not supported
# Line 544  No match Line 533  No match
533      \x{100}\x{100}abcd      \x{100}\x{100}abcd
534  No match  No match
535    
536  /\x{100}/8D  /\x{100}/8DZ
537  ------------------------------------------------------------------  ------------------------------------------------------------------
538    0   6 Bra 0          Bra
539    3     \x{100}          \x{100}
540    6   6 Ket          Ket
541    9     End          End
542  ------------------------------------------------------------------  ------------------------------------------------------------------
543  Capturing subpattern count = 0  Capturing subpattern count = 0
544  Options: utf8  Options: utf8
545  First char = 196  First char = 196
546  Need char = 128  Need char = 128
547    
548  /\x{100}*/8D  /\x{100}*/8DZ
549  ------------------------------------------------------------------  ------------------------------------------------------------------
550    0   6 Bra 0          Bra
551    3     \x{100}*          \x{100}*
552    6   6 Ket          Ket
553    9     End          End
554  ------------------------------------------------------------------  ------------------------------------------------------------------
555  Capturing subpattern count = 0  Capturing subpattern count = 0
556  Partial matching not supported  Partial matching not supported
# Line 569  Options: utf8 Line 558  Options: utf8
558  No first char  No first char
559  No need char  No need char
560    
561  /a\x{100}*/8D  /a\x{100}*/8DZ
562  ------------------------------------------------------------------  ------------------------------------------------------------------
563    0   8 Bra 0          Bra
564    3     a          a
565    5     \x{100}*          \x{100}*
566    8   8 Ket          Ket
567   11     End          End
568  ------------------------------------------------------------------  ------------------------------------------------------------------
569  Capturing subpattern count = 0  Capturing subpattern count = 0
570  Partial matching not supported  Partial matching not supported
# Line 583  Options: utf8 Line 572  Options: utf8
572  First char = 'a'  First char = 'a'
573  No need char  No need char
574    
575  /ab\x{100}*/8D  /ab\x{100}*/8DZ
576  ------------------------------------------------------------------  ------------------------------------------------------------------
577    0  10 Bra 0          Bra
578    3     ab          ab
579    7     \x{100}*          \x{100}*
580   10  10 Ket          Ket
581   13     End          End
582  ------------------------------------------------------------------  ------------------------------------------------------------------
583  Capturing subpattern count = 0  Capturing subpattern count = 0
584  Partial matching not supported  Partial matching not supported
# Line 597  Options: utf8 Line 586  Options: utf8
586  First char = 'a'  First char = 'a'
587  Need char = 'b'  Need char = 'b'
588    
589  /a\x{100}\x{101}*/8D  /a\x{100}\x{101}*/8DZ
590  ------------------------------------------------------------------  ------------------------------------------------------------------
591    0  11 Bra 0          Bra
592    3     a\x{100}          a\x{100}
593    8     \x{101}*          \x{101}*
594   11  11 Ket          Ket
595   14     End          End
596  ------------------------------------------------------------------  ------------------------------------------------------------------
597  Capturing subpattern count = 0  Capturing subpattern count = 0
598  Partial matching not supported  Partial matching not supported
# Line 611  Options: utf8 Line 600  Options: utf8
600  First char = 'a'  First char = 'a'
601  Need char = 128  Need char = 128
602    
603  /a\x{100}\x{101}+/8D  /a\x{100}\x{101}+/8DZ
604  ------------------------------------------------------------------  ------------------------------------------------------------------
605    0  11 Bra 0          Bra
606    3     a\x{100}          a\x{100}
607    8     \x{101}+          \x{101}+
608   11  11 Ket          Ket
609   14     End          End
610  ------------------------------------------------------------------  ------------------------------------------------------------------
611  Capturing subpattern count = 0  Capturing subpattern count = 0
612  Partial matching not supported  Partial matching not supported
# Line 625  Options: utf8 Line 614  Options: utf8
614  First char = 'a'  First char = 'a'
615  Need char = 129  Need char = 129
616    
617  /\x{100}*A/8D  /\x{100}*A/8DZ
618  ------------------------------------------------------------------  ------------------------------------------------------------------
619    0   8 Bra 0          Bra
620    3     \x{100}*          \x{100}*+
621    6     A          A
622    8   8 Ket          Ket
623   11     End          End
624  ------------------------------------------------------------------  ------------------------------------------------------------------
625  Capturing subpattern count = 0  Capturing subpattern count = 0
626  Partial matching not supported  Partial matching not supported
# Line 641  Need char = 'A' Line 630  Need char = 'A'
630      A      A
631   0: A   0: A
632    
633  /\x{100}*\d(?R)/8D  /\x{100}*\d(?R)/8DZ
634  ------------------------------------------------------------------  ------------------------------------------------------------------
635    0  16 Bra 0          Bra
636    3     \x{100}*          \x{100}*+
637    6     \d          \d
638    7   6 Once          Once
639   10   0 Recurse          Recurse
640   13   6 Ket          Ket
641   16  16 Ket          Ket
642   19     End          End
643  ------------------------------------------------------------------  ------------------------------------------------------------------
644  Capturing subpattern count = 0  Capturing subpattern count = 0
645  Partial matching not supported  Partial matching not supported
# Line 658  Options: utf8 Line 647  Options: utf8
647  No first char  No first char
648  No need char  No need char
649    
650  /[^\x{c4}]/D  /[^\x{c4}]/DZ
651  ------------------------------------------------------------------  ------------------------------------------------------------------
652    0   5 Bra 0          Bra
653    3     [^\xc4]          [^\xc4]
654    5   5 Ket          Ket
655    8     End          End
656  ------------------------------------------------------------------  ------------------------------------------------------------------
657  Capturing subpattern count = 0  Capturing subpattern count = 0
658    Contains explicit CR or LF match
659  No options  No options
660  No first char  No first char
661  No need char  No need char
662    
663  /[^\x{c4}]/8D  /[^\x{c4}]/8DZ
664  ------------------------------------------------------------------  ------------------------------------------------------------------
665    0  36 Bra 0          Bra
666    3     [\x00-\xc3\xc5-\xff] (neg)          [\x00-\xc3\xc5-\xff] (neg)
667   36  36 Ket          Ket
668   39     End          End
669  ------------------------------------------------------------------  ------------------------------------------------------------------
670  Capturing subpattern count = 0  Capturing subpattern count = 0
671    Contains explicit CR or LF match
672  Options: utf8  Options: utf8
673  No first char  No first char
674  No need char  No need char
675    
676  /[\x{100}]/8DM  /[\x{100}]/8DZ
 Memory allocation (code space): 47  
677  ------------------------------------------------------------------  ------------------------------------------------------------------
678    0  11 Bra 0          Bra
679    3     [\x{100}]          [\x{100}]
680   11  11 Ket          Ket
681   14     End          End
682  ------------------------------------------------------------------  ------------------------------------------------------------------
683  Capturing subpattern count = 0  Capturing subpattern count = 0
684  Options: utf8  Options: utf8
# Line 703  No need char Line 693  No need char
693      *** Failers      *** Failers
694  No match  No match
695    
696  /[Z\x{100}]/8DM  /[Z\x{100}]/8DZ
 Memory allocation (code space): 47  
697  ------------------------------------------------------------------  ------------------------------------------------------------------
698    0  43 Bra 0          Bra
699    3     [Z\x{100}]          [Z\x{100}]
700   43  43 Ket          Ket
701   46     End          End
702  ------------------------------------------------------------------  ------------------------------------------------------------------
703  Capturing subpattern count = 0  Capturing subpattern count = 0
704  Options: utf8  Options: utf8
# Line 739  No match Line 728  No match
728      \x{ff}      \x{ff}
729  No match  No match
730    
731  /[z-\x{100}]/8D  /[z-\x{100}]/8DZ
732  ------------------------------------------------------------------  ------------------------------------------------------------------
733    0  12 Bra 0          Bra
734    3     [z-\x{100}]          [z-\x{100}]
735   12  12 Ket          Ket
736   15     End          End
737  ------------------------------------------------------------------  ------------------------------------------------------------------
738  Capturing subpattern count = 0  Capturing subpattern count = 0
739  Options: utf8  Options: utf8
740  No first char  No first char
741  No need char  No need char
742    
743  /[z\Qa-d]Ā\E]/8D  /[z\Qa-d]Ā\E]/8DZ
744  ------------------------------------------------------------------  ------------------------------------------------------------------
745    0  43 Bra 0          Bra
746    3     [\-\]adz\x{100}]          [\-\]adz\x{100}]
747   43  43 Ket          Ket
748   46     End          End
749  ------------------------------------------------------------------  ------------------------------------------------------------------
750  Capturing subpattern count = 0  Capturing subpattern count = 0
751  Options: utf8  Options: utf8
# Line 767  No need char Line 756  No need char
756      Ā      Ā
757   0: \x{100}   0: \x{100}
758    
759  /[\xFF]/D  /[\xFF]/DZ
760  ------------------------------------------------------------------  ------------------------------------------------------------------
761    0   5 Bra 0          Bra
762    3     \xff          \xff
763    5   5 Ket          Ket
764    8     End          End
765  ------------------------------------------------------------------  ------------------------------------------------------------------
766  Capturing subpattern count = 0  Capturing subpattern count = 0
767  No options  No options
# Line 781  No need char Line 770  No need char
770      >\xff<      >\xff<
771   0: \xff   0: \xff
772    
773  /[\xff]/D8  /[\xff]/DZ8
774  ------------------------------------------------------------------  ------------------------------------------------------------------
775    0   6 Bra 0          Bra
776    3     \x{ff}          \x{ff}
777    6   6 Ket          Ket
778    9     End          End
779  ------------------------------------------------------------------  ------------------------------------------------------------------
780  Capturing subpattern count = 0  Capturing subpattern count = 0
781  Options: utf8  Options: utf8
# Line 795  Need char = 191 Line 784  Need char = 191
784      >\x{ff}<      >\x{ff}<
785   0: \x{ff}   0: \x{ff}
786    
787  /[^\xFF]/D  /[^\xFF]/DZ
788  ------------------------------------------------------------------  ------------------------------------------------------------------
789    0   5 Bra 0          Bra
790    3     [^\xff]          [^\xff]
791    5   5 Ket          Ket
792    8     End          End
793  ------------------------------------------------------------------  ------------------------------------------------------------------
794  Capturing subpattern count = 0  Capturing subpattern count = 0
795    Contains explicit CR or LF match
796  No options  No options
797  No first char  No first char
798  No need char  No need char
799    
800  /[^\xff]/8D  /[^\xff]/8DZ
801  ------------------------------------------------------------------  ------------------------------------------------------------------
802    0  36 Bra 0          Bra
803    3     [\x00-\xfe] (neg)          [\x00-\xfe] (neg)
804   36  36 Ket          Ket
805   39     End          End
806  ------------------------------------------------------------------  ------------------------------------------------------------------
807  Capturing subpattern count = 0  Capturing subpattern count = 0
808    Contains explicit CR or LF match
809  Options: utf8  Options: utf8
810  No first char  No first char
811  No need char  No need char
# Line 852  Failed: invalid UTF-8 string at offset 0 Line 843  Failed: invalid UTF-8 string at offset 0
843  /xxx/8  /xxx/8
844  Failed: invalid UTF-8 string at offset 1  Failed: invalid UTF-8 string at offset 1
845    
846  /xxx/8?D  /xxx/8?DZ
847  ------------------------------------------------------------------  ------------------------------------------------------------------
848    0  15 Bra 0          Bra
849    3     \X{c0}\X{c0}\X{c0}xxx          \X{c0}\X{c0}\X{c0}xxx
850   15  15 Ket          Ket
851   18     End          End
852  ------------------------------------------------------------------  ------------------------------------------------------------------
853  Capturing subpattern count = 0  Capturing subpattern count = 0
854  Options: utf8 no_utf8_check  Options: utf8 no_utf8_check
# Line 902  No match Line 893  No match
893      \xf1\x8f\x80\x80      \xf1\x8f\x80\x80
894  No match  No match
895      \xf8\x88\x80\x80\x80      \xf8\x88\x80\x80\x80
896  No match  Error -10
897      \xf9\x87\x80\x80\x80      \xf9\x87\x80\x80\x80
898  No match  Error -10
899      \xfc\x84\x80\x80\x80\x80      \xfc\x84\x80\x80\x80\x80
900  No match  Error -10
901      \xfd\x83\x80\x80\x80\x80      \xfd\x83\x80\x80\x80\x80
902    Error -10
903        \?\xf8\x88\x80\x80\x80
904    No match
905        \?\xf9\x87\x80\x80\x80
906    No match
907        \?\xfc\x84\x80\x80\x80\x80
908    No match
909        \?\xfd\x83\x80\x80\x80\x80
910  No match  No match
911    
912  /\x{100}abc(xyz(?1))/8D  /\x{100}abc(xyz(?1))/8DZ
913  ------------------------------------------------------------------  ------------------------------------------------------------------
914    0  33 Bra 0          Bra
915    3     \x{100}abc          \x{100}abc
916   12  18 Bra 1          CBra 1
917   15     xyz          xyz
918   21   6 Once          Once
919   24  12 Recurse          Recurse
920   27   6 Ket          Ket
921   30  18 Ket          Ket
922   33  33 Ket          Ket
923   36     End          End
924  ------------------------------------------------------------------  ------------------------------------------------------------------
925  Capturing subpattern count = 1  Capturing subpattern count = 1
926  Options: utf8  Options: utf8
927  First char = 196  First char = 196
928  Need char = 'z'  Need char = 'z'
929    
930  /[^\x{100}]abc(xyz(?1))/8D  /[^\x{100}]abc(xyz(?1))/8DZ
931  ------------------------------------------------------------------  ------------------------------------------------------------------
932    0  38 Bra 0          Bra
933    3     [^\x{100}]          [^\x{100}]
934   11     abc          abc
935   17  18 Bra 1          CBra 1
936   20     xyz          xyz
937   26   6 Once          Once
938   29  17 Recurse          Recurse
939   32   6 Ket          Ket
940   35  18 Ket          Ket
941   38  38 Ket          Ket
942   41     End          End
943  ------------------------------------------------------------------  ------------------------------------------------------------------
944  Capturing subpattern count = 1  Capturing subpattern count = 1
945    Contains explicit CR or LF match
946  Options: utf8  Options: utf8
947  No first char  No first char
948  Need char = 'z'  Need char = 'z'
949    
950  /[ab\x{100}]abc(xyz(?1))/8D  /[ab\x{100}]abc(xyz(?1))/8DZ
951  ------------------------------------------------------------------  ------------------------------------------------------------------
952    0  70 Bra 0          Bra
953    3     [ab\x{100}]          [ab\x{100}]
954   43     abc          abc
955   49  18 Bra 1          CBra 1
956   52     xyz          xyz
957   58   6 Once          Once
958   61  49 Recurse          Recurse
959   64   6 Ket          Ket
960   67  18 Ket          Ket
961   70  70 Ket          Ket
962   73     End          End
963  ------------------------------------------------------------------  ------------------------------------------------------------------
964  Capturing subpattern count = 1  Capturing subpattern count = 1
965  Options: utf8  Options: utf8
966  No first char  No first char
967  Need char = 'z'  Need char = 'z'
968    
969  /(\x{100}(b(?2)c))?/D8  /(\x{100}(b(?2)c))?/DZ8
970  ------------------------------------------------------------------  ------------------------------------------------------------------
971    0  32 Bra 0          Bra
972    3     Brazero          Brazero
973    4  25 Bra 1          CBra 1
974    7     \x{100}          \x{100}
975   10  16 Bra 2          CBra 2
976   13     b          b
977   15   6 Once          Once
978   18  10 Recurse          Recurse
979   21   6 Ket          Ket
980   24     c          c
981   26  16 Ket          Ket
982   29  25 Ket          Ket
983   32  32 Ket          Ket
984   35     End          End
985  ------------------------------------------------------------------  ------------------------------------------------------------------
986  Capturing subpattern count = 2  Capturing subpattern count = 2
987  Options: utf8  Options: utf8
988  No first char  No first char
989  No need char  No need char
990    
991  /(\x{100}(b(?2)c)){0,2}/D8  /(\x{100}(b(?2)c)){0,2}/DZ8
992  ------------------------------------------------------------------  ------------------------------------------------------------------
993    0  67 Bra 0          Bra
994    3     Brazero          Brazero
995    4  60 Bra 0          Bra
996    7  25 Bra 1          CBra 1
997   10     \x{100}          \x{100}
998   13  16 Bra 2          CBra 2
999   16     b          b
1000   18   6 Once          Once
1001   21  13 Recurse          Recurse
1002   24   6 Ket          Ket
1003   27     c          c
1004   29  16 Ket          Ket
1005   32  25 Ket          Ket
1006   35     Brazero          Brazero
1007   36  25 Bra 1          CBra 1
1008   39     \x{100}          \x{100}
1009   42  16 Bra 2          CBra 2
1010   45     b          b
1011   47   6 Once          Once
1012   50  13 Recurse          Recurse
1013   53   6 Ket          Ket
1014   56     c          c
1015   58  16 Ket          Ket
1016   61  25 Ket          Ket
1017   64  60 Ket          Ket
1018   67  67 Ket          Ket
1019   70     End          End
1020  ------------------------------------------------------------------  ------------------------------------------------------------------
1021  Capturing subpattern count = 2  Capturing subpattern count = 2
1022  Options: utf8  Options: utf8
1023  No first char  No first char
1024  No need char  No need char
1025    
1026  /(\x{100}(b(?1)c))?/D8  /(\x{100}(b(?1)c))?/DZ8
1027  ------------------------------------------------------------------  ------------------------------------------------------------------
1028    0  32 Bra 0          Bra
1029    3     Brazero          Brazero
1030    4  25 Bra 1          CBra 1
1031    7     \x{100}          \x{100}
1032   10  16 Bra 2          CBra 2
1033   13     b          b
1034   15   6 Once          Once
1035   18   4 Recurse          Recurse
1036   21   6 Ket          Ket
1037   24     c          c
1038   26  16 Ket          Ket
1039   29  25 Ket          Ket
1040   32  32 Ket          Ket
1041   35     End          End
1042  ------------------------------------------------------------------  ------------------------------------------------------------------
1043  Capturing subpattern count = 2  Capturing subpattern count = 2
1044  Options: utf8  Options: utf8
1045  No first char  No first char
1046  No need char  No need char
1047    
1048  /(\x{100}(b(?1)c)){0,2}/D8  /(\x{100}(b(?1)c)){0,2}/DZ8
1049  ------------------------------------------------------------------  ------------------------------------------------------------------
1050    0  67 Bra 0          Bra
1051    3     Brazero          Brazero
1052    4  60 Bra 0          Bra
1053    7  25 Bra 1          CBra 1
1054   10     \x{100}          \x{100}
1055   13  16 Bra 2          CBra 2
1056   16     b          b
1057   18   6 Once          Once
1058   21   7 Recurse          Recurse
1059   24   6 Ket          Ket
1060   27     c          c
1061   29  16 Ket          Ket
1062   32  25 Ket          Ket
1063   35     Brazero          Brazero
1064   36  25 Bra 1          CBra 1
1065   39     \x{100}          \x{100}
1066   42  16 Bra 2          CBra 2
1067   45     b          b
1068   47   6 Once          Once
1069   50   7 Recurse          Recurse
1070   53   6 Ket          Ket
1071   56     c          c
1072   58  16 Ket          Ket
1073   61  25 Ket          Ket
1074   64  60 Ket          Ket
1075   67  67 Ket          Ket
1076   70     End          End
1077  ------------------------------------------------------------------  ------------------------------------------------------------------
1078  Capturing subpattern count = 2  Capturing subpattern count = 2
1079  Options: utf8  Options: utf8
# Line 1094  No need char Line 1094  No need char
1094      a\x{1234}b      a\x{1234}b
1095   0: a\x{1234}b   0: a\x{1234}b
1096    
1097  /^\ሴ/8D  /^\ሴ/8DZ
1098  ------------------------------------------------------------------  ------------------------------------------------------------------
1099    0   8 Bra 0          Bra
1100    3     ^          ^
1101    4     \x{1234}          \x{1234}
1102    8   8 Ket          Ket
1103   11     End          End
1104  ------------------------------------------------------------------  ------------------------------------------------------------------
1105  Capturing subpattern count = 0  Capturing subpattern count = 0
1106  Options: anchored utf8  Options: anchored utf8
# Line 1119  Need char = 191 Line 1119  Need char = 191
1119   0: \x{1ff}   0: \x{1ff}
1120    \777    \777
1121   0: \x{1ff}   0: \x{1ff}
1122    
1123    /\x{100}*\d/8DZ
1124    ------------------------------------------------------------------
1125            Bra
1126            \x{100}*+
1127            \d
1128            Ket
1129            End
1130    ------------------------------------------------------------------
1131    Capturing subpattern count = 0
1132    Partial matching not supported
1133    Options: utf8
1134    No first char
1135    No need char
1136    
1137    /\x{100}*\s/8DZ
1138    ------------------------------------------------------------------
1139            Bra
1140            \x{100}*+
1141            \s
1142            Ket
1143            End
1144    ------------------------------------------------------------------
1145    Capturing subpattern count = 0
1146    Partial matching not supported
1147    Options: utf8
1148    No first char
1149    No need char
1150    
1151    /\x{100}*\w/8DZ
1152    ------------------------------------------------------------------
1153            Bra
1154            \x{100}*+
1155            \w
1156            Ket
1157            End
1158    ------------------------------------------------------------------
1159    Capturing subpattern count = 0
1160    Partial matching not supported
1161    Options: utf8
1162    No first char
1163    No need char
1164    
1165    /\x{100}*\D/8DZ
1166    ------------------------------------------------------------------
1167            Bra
1168            \x{100}*
1169            \D
1170            Ket
1171            End
1172    ------------------------------------------------------------------
1173    Capturing subpattern count = 0
1174    Partial matching not supported
1175    Options: utf8
1176    No first char
1177    No need char
1178    
1179    /\x{100}*\S/8DZ
1180    ------------------------------------------------------------------
1181            Bra
1182            \x{100}*
1183            \S
1184            Ket
1185            End
1186    ------------------------------------------------------------------
1187    Capturing subpattern count = 0
1188    Partial matching not supported
1189    Options: utf8
1190    No first char
1191    No need char
1192    
1193    /\x{100}*\W/8DZ
1194    ------------------------------------------------------------------
1195            Bra
1196            \x{100}*
1197            \W
1198            Ket
1199            End
1200    ------------------------------------------------------------------
1201    Capturing subpattern count = 0
1202    Partial matching not supported
1203    Options: utf8
1204    No first char
1205    No need char
1206    
1207    /\x{100}+\x{200}/8DZ
1208    ------------------------------------------------------------------
1209            Bra
1210            \x{100}++
1211            \x{200}
1212            Ket
1213            End
1214    ------------------------------------------------------------------
1215    Capturing subpattern count = 0
1216    Partial matching not supported
1217    Options: utf8
1218    First char = 196
1219    Need char = 128
1220    
1221    /\x{100}+X/8DZ
1222    ------------------------------------------------------------------
1223            Bra
1224            \x{100}++
1225            X
1226            Ket
1227            End
1228    ------------------------------------------------------------------
1229    Capturing subpattern count = 0
1230    Partial matching not supported
1231    Options: utf8
1232    First char = 196
1233    Need char = 'X'
1234    
1235    /X+\x{200}/8DZ
1236    ------------------------------------------------------------------
1237            Bra
1238            X++
1239            \x{200}
1240            Ket
1241            End
1242    ------------------------------------------------------------------
1243    Capturing subpattern count = 0
1244    Partial matching not supported
1245    Options: utf8
1246    First char = 'X'
1247    Need char = 128
1248    
1249    /()()()()()()()()()()
1250     ()()()()()()()()()()
1251     ()()()()()()()()()()
1252     ()()()()()()()()()()
1253     A (x) (?41) B/8x
1254        AxxB
1255    Matched, but too many substrings
1256     0: AxxB
1257     1:
1258     2:
1259     3:
1260     4:
1261     5:
1262     6:
1263     7:
1264     8:
1265     9:
1266    10:
1267    11:
1268    12:
1269    13:
1270    14:
1271    
1272    /^[\x{100}\E-\Q\E\x{150}]/BZ8
1273    ------------------------------------------------------------------
1274            Bra
1275            ^
1276            [\x{100}-\x{150}]
1277            Ket
1278            End
1279    ------------------------------------------------------------------
1280    
1281    /^[\QĀ\E-\QŐ\E]/BZ8
1282    ------------------------------------------------------------------
1283            Bra
1284            ^
1285            [\x{100}-\x{150}]
1286            Ket
1287            End
1288    ------------------------------------------------------------------
1289    
1290    /^[\QĀ\E-\QŐ\E/BZ8
1291    Failed: missing terminating ] for character class at offset 15
1292    
1293    /^abc./mgx8<any>
1294        abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x{0085}abc7 \x{2028}abc8 \x{2029}abc9 JUNK
1295     0: abc1
1296     0: abc2
1297     0: abc3
1298     0: abc4
1299     0: abc5
1300     0: abc6
1301     0: abc7
1302     0: abc8
1303     0: abc9
1304    
1305    /abc.$/mgx8<any>
1306        abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x{0085} abc7\x{2028} abc8\x{2029} abc9
1307     0: abc1
1308     0: abc2
1309     0: abc3
1310     0: abc4
1311     0: abc5
1312     0: abc6
1313     0: abc7
1314     0: abc8
1315     0: abc9
1316    
1317    /^a\Rb/8
1318        a\nb
1319     0: a\x{0a}b
1320        a\rb
1321     0: a\x{0d}b
1322        a\r\nb
1323     0: a\x{0d}\x{0a}b
1324        a\x0bb
1325     0: a\x{0b}b
1326        a\x0cb
1327     0: a\x{0c}b
1328        a\x{85}b
1329     0: a\x{85}b
1330        a\x{2028}b
1331     0: a\x{2028}b
1332        a\x{2029}b
1333     0: a\x{2029}b
1334        ** Failers
1335    No match
1336        a\n\rb
1337    No match
1338    
1339    /^a\R*b/8
1340        ab
1341     0: ab
1342        a\nb
1343     0: a\x{0a}b
1344        a\rb
1345     0: a\x{0d}b
1346        a\r\nb
1347     0: a\x{0d}\x{0a}b
1348        a\x0bb
1349     0: a\x{0b}b
1350        a\x0c\x{2028}\x{2029}b
1351     0: a\x{0c}\x{2028}\x{2029}b
1352        a\x{85}b
1353     0: a\x{85}b
1354        a\n\rb
1355     0: a\x{0a}\x{0d}b
1356        a\n\r\x{85}\x0cb
1357     0: a\x{0a}\x{0d}\x{85}\x{0c}b
1358    
1359    /^a\R+b/8
1360        a\nb
1361     0: a\x{0a}b
1362        a\rb
1363     0: a\x{0d}b
1364        a\r\nb
1365     0: a\x{0d}\x{0a}b
1366        a\x0bb
1367     0: a\x{0b}b
1368        a\x0c\x{2028}\x{2029}b
1369     0: a\x{0c}\x{2028}\x{2029}b
1370        a\x{85}b
1371     0: a\x{85}b
1372        a\n\rb
1373     0: a\x{0a}\x{0d}b
1374        a\n\r\x{85}\x0cb
1375     0: a\x{0a}\x{0d}\x{85}\x{0c}b
1376        ** Failers
1377    No match
1378        ab
1379    No match
1380    
1381    /^a\R{1,3}b/8
1382        a\nb
1383     0: a\x{0a}b
1384        a\n\rb
1385     0: a\x{0a}\x{0d}b
1386        a\n\r\x{85}b
1387     0: a\x{0a}\x{0d}\x{85}b
1388        a\r\n\r\nb
1389     0: a\x{0d}\x{0a}\x{0d}\x{0a}b
1390        a\r\n\r\n\r\nb
1391     0: a\x{0d}\x{0a}\x{0d}\x{0a}\x{0d}\x{0a}b
1392        a\n\r\n\rb
1393     0: a\x{0a}\x{0d}\x{0a}\x{0d}b
1394        a\n\n\r\nb
1395     0: a\x{0a}\x{0a}\x{0d}\x{0a}b
1396        ** Failers
1397    No match
1398        a\n\n\n\rb
1399    No match
1400        a\r
1401    No match
1402    
1403    /\H\h\V\v/8
1404        X X\x0a
1405     0: X X\x{0a}
1406        X\x09X\x0b
1407     0: X\x{09}X\x{0b}
1408        ** Failers
1409    No match
1410        \x{a0} X\x0a
1411    No match
1412    
1413    /\H*\h+\V?\v{3,4}/8
1414        \x09\x20\x{a0}X\x0a\x0b\x0c\x0d\x0a
1415     0: \x{09} \x{a0}X\x{0a}\x{0b}\x{0c}\x{0d}
1416        \x09\x20\x{a0}\x0a\x0b\x0c\x0d\x0a
1417     0: \x{09} \x{a0}\x{0a}\x{0b}\x{0c}\x{0d}
1418        \x09\x20\x{a0}\x0a\x0b\x0c
1419     0: \x{09} \x{a0}\x{0a}\x{0b}\x{0c}
1420        ** Failers
1421    No match
1422        \x09\x20\x{a0}\x0a\x0b
1423    No match
1424    
1425    /\H\h\V\v/8
1426        \x{3001}\x{3000}\x{2030}\x{2028}
1427     0: \x{3001}\x{3000}\x{2030}\x{2028}
1428        X\x{180e}X\x{85}
1429     0: X\x{180e}X\x{85}
1430        ** Failers
1431    No match
1432        \x{2009} X\x0a
1433    No match
1434    
1435    /\H*\h+\V?\v{3,4}/8
1436        \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x0c\x0d\x0a
1437     0: \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x{0c}\x{0d}
1438        \x09\x{205f}\x{a0}\x0a\x{2029}\x0c\x{2028}\x0a
1439     0: \x{09}\x{205f}\x{a0}\x{0a}\x{2029}\x{0c}\x{2028}
1440        \x09\x20\x{202f}\x0a\x0b\x0c
1441     0: \x{09} \x{202f}\x{0a}\x{0b}\x{0c}
1442        ** Failers
1443    No match
1444        \x09\x{200a}\x{a0}\x{2028}\x0b
1445    No match
1446    
1447    /[\h]/8BZ
1448    ------------------------------------------------------------------
1449            Bra
1450            [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]
1451            Ket
1452            End
1453    ------------------------------------------------------------------
1454        >\x{1680}
1455     0: \x{1680}
1456    
1457    /[\h]{3,}/8BZ
1458    ------------------------------------------------------------------
1459            Bra
1460            [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]{3,}
1461            Ket
1462            End
1463    ------------------------------------------------------------------
1464        >\x{1680}\x{180e}\x{2000}\x{2003}\x{200a}\x{202f}\x{205f}\x{3000}<
1465     0: \x{1680}\x{180e}\x{2000}\x{2003}\x{200a}\x{202f}\x{205f}\x{3000}
1466    
1467    /[\v]/8BZ
1468    ------------------------------------------------------------------
1469            Bra
1470            [\x0a-\x0d\x85\x{2028}-\x{2029}]
1471            Ket
1472            End
1473    ------------------------------------------------------------------
1474    
1475    /[\H]/8BZ
1476    ------------------------------------------------------------------
1477            Bra
1478            [\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}]
1479            Ket
1480            End
1481    ------------------------------------------------------------------
1482    
1483    /[\V]/8BZ
1484    ------------------------------------------------------------------
1485            Bra
1486            [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{2029}-\x{7fffffff}]
1487            Ket
1488            End
1489    ------------------------------------------------------------------
1490    
1491    /.*$/8<any>
1492        \x{1ec5}
1493     0: \x{1ec5}
1494    
1495    /-- This tests the stricter UTF-8 check according to RFC 3629. --/
1496    
1497    /X/8
1498        \x{0}\x{d7ff}\x{e000}\x{10ffff}
1499    No match
1500        \x{d800}
1501    Error -10
1502        \x{d800}\?
1503    No match
1504        \x{da00}
1505    Error -10
1506        \x{da00}\?
1507    No match
1508        \x{dfff}
1509    Error -10
1510        \x{dfff}\?
1511    No match
1512        \x{110000}
1513    Error -10
1514        \x{110000}\?
1515    No match
1516        \x{2000000}
1517    Error -10
1518        \x{2000000}\?
1519    No match
1520        \x{7fffffff}
1521    Error -10
1522        \x{7fffffff}\?
1523    No match
1524    
1525  / End of testinput5 /  / End of testinput5 /

Legend:
Removed from v.91  
changed lines
  Added in v.226

  ViewVC Help
Powered by ViewVC 1.1.5