/[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 71 by nigel, Sat Feb 24 21:40:24 2007 UTC revision 226 by ph10, Tue Aug 21 11:46:08 2007 UTC
# Line 1  Line 1 
1  PCRE version 4.4 21-August-2003  /\x{100}/8DZ
   
 /\x{100}/8DM  
 Memory allocation (code space): 11  
2  ------------------------------------------------------------------  ------------------------------------------------------------------
3    0   7 Bra 0          Bra
4    3   2 \x{100}          \x{100}
5    7   7 Ket          Ket
6   10     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): 12  
14  ------------------------------------------------------------------  ------------------------------------------------------------------
15    0   8 Bra 0          Bra
16    3   3 \x{1000}          \x{1000}
17    8   8 Ket          Ket
18   11     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): 13  
26  ------------------------------------------------------------------  ------------------------------------------------------------------
27    0   9 Bra 0          Bra
28    3   4 \x{10000}          \x{10000}
29    9   9 Ket          Ket
30   12     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): 13  
38  ------------------------------------------------------------------  ------------------------------------------------------------------
39    0   9 Bra 0          Bra
40    3   4 \x{100000}          \x{100000}
41    9   9 Ket          Ket
42   12     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): 14  
50  ------------------------------------------------------------------  ------------------------------------------------------------------
51    0  10 Bra 0          Bra
52    3   5 \x{1000000}          \x{1000000}
53   10  10 Ket          Ket
54   13     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): 15  
62  ------------------------------------------------------------------  ------------------------------------------------------------------
63    0  11 Bra 0          Bra
64    3   6 \x{4000000}          \x{4000000}
65   11  11 Ket          Ket
66   14     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): 15  
74  ------------------------------------------------------------------  ------------------------------------------------------------------
75    0  11 Bra 0          Bra
76    3   6 \x{7fffffff}          \x{7fffffff}
77   11  11 Ket          Ket
78   14     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): 40  
86  ------------------------------------------------------------------  ------------------------------------------------------------------
87    0  36 Bra 0          Bra
88    3     [\xff]          \x{ff}
89   36  36 Ket          Ket
90   39     End          End
91  ------------------------------------------------------------------  ------------------------------------------------------------------
92  Capturing subpattern count = 0  Capturing subpattern count = 0
93  Options: utf8  Options: utf8
94  No first char  First char = 195
95  No need char  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   7 Bra 0          Bra
122    3   2 \x{80}          \x{80}
123    7   7 Ket          Ket
124   10     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   7 Bra 0          Bra
134    3   2 \x{ff}          \x{ff}
135    7   7 Ket          Ket
136   10     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  12 Bra 0          Bra
146    3   7 A\x{2262}\x{391}.          A\x{2262}\x{391}.
147   12  12 Ket          Ket
148   15     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  14 Bra 0          Bra
160    3   9 \x{d55c}\x{ad6d}\x{c5b4}          \x{d55c}\x{ad6d}\x{c5b4}
161   14  14 Ket          Ket
162   17     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  14 Bra 0          Bra
174    3   9 \x{65e5}\x{672c}\x{8a9e}          \x{65e5}\x{672c}\x{8a9e}
175   14  14 Ket          Ket
176   17     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   7 Bra 0          Bra
188    3   2 \x{80}          \x{80}
189    7   7 Ket          Ket
190   10     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   7 Bra 0          Bra
200    3   2 \x{84}          \x{84}
201    7   7 Ket          Ket
202   10     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   7 Bra 0          Bra
212    3   2 \x{104}          \x{104}
213    7   7 Ket          Ket
214   10     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   8 Bra 0          Bra
224    3   3 \x{861}          \x{861}
225    8   8 Ket          Ket
226   11     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   9 Bra 0          Bra
236    3   4 \x{212ab}          \x{212ab}
237    9   9 Ket          Ket
238   12     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  14 Bra 0          Bra
248    3     Any{3}          Any{3}
249    7     Any{0,2}          Any{0,2}
250   11   1 X          X
251   14  14 Ket          Ket
252   17     End          End
253  ------------------------------------------------------------------  ------------------------------------------------------------------
254  Capturing subpattern count = 0  Capturing subpattern count = 0
255    Partial matching not supported
256  Options: utf8  Options: utf8
257  No first char  No first char
258  Need char = 'X'  Need char = 'X'
# Line 270  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
273  Options: utf8  Options: utf8
274  No first char  No first char
275  No need char  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     [a-b]          [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
394  Starting character set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a  Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
395    \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19    \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19
396    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4
397    5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y    5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y
# 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
429  Options: utf8  Options: utf8
430  First char = 196  First char = 196
431  Need char = 128  Need char = 128
# Line 443  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  18 Bra 0          Bra
439    3   6 Bra 1          CBra 1
440    6     \x{100}+          \x{100}+
441    9   6 Alt          Alt
442   12   1 x          x
443   15  12 Ket          Ket
444   18  18 Ket          Ket
445   21     End          End
446  ------------------------------------------------------------------  ------------------------------------------------------------------
447  Capturing subpattern count = 1  Capturing subpattern count = 1
448    Partial matching not supported
449  Options: utf8  Options: utf8
450  No first char  No first char
451  No need char  No need char
452  Starting character set: x \xc4  Starting byte set: x \xc4
453    
454  /(\x{100}*a|x)/8SD  /(\x{100}*a|x)/8SDZ
455  ------------------------------------------------------------------  ------------------------------------------------------------------
456    0  21 Bra 0          Bra
457    3   9 Bra 1          CBra 1
458    6     \x{100}*          \x{100}*+
459    9   1 a          a
460   12   6 Alt          Alt
461   15   1 x          x
462   18  15 Ket          Ket
463   21  21 Ket          Ket
464   24     End          End
465  ------------------------------------------------------------------  ------------------------------------------------------------------
466  Capturing subpattern count = 1  Capturing subpattern count = 1
467    Partial matching not supported
468  Options: utf8  Options: utf8
469  No first char  No first char
470  No need char  No need char
471  Starting character 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  23 Bra 0          Bra
476    3  11 Bra 1          CBra 1
477    6     \x{100}{,2}          \x{100}{0,2}
478   11   1 a          a
479   14   6 Alt          Alt
480   17   1 x          x
481   20  17 Ket          Ket
482   23  23 Ket          Ket
483   26     End          End
484  ------------------------------------------------------------------  ------------------------------------------------------------------
485  Capturing subpattern count = 1  Capturing subpattern count = 1
486    Partial matching not supported
487  Options: utf8  Options: utf8
488  No first char  No first char
489  No need char  No need char
490  Starting character 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  27 Bra 0          Bra
495    3  15 Bra 1          CBra 1
496    6   2 \x{100}          \x{100}
497   10     \x{100}{,1}          \x{100}{0,1}
498   15   1 a          a
499   18   6 Alt          Alt
500   21   1 x          x
501   24  21 Ket          Ket
502   27  27 Ket          Ket
503   30     End          End
504  ------------------------------------------------------------------  ------------------------------------------------------------------
505  Capturing subpattern count = 1  Capturing subpattern count = 1
506    Partial matching not supported
507  Options: utf8  Options: utf8
508  No first char  No first char
509  No need char  No need char
510  Starting character set: x \xc4  Starting byte set: x \xc4
511    
512  /\x{100}*(\d+|"(?1)")/8  /\x{100}*(\d+|"(?1)")/8
513      1234      1234
# Line 539  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   7 Bra 0          Bra
539    3   2 \x{100}          \x{100}
540    7   7 Ket          Ket
541   10     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
557  Options: utf8  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   9 Bra 0          Bra
564    3   1 a          a
565    6     \x{100}*          \x{100}*
566    9   9 Ket          Ket
567   12     End          End
568  ------------------------------------------------------------------  ------------------------------------------------------------------
569  Capturing subpattern count = 0  Capturing subpattern count = 0
570    Partial matching not supported
571  Options: utf8  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   2 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
585  Options: utf8  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   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
599  Options: utf8  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   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
613  Options: utf8  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   9 Bra 0          Bra
620    3     \x{100}*          \x{100}*+
621    6   1 A          A
622    9   9 Ket          Ket
623   12     End          End
624  ------------------------------------------------------------------  ------------------------------------------------------------------
625  Capturing subpattern count = 0  Capturing subpattern count = 0
626    Partial matching not supported
627  Options: utf8  Options: utf8
628  No first char  No first char
629  Need char = 'A'  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  10 Bra 0          Bra
636    3     \x{100}*          \x{100}*+
637    6     \d          \d
638    7   0 Recurse          Once
639   10  10 Ket          Recurse
640   13     End          Ket
641            Ket
642            End
643  ------------------------------------------------------------------  ------------------------------------------------------------------
644  Capturing subpattern count = 0  Capturing subpattern count = 0
645    Partial matching not supported
646  Options: utf8  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  36 Bra 0          Bra
653    3     [\x01-35-bd-z|~-\xff] (neg)          [^\xc4]
654   36  36 Ket          Ket
655   39     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 689  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 725  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-\x{100}]/8Di  /[z\Qa-d]Ā\E]/8DZ
 ------------------------------------------------------------------  
   0  45 Bra 0  
   3     [Zz-\xff\x{100}-\x{100}]  
  45  45 Ket  
  48     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: caseless utf8  
 No first char  
 No need char  
   
 /[z\Qa-d]Ā\E]/8D  
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 765  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   6 Bra 0          Bra
762    3   1 \xff          \xff
763    6   6 Ket          Ket
764    9     End          End
765  ------------------------------------------------------------------  ------------------------------------------------------------------
766  Capturing subpattern count = 0  Capturing subpattern count = 0
767  No options  No options
# Line 779  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  36 Bra 0          Bra
776    3     [\xff]          \x{ff}
777   36  36 Ket          Ket
778   39     End          End
779  ------------------------------------------------------------------  ------------------------------------------------------------------
780  Capturing subpattern count = 0  Capturing subpattern count = 0
781  Options: utf8  Options: utf8
782  No first char  First char = 195
783  No need char  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 850  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  11 Bra 0          Bra
849    3   6 \x{c3}\x{f8}xx          \X{c0}\X{c0}\X{c0}xxx
850   11  11 Ket          Ket
851   14     End          End
852  ------------------------------------------------------------------  ------------------------------------------------------------------
853  Capturing subpattern count = 0  Capturing subpattern count = 0
854  Options: utf8 no_utf8_check  Options: utf8 no_utf8_check
# Line 863  First char = 195 Line 856  First char = 195
856  Need char = 'x'  Need char = 'x'
857    
858  /abc/8  /abc/8
859     ]      ]
860  Error -10  Error -10
861          
862  Error -10  Error -10
863          
864  Error -10  Error -10
865     \?      \?
866  No match  No match
867    
868  / End of testinput5 /  /anything/8
869        \xc0\x80
870    Error -10
871        \xc1\x8f
872    Error -10
873        \xe0\x9f\x80
874    Error -10
875        \xf0\x8f\x80\x80
876    Error -10
877        \xf8\x87\x80\x80\x80
878    Error -10
879        \xfc\x83\x80\x80\x80\x80
880    Error -10
881        \xfe\x80\x80\x80\x80\x80
882    Error -10
883        \xff\x80\x80\x80\x80\x80
884    Error -10
885        \xc3\x8f
886    No match
887        \xe0\xaf\x80
888    No match
889        \xe1\x80\x80
890    No match
891        \xf0\x9f\x80\x80
892    No match
893        \xf1\x8f\x80\x80
894    No match
895        \xf8\x88\x80\x80\x80
896    Error -10
897        \xf9\x87\x80\x80\x80
898    Error -10
899        \xfc\x84\x80\x80\x80\x80
900    Error -10
901        \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
911    
912    /\x{100}abc(xyz(?1))/8DZ
913    ------------------------------------------------------------------
914            Bra
915            \x{100}abc
916            CBra 1
917            xyz
918            Once
919            Recurse
920            Ket
921            Ket
922            Ket
923            End
924    ------------------------------------------------------------------
925    Capturing subpattern count = 1
926    Options: utf8
927    First char = 196
928    Need char = 'z'
929    
930    /[^\x{100}]abc(xyz(?1))/8DZ
931    ------------------------------------------------------------------
932            Bra
933            [^\x{100}]
934            abc
935            CBra 1
936            xyz
937            Once
938            Recurse
939            Ket
940            Ket
941            Ket
942            End
943    ------------------------------------------------------------------
944    Capturing subpattern count = 1
945    Contains explicit CR or LF match
946    Options: utf8
947    No first char
948    Need char = 'z'
949    
950    /[ab\x{100}]abc(xyz(?1))/8DZ
951    ------------------------------------------------------------------
952            Bra
953            [ab\x{100}]
954            abc
955            CBra 1
956            xyz
957            Once
958            Recurse
959            Ket
960            Ket
961            Ket
962            End
963    ------------------------------------------------------------------
964    Capturing subpattern count = 1
965    Options: utf8
966    No first char
967    Need char = 'z'
968    
969    /(\x{100}(b(?2)c))?/DZ8
970    ------------------------------------------------------------------
971            Bra
972            Brazero
973            CBra 1
974            \x{100}
975            CBra 2
976            b
977            Once
978            Recurse
979            Ket
980            c
981            Ket
982            Ket
983            Ket
984            End
985    ------------------------------------------------------------------
986    Capturing subpattern count = 2
987    Options: utf8
988    No first char
989    No need char
990    
991    /(\x{100}(b(?2)c)){0,2}/DZ8
992    ------------------------------------------------------------------
993            Bra
994            Brazero
995            Bra
996            CBra 1
997            \x{100}
998            CBra 2
999            b
1000            Once
1001            Recurse
1002            Ket
1003            c
1004            Ket
1005            Ket
1006            Brazero
1007            CBra 1
1008            \x{100}
1009            CBra 2
1010            b
1011            Once
1012            Recurse
1013            Ket
1014            c
1015            Ket
1016            Ket
1017            Ket
1018            Ket
1019            End
1020    ------------------------------------------------------------------
1021    Capturing subpattern count = 2
1022    Options: utf8
1023    No first char
1024    No need char
1025    
1026    /(\x{100}(b(?1)c))?/DZ8
1027    ------------------------------------------------------------------
1028            Bra
1029            Brazero
1030            CBra 1
1031            \x{100}
1032            CBra 2
1033            b
1034            Once
1035            Recurse
1036            Ket
1037            c
1038            Ket
1039            Ket
1040            Ket
1041            End
1042    ------------------------------------------------------------------
1043    Capturing subpattern count = 2
1044    Options: utf8
1045    No first char
1046    No need char
1047    
1048    /(\x{100}(b(?1)c)){0,2}/DZ8
1049    ------------------------------------------------------------------
1050            Bra
1051            Brazero
1052            Bra
1053            CBra 1
1054            \x{100}
1055            CBra 2
1056            b
1057            Once
1058            Recurse
1059            Ket
1060            c
1061            Ket
1062            Ket
1063            Brazero
1064            CBra 1
1065            \x{100}
1066            CBra 2
1067            b
1068            Once
1069            Recurse
1070            Ket
1071            c
1072            Ket
1073            Ket
1074            Ket
1075            Ket
1076            End
1077    ------------------------------------------------------------------
1078    Capturing subpattern count = 2
1079    Options: utf8
1080    No first char
1081    No need char
1082    
1083    /\W/8
1084        A.B
1085     0: .
1086        A\x{100}B
1087     0: \x{100}
1088    
1089    /\w/8
1090        \x{100}X
1091     0: X
1092    
1093    /a\x{1234}b/P8
1094        a\x{1234}b
1095     0: a\x{1234}b
1096    
1097    /^\ሴ/8DZ
1098    ------------------------------------------------------------------
1099            Bra
1100            ^
1101            \x{1234}
1102            Ket
1103            End
1104    ------------------------------------------------------------------
1105    Capturing subpattern count = 0
1106    Options: anchored utf8
1107    No first char
1108    No need char
1109    
1110    /\777/I
1111    Failed: octal value is greater than \377 (not in UTF-8 mode) at offset 3
1112    
1113    /\777/8I
1114    Capturing subpattern count = 0
1115    Options: utf8
1116    First char = 199
1117    Need char = 191
1118      \x{1ff}
1119     0: \x{1ff}
1120      \777
1121     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 /

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

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12