/[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 65 by nigel, Sat Feb 24 21:40:08 2007 UTC revision 836 by ph10, Wed Dec 28 17:16:11 2011 UTC
# Line 1  Line 1 
1  PCRE version 4.1 12-Mar-2003  /-- This set of tests checks the API, internals, and non-Perl stuff for UTF
2        support, excluding Unicode properties. However, tests that give different
3        results in 8-bit and 16-bit modes are excluded (see tests 16 and 17). --/
4    
5  /\x{100}/8DM  /\x{110000}/8DZ
6  Memory allocation (code space): 11  Failed: character value in \x{...} sequence is too large at offset 9
 ------------------------------------------------------------------  
   0   7 Bra 0  
   3   2 \x{100}  
   7   7 Ket  
  10     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 196  
 Need char = 128  
   
 /\x{1000}/8DM  
 Memory allocation (code space): 12  
 ------------------------------------------------------------------  
   0   8 Bra 0  
   3   3 \x{1000}  
   8   8 Ket  
  11     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 225  
 Need char = 128  
   
 /\x{10000}/8DM  
 Memory allocation (code space): 13  
 ------------------------------------------------------------------  
   0   9 Bra 0  
   3   4 \x{10000}  
   9   9 Ket  
  12     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 240  
 Need char = 128  
   
 /\x{100000}/8DM  
 Memory allocation (code space): 13  
 ------------------------------------------------------------------  
   0   9 Bra 0  
   3   4 \x{100000}  
   9   9 Ket  
  12     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 244  
 Need char = 128  
   
 /\x{1000000}/8DM  
 Memory allocation (code space): 14  
 ------------------------------------------------------------------  
   0  10 Bra 0  
   3   5 \x{1000000}  
  10  10 Ket  
  13     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 249  
 Need char = 128  
   
 /\x{4000000}/8DM  
 Memory allocation (code space): 15  
 ------------------------------------------------------------------  
   0  11 Bra 0  
   3   6 \x{4000000}  
  11  11 Ket  
  14     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 252  
 Need char = 128  
   
 /\x{7fffFFFF}/8DM  
 Memory allocation (code space): 15  
 ------------------------------------------------------------------  
   0  11 Bra 0  
   3   6 \x{7fffffff}  
  11  11 Ket  
  14     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 253  
 Need char = 191  
   
 /[\x{ff}]/8DM  
 Memory allocation (code space): 40  
 ------------------------------------------------------------------  
   0  36 Bra 0  
   3     [\xff]  
  36  36 Ket  
  39     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 No first char  
 No need char  
   
 /[\x{100}]/8DM  
 Memory allocation (code space): 47  
 ------------------------------------------------------------------  
   0  11 Bra 0  
   3     [\x{100}]  
  11  11 Ket  
  14     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 No first char  
 No need char  
7    
8  /\x{ffffffff}/8  /\x{ffffffff}/8
9  Failed: character value in \x{...} sequence is too large at offset 11  Failed: character value in \x{...} sequence is too large at offset 11
# Line 123  Failed: character value in \x{...} seque Line 11  Failed: character value in \x{...} seque
11  /\x{100000000}/8  /\x{100000000}/8
12  Failed: character value in \x{...} sequence is too large at offset 12  Failed: character value in \x{...} sequence is too large at offset 12
13    
14    /\x{d800}/8
15    Failed: disallowed UTF-8/16 code point (>= 0xd800 && <= 0xdfff) at offset 7
16    
17    /\x{dfff}/8
18    Failed: disallowed UTF-8/16 code point (>= 0xd800 && <= 0xdfff) at offset 7
19    
20    /\x{d7ff}/8
21    
22    /\x{e000}/8
23    
24  /^\x{100}a\x{1234}/8  /^\x{100}a\x{1234}/8
25      \x{100}a\x{1234}bcd      \x{100}a\x{1234}bcd
26   0: \x{100}a\x{1234}   0: \x{100}a\x{1234}
27    
28  /\x80/8D  /\x{0041}\x{2262}\x{0391}\x{002e}/DZ8
 ------------------------------------------------------------------  
   0   7 Bra 0  
   3   2 \x{80}  
   7   7 Ket  
  10     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 194  
 Need char = 128  
   
 /\xff/8D  
 ------------------------------------------------------------------  
   0   7 Bra 0  
   3   2 \x{ff}  
   7   7 Ket  
  10     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 195  
 Need char = 191  
   
 /\x{0041}\x{2262}\x{0391}\x{002e}/D8  
29  ------------------------------------------------------------------  ------------------------------------------------------------------
30    0  12 Bra 0          Bra
31    3   7 A\x{2262}\x{391}.          A\x{2262}\x{391}.
32   12  12 Ket          Ket
33   15     End          End
34  ------------------------------------------------------------------  ------------------------------------------------------------------
35  Capturing subpattern count = 0  Capturing subpattern count = 0
36  Options: utf8  Options: utf
37  First char = 'A'  First char = 'A'
38  Need char = '.'  Need char = '.'
39      \x{0041}\x{2262}\x{0391}\x{002e}      \x{0041}\x{2262}\x{0391}\x{002e}
40   0: A\x{2262}\x{391}.   0: A\x{2262}\x{391}.
41    
42  /\x{D55c}\x{ad6d}\x{C5B4}/D8  /.{3,5}X/DZ8
43  ------------------------------------------------------------------  ------------------------------------------------------------------
44    0  14 Bra 0          Bra
45    3   9 \x{d55c}\x{ad6d}\x{c5b4}          Any{3}
46   14  14 Ket          Any{0,2}
47   17     End          X
48            Ket
49            End
50  ------------------------------------------------------------------  ------------------------------------------------------------------
51  Capturing subpattern count = 0  Capturing subpattern count = 0
52  Options: utf8  Options: utf
 First char = 237  
 Need char = 180  
     \x{D55c}\x{ad6d}\x{C5B4}  
  0: \x{d55c}\x{ad6d}\x{c5b4}  
   
 /\x{65e5}\x{672c}\x{8a9e}/D8  
 ------------------------------------------------------------------  
   0  14 Bra 0  
   3   9 \x{65e5}\x{672c}\x{8a9e}  
  14  14 Ket  
  17     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 230  
 Need char = 158  
     \x{65e5}\x{672c}\x{8a9e}  
  0: \x{65e5}\x{672c}\x{8a9e}  
   
 /\x{80}/D8  
 ------------------------------------------------------------------  
   0   7 Bra 0  
   3   2 \x{80}  
   7   7 Ket  
  10     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 194  
 Need char = 128  
   
 /\x{084}/D8  
 ------------------------------------------------------------------  
   0   7 Bra 0  
   3   2 \x{84}  
   7   7 Ket  
  10     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 194  
 Need char = 132  
   
 /\x{104}/D8  
 ------------------------------------------------------------------  
   0   7 Bra 0  
   3   2 \x{104}  
   7   7 Ket  
  10     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 196  
 Need char = 132  
   
 /\x{861}/D8  
 ------------------------------------------------------------------  
   0   8 Bra 0  
   3   3 \x{861}  
   8   8 Ket  
  11     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 224  
 Need char = 161  
   
 /\x{212ab}/D8  
 ------------------------------------------------------------------  
   0   9 Bra 0  
   3   4 \x{212ab}  
   9   9 Ket  
  12     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 240  
 Need char = 171  
   
 /.{3,5}X/D8  
 ------------------------------------------------------------------  
   0  14 Bra 0  
   3     Any{3}  
   7     Any{0,2}  
  11   1 X  
  14  14 Ket  
  17     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
53  No first char  No first char
54  Need char = 'X'  Need char = 'X'
55      \x{212ab}\x{212ab}\x{212ab}\x{861}X      \x{212ab}\x{212ab}\x{212ab}\x{861}X
56   0: \x{212ab}\x{212ab}\x{212ab}\x{861}X   0: \x{212ab}\x{212ab}\x{212ab}\x{861}X
57    
58    /.{3,5}?/DZ8
 /.{3,5}?/D8  
59  ------------------------------------------------------------------  ------------------------------------------------------------------
60    0  11 Bra 0          Bra
61    3     Any{3}          Any{3}
62    7     Any{0,2}?          Any{0,2}?
63   11  11 Ket          Ket
64   14     End          End
65  ------------------------------------------------------------------  ------------------------------------------------------------------
66  Capturing subpattern count = 0  Capturing subpattern count = 0
67  Options: utf8  Options: utf
68  No first char  No first char
69  No need char  No need char
70      \x{212ab}\x{212ab}\x{212ab}\x{861}      \x{212ab}\x{212ab}\x{212ab}\x{861}
71   0: \x{212ab}\x{212ab}\x{212ab}   0: \x{212ab}\x{212ab}\x{212ab}
72    
 /-- These tests are here rather than in testinput4 because Perl 5.6 has --/  
 /-- some problems with UTF-8 support, in the area of \x{..} where the   --/  
 No match  
 /-- value is < 255. It grumbles about invalid UTF-8 strings.            --/  
 No match  
   
 /^[a\x{c0}]b/8  
     \x{c0}b  
  0: \x{c0}b  
   
 /^([a\x{c0}]*?)aa/8  
     a\x{c0}aaaa/  
  0: a\x{c0}aa  
  1: a\x{c0}  
   
 /^([a\x{c0}]*?)aa/8  
     a\x{c0}aaaa/  
  0: a\x{c0}aa  
  1: a\x{c0}  
     a\x{c0}a\x{c0}aaa/  
  0: a\x{c0}a\x{c0}aa  
  1: a\x{c0}a\x{c0}  
   
 /^([a\x{c0}]*)aa/8  
     a\x{c0}aaaa/  
  0: a\x{c0}aaaa  
  1: a\x{c0}aa  
     a\x{c0}a\x{c0}aaa/  
  0: a\x{c0}a\x{c0}aaa  
  1: a\x{c0}a\x{c0}a  
   
 /^([a\x{c0}]*)a\x{c0}/8  
     a\x{c0}aaaa/  
  0: a\x{c0}  
  1:  
     a\x{c0}a\x{c0}aaa/  
  0: a\x{c0}a\x{c0}  
  1: a\x{c0}  
   
 /-- --/  
   
73  /(?<=\C)X/8  /(?<=\C)X/8
74  Failed: \C not allowed in lookbehind assertion at offset 6  Failed: \C not allowed in lookbehind assertion at offset 6
75    
76  /-- This one is here not because it's different to Perl, but because the --/  /^[ab]/8DZ
 /-- way the captured single-byte is displayed. (In Perl it becomes a --/  
 No match  
 /-- character, and you can't tell the difference.) --/  
 No match  
   
 /X(\C)(.*)/8  
     X\x{1234}  
  0: X\x{1234}  
  1: \xe1  
  2: \x88\xb4  
     X\nabc  
  0: X\x{0a}abc  
  1: \x{0a}  
  2: abc  
   
 /^[ab]/8D  
77  ------------------------------------------------------------------  ------------------------------------------------------------------
78    0  37 Bra 0          Bra
79    3     ^          ^
80    4     [a-b]          [ab]
81   37  37 Ket          Ket
82   40     End          End
83  ------------------------------------------------------------------  ------------------------------------------------------------------
84  Capturing subpattern count = 0  Capturing subpattern count = 0
85  Options: anchored utf8  Options: anchored utf
86  No first char  No first char
87  No need char  No need char
88      bar      bar
# Line 368  No match Line 96  No match
96      \x{100}      \x{100}
97  No match  No match
98    
99  /^[^ab]/8D  /^[^ab]/8DZ
100  ------------------------------------------------------------------  ------------------------------------------------------------------
101    0  37 Bra 0          Bra
102    3     ^          ^
103    4     [\x00-`c-\xff] (neg)          [\x00-`c-\xff] (neg)
104   37  37 Ket          Ket
105   40     End          End
106  ------------------------------------------------------------------  ------------------------------------------------------------------
107  Capturing subpattern count = 0  Capturing subpattern count = 0
108  Options: anchored utf8  Options: anchored utf
109  No first char  No first char
110  No need char  No need char
111      c      c
# Line 391  No need char Line 119  No need char
119      aaa      aaa
120  No match  No match
121    
122  /[^ab\xC0-\xF0]/8SD  /\x{100}*(\d+|"(?1)")/8
123  ------------------------------------------------------------------      1234
124    0  36 Bra 0   0: 1234
125    3     [\x00-`c-\xbf\xf1-\xff] (neg)   1: 1234
126   36  36 Ket      "1234"
127   39     End   0: "1234"
128  ------------------------------------------------------------------   1: "1234"
129  Capturing subpattern count = 0      \x{100}1234
130  Options: utf8   0: \x{100}1234
131  No first char   1: 1234
132  No need char      "\x{100}1234"
133  Study size = 40   0: \x{100}1234
134  Starting character set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a   1: 1234
135    \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19      \x{100}\x{100}12ab
136    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4   0: \x{100}\x{100}12
137    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   1: 12
138    Z [ \ ] ^ _ ` c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f      \x{100}\x{100}"12"
139    \x80 \x81 \x82 \x83 \x84 \x85 \x86 \x87 \x88 \x89 \x8a \x8b \x8c \x8d \x8e   0: \x{100}\x{100}"12"
140    \x8f \x90 \x91 \x92 \x93 \x94 \x95 \x96 \x97 \x98 \x99 \x9a \x9b \x9c \x9d   1: "12"
141    \x9e \x9f \xa0 \xa1 \xa2 \xa3 \xa4 \xa5 \xa6 \xa7 \xa8 \xa9 \xaa \xab \xac      *** Failers
   \xad \xae \xaf \xb0 \xb1 \xb2 \xb3 \xb4 \xb5 \xb6 \xb7 \xb8 \xb9 \xba \xbb  
   \xbc \xbd \xbe \xbf \xc0 \xc1 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca  
   \xcb \xcc \xcd \xce \xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9  
   \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8  
   \xe9 \xea \xeb \xec \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7  
   \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff  
     \x{f1}  
  0: \x{f1}  
     \x{bf}  
  0: \x{bf}  
     \x{100}  
  0: \x{100}  
     \x{1000}  
  0: \x{1000}  
     *** Failers  
  0: *  
     \x{c0}  
142  No match  No match
143      \x{f0}      \x{100}\x{100}abcd
144  No match  No match
145    
146  /Ā{3,4}/8SD  /\x{100}*/8DZ
147  ------------------------------------------------------------------  ------------------------------------------------------------------
148    0  13 Bra 0          Bra
149    3     \x{100}{3}          \x{100}*
150    8     \x{100}{,1}          Ket
151   13  13 Ket          End
  16     End  
152  ------------------------------------------------------------------  ------------------------------------------------------------------
153  Capturing subpattern count = 0  Capturing subpattern count = 0
154  Options: utf8  Options: utf
155  First char = 196  No first char
156  Need char = 128  No need char
 Study returned NULL  
   \x{100}\x{100}\x{100}\x{100\x{100}  
  0: \x{100}\x{100}\x{100}  
157    
158  /(\x{100}+|x)/8SD  /a\x{100}*/8DZ
159  ------------------------------------------------------------------  ------------------------------------------------------------------
160    0  18 Bra 0          Bra
161    3   6 Bra 1          a
162    6     \x{100}+          \x{100}*
163    9   6 Alt          Ket
164   12   1 x          End
  15  12 Ket  
  18  18 Ket  
  21     End  
165  ------------------------------------------------------------------  ------------------------------------------------------------------
166  Capturing subpattern count = 1  Capturing subpattern count = 0
167  Options: utf8  Options: utf
168  No first char  First char = 'a'
169  No need char  No need char
 Study size = 40  
 Starting character set: x \xc4  
170    
171  /(\x{100}*a|x)/8SD  /ab\x{100}*/8DZ
172  ------------------------------------------------------------------  ------------------------------------------------------------------
173    0  21 Bra 0          Bra
174    3   9 Bra 1          ab
175    6     \x{100}*          \x{100}*
176    9   1 a          Ket
177   12   6 Alt          End
  15   1 x  
  18  15 Ket  
  21  21 Ket  
  24     End  
178  ------------------------------------------------------------------  ------------------------------------------------------------------
179  Capturing subpattern count = 1  Capturing subpattern count = 0
180  Options: utf8  Options: utf
181    First char = 'a'
182    Need char = 'b'
183    
184    /\x{100}*A/8DZ
185    ------------------------------------------------------------------
186            Bra
187            \x{100}*+
188            A
189            Ket
190            End
191    ------------------------------------------------------------------
192    Capturing subpattern count = 0
193    Options: utf
194  No first char  No first char
195  No need char  Need char = 'A'
196  Study size = 40      A
197  Starting character set: a x \xc4   0: A
198    
199  /(\x{100}{0,2}a|x)/8SD  /\x{100}*\d(?R)/8DZ
200  ------------------------------------------------------------------  ------------------------------------------------------------------
201    0  23 Bra 0          Bra
202    3  11 Bra 1          \x{100}*+
203    6     \x{100}{,2}          \d
204   11   1 a          Recurse
205   14   6 Alt          Ket
206   17   1 x          End
  20  17 Ket  
  23  23 Ket  
  26     End  
207  ------------------------------------------------------------------  ------------------------------------------------------------------
208  Capturing subpattern count = 1  Capturing subpattern count = 0
209  Options: utf8  Options: utf
210  No first char  No first char
211  No need char  No need char
 Study size = 40  
 Starting character set: a x \xc4  
212    
213  /(\x{100}{1,2}a|x)/8SD  /[Z\x{100}]/8DZ
214  ------------------------------------------------------------------  ------------------------------------------------------------------
215    0  27 Bra 0          Bra
216    3  15 Bra 1          [Z\x{100}]
217    6   2 \x{100}          Ket
218   10     \x{100}{,1}          End
  15   1 a  
  18   6 Alt  
  21   1 x  
  24  21 Ket  
  27  27 Ket  
  30     End  
219  ------------------------------------------------------------------  ------------------------------------------------------------------
220  Capturing subpattern count = 1  Capturing subpattern count = 0
221  Options: utf8  Options: utf
222  No first char  No first char
223  No need char  No need char
224  Study size = 40      Z\x{100}
225  Starting character set: x \xc4   0: Z
226        \x{100}
227  /\x{100}*(\d+|"(?1)")/8   0: \x{100}
228      1234      \x{100}Z
229   0: 1234   0: \x{100}
  1: 1234  
     "1234"  
  0: "1234"  
  1: "1234"  
     \x{100}1234  
  0: \x{100}1234  
  1: 1234  
     "\x{100}1234"  
  0: \x{100}1234  
  1: 1234  
     \x{100}\x{100}12ab  
  0: \x{100}\x{100}12  
  1: 12  
     \x{100}\x{100}"12"  
  0: \x{100}\x{100}"12"  
  1: "12"  
230      *** Failers      *** Failers
231  No match  No match
232      \x{100}\x{100}abcd  
233    /[\x{200}-\x{100}]/8
234    Failed: range out of order in character class at offset 15
235    
236    /[Ā-Ą]/8
237        \x{100}
238     0: \x{100}
239        \x{104}
240     0: \x{104}
241        *** Failers
242    No match
243        \x{105}
244    No match
245        \x{ff}
246  No match  No match
247    
248  /\x{100}/8D  /[z-\x{100}]/8DZ
249  ------------------------------------------------------------------  ------------------------------------------------------------------
250    0   7 Bra 0          Bra
251    3   2 \x{100}          [z-\x{100}]
252    7   7 Ket          Ket
253   10     End          End
254  ------------------------------------------------------------------  ------------------------------------------------------------------
255  Capturing subpattern count = 0  Capturing subpattern count = 0
256  Options: utf8  Options: utf
257  First char = 196  No first char
258  Need char = 128  No need char
259    
260  /\x{100}*/8D  /[z\Qa-d]Ā\E]/8DZ
261  ------------------------------------------------------------------  ------------------------------------------------------------------
262    0   6 Bra 0          Bra
263    3     \x{100}*          [\-\]adz\x{100}]
264    6   6 Ket          Ket
265    9     End          End
266  ------------------------------------------------------------------  ------------------------------------------------------------------
267  Capturing subpattern count = 0  Capturing subpattern count = 0
268  Options: utf8  Options: utf
269  No first char  No first char
270  No need char  No need char
271        \x{100}
272     0: \x{100}
273        Ā
274     0: \x{100}
275    
276  /a\x{100}*/8D  /[\xFF]/DZ
277  ------------------------------------------------------------------  ------------------------------------------------------------------
278    0   9 Bra 0          Bra
279    3   1 a          \xff
280    6     \x{100}*          Ket
281    9   9 Ket          End
  12     End  
282  ------------------------------------------------------------------  ------------------------------------------------------------------
283  Capturing subpattern count = 0  Capturing subpattern count = 0
284  Options: utf8  No options
285  First char = 'a'  First char = \xff
286  No need char  No need char
287        >\xff<
288     0: \xff
289    
290  /ab\x{100}*/8D  /[^\xFF]/DZ
291  ------------------------------------------------------------------  ------------------------------------------------------------------
292    0  10 Bra 0          Bra
293    3   2 ab          [^\xff]
294    7     \x{100}*          Ket
295   10  10 Ket          End
  13     End  
296  ------------------------------------------------------------------  ------------------------------------------------------------------
297  Capturing subpattern count = 0  Capturing subpattern count = 0
298  Options: utf8  No options
299  First char = 'a'  No first char
300  Need char = 'b'  No need char
301    
302    /[Ä-Ü]/8
303        Ö # Matches without Study
304     0: \x{d6}
305        \x{d6}
306     0: \x{d6}
307    
308    /[Ä-Ü]/8S
309        Ö <-- Same with Study
310     0: \x{d6}
311        \x{d6}
312     0: \x{d6}
313    
314    /[\x{c4}-\x{dc}]/8
315        Ö # Matches without Study
316     0: \x{d6}
317        \x{d6}
318     0: \x{d6}
319    
320    /[\x{c4}-\x{dc}]/8S
321        Ö <-- Same with Study
322     0: \x{d6}
323        \x{d6}
324     0: \x{d6}
325    
326    /[^\x{100}]abc(xyz(?1))/8DZ
327    ------------------------------------------------------------------
328            Bra
329            [^\x{100}]
330            abc
331            CBra 1
332            xyz
333            Recurse
334            Ket
335            Ket
336            End
337    ------------------------------------------------------------------
338    Capturing subpattern count = 1
339    Options: utf
340    No first char
341    Need char = 'z'
342    
343  /a\x{100}\x{101}*/8D  /[ab\x{100}]abc(xyz(?1))/8DZ
344  ------------------------------------------------------------------  ------------------------------------------------------------------
345    0  11 Bra 0          Bra
346    3   3 a\x{100}          [ab\x{100}]
347    8     \x{101}*          abc
348   11  11 Ket          CBra 1
349   14     End          xyz
350            Recurse
351            Ket
352            Ket
353            End
354  ------------------------------------------------------------------  ------------------------------------------------------------------
355  Capturing subpattern count = 0  Capturing subpattern count = 1
356  Options: utf8  Options: utf
357  First char = 'a'  No first char
358  Need char = 128  Need char = 'z'
359    
360  /a\x{100}\x{101}+/8D  /(\x{100}(b(?2)c))?/DZ8
361  ------------------------------------------------------------------  ------------------------------------------------------------------
362    0  11 Bra 0          Bra
363    3   3 a\x{100}          Brazero
364    8     \x{101}+          CBra 1
365   11  11 Ket          \x{100}
366   14     End          CBra 2
367            b
368            Recurse
369            c
370            Ket
371            Ket
372            Ket
373            End
374    ------------------------------------------------------------------
375    Capturing subpattern count = 2
376    Options: utf
377    No first char
378    No need char
379    
380    /(\x{100}(b(?2)c)){0,2}/DZ8
381    ------------------------------------------------------------------
382            Bra
383            Brazero
384            Bra
385            CBra 1
386            \x{100}
387            CBra 2
388            b
389            Recurse
390            c
391            Ket
392            Ket
393            Brazero
394            CBra 1
395            \x{100}
396            CBra 2
397            b
398            Recurse
399            c
400            Ket
401            Ket
402            Ket
403            Ket
404            End
405    ------------------------------------------------------------------
406    Capturing subpattern count = 2
407    Options: utf
408    No first char
409    No need char
410    
411    /(\x{100}(b(?1)c))?/DZ8
412    ------------------------------------------------------------------
413            Bra
414            Brazero
415            CBra 1
416            \x{100}
417            CBra 2
418            b
419            Recurse
420            c
421            Ket
422            Ket
423            Ket
424            End
425    ------------------------------------------------------------------
426    Capturing subpattern count = 2
427    Options: utf
428    No first char
429    No need char
430    
431    /(\x{100}(b(?1)c)){0,2}/DZ8
432    ------------------------------------------------------------------
433            Bra
434            Brazero
435            Bra
436            CBra 1
437            \x{100}
438            CBra 2
439            b
440            Recurse
441            c
442            Ket
443            Ket
444            Brazero
445            CBra 1
446            \x{100}
447            CBra 2
448            b
449            Recurse
450            c
451            Ket
452            Ket
453            Ket
454            Ket
455            End
456    ------------------------------------------------------------------
457    Capturing subpattern count = 2
458    Options: utf
459    No first char
460    No need char
461    
462    /\W/8
463        A.B
464     0: .
465        A\x{100}B
466     0: \x{100}
467    
468    /\w/8
469        \x{100}X
470     0: X
471    
472    /^\ሴ/8DZ
473    ------------------------------------------------------------------
474            Bra
475            ^
476            \x{1234}
477            Ket
478            End
479  ------------------------------------------------------------------  ------------------------------------------------------------------
480  Capturing subpattern count = 0  Capturing subpattern count = 0
481  Options: utf8  Options: anchored utf
482  First char = 'a'  No first char
483  Need char = 129  No need char
484    
485  /\x{100}*A/8D  /\777/I
486    Failed: octal value is greater than \377 (not in UTF-8 mode) at offset 3
487    
488    /\x{100}*\d/8DZ
489  ------------------------------------------------------------------  ------------------------------------------------------------------
490    0   9 Bra 0          Bra
491    3     \x{100}*          \x{100}*+
492    6   1 A          \d
493    9   9 Ket          Ket
494   12     End          End
495  ------------------------------------------------------------------  ------------------------------------------------------------------
496  Capturing subpattern count = 0  Capturing subpattern count = 0
497  Options: utf8  Options: utf
498  No first char  No first char
499  Need char = 'A'  No need char
     A  
  0: A  
500    
501  /\x{100}*\d(?R)/8D  /\x{100}*\s/8DZ
502  ------------------------------------------------------------------  ------------------------------------------------------------------
503    0  10 Bra 0          Bra
504    3     \x{100}*          \x{100}*+
505    6     \d          \s
506    7   0 Recurse          Ket
507   10  10 Ket          End
  13     End  
508  ------------------------------------------------------------------  ------------------------------------------------------------------
509  Capturing subpattern count = 0  Capturing subpattern count = 0
510  Options: utf8  Options: utf
511  No first char  No first char
512  No need char  No need char
513    
514  /[^\x{c4}]/D  /\x{100}*\w/8DZ
515  ------------------------------------------------------------------  ------------------------------------------------------------------
516    0  36 Bra 0          Bra
517    3     [\x01-35-bd-z|~-\xff] (neg)          \x{100}*+
518   36  36 Ket          \w
519   39     End          Ket
520            End
521  ------------------------------------------------------------------  ------------------------------------------------------------------
522  Capturing subpattern count = 0  Capturing subpattern count = 0
523  No options  Options: utf
524  No first char  No first char
525  No need char  No need char
526    
527  /[^\x{c4}]/8D  /\x{100}*\D/8DZ
528  ------------------------------------------------------------------  ------------------------------------------------------------------
529    0  36 Bra 0          Bra
530    3     [\x00-\xc3\xc5-\xff] (neg)          \x{100}*
531   36  36 Ket          \D
532   39     End          Ket
533            End
534  ------------------------------------------------------------------  ------------------------------------------------------------------
535  Capturing subpattern count = 0  Capturing subpattern count = 0
536  Options: utf8  Options: utf
537  No first char  No first char
538  No need char  No need char
539    
540  /[\x{100}]/8DM  /\x{100}*\S/8DZ
 Memory allocation (code space): 47  
541  ------------------------------------------------------------------  ------------------------------------------------------------------
542    0  11 Bra 0          Bra
543    3     [\x{100}]          \x{100}*
544   11  11 Ket          \S
545   14     End          Ket
546            End
547  ------------------------------------------------------------------  ------------------------------------------------------------------
548  Capturing subpattern count = 0  Capturing subpattern count = 0
549  Options: utf8  Options: utf
550  No first char  No first char
551  No need char  No need char
     \x{100}  
  0: \x{100}  
     Z\x{100}  
  0: \x{100}  
     \x{100}Z  
  0: \x{100}  
     *** Failers  
 No match  
552    
553  /[Z\x{100}]/8DM  /\x{100}*\W/8DZ
 Memory allocation (code space): 47  
554  ------------------------------------------------------------------  ------------------------------------------------------------------
555    0  43 Bra 0          Bra
556    3     [Z\x{100}]          \x{100}*
557   43  43 Ket          \W
558   46     End          Ket
559            End
560  ------------------------------------------------------------------  ------------------------------------------------------------------
561  Capturing subpattern count = 0  Capturing subpattern count = 0
562  Options: utf8  Options: utf
563  No first char  No first char
564  No need char  No need char
565      Z\x{100}  
566   0: Z  /()()()()()()()()()()
567      \x{100}   ()()()()()()()()()()
568   0: \x{100}   ()()()()()()()()()()
569      \x{100}Z   ()()()()()()()()()()
570   0: \x{100}   A (x) (?41) B/8x
571      *** Failers      AxxB
572    Matched, but too many substrings
573     0: AxxB
574     1:
575     2:
576     3:
577     4:
578     5:
579     6:
580     7:
581     8:
582     9:
583    10:
584    11:
585    12:
586    13:
587    14:
588    
589    /^[\x{100}\E-\Q\E\x{150}]/BZ8
590    ------------------------------------------------------------------
591            Bra
592            ^
593            [\x{100}-\x{150}]
594            Ket
595            End
596    ------------------------------------------------------------------
597    
598    /^[\QĀ\E-\QŐ\E]/BZ8
599    ------------------------------------------------------------------
600            Bra
601            ^
602            [\x{100}-\x{150}]
603            Ket
604            End
605    ------------------------------------------------------------------
606    
607    /^abc./mgx8<any>
608        abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x{0085}abc7 \x{2028}abc8 \x{2029}abc9 JUNK
609     0: abc1
610     0: abc2
611     0: abc3
612     0: abc4
613     0: abc5
614     0: abc6
615     0: abc7
616     0: abc8
617     0: abc9
618    
619    /abc.$/mgx8<any>
620        abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x{0085} abc7\x{2028} abc8\x{2029} abc9
621     0: abc1
622     0: abc2
623     0: abc3
624     0: abc4
625     0: abc5
626     0: abc6
627     0: abc7
628     0: abc8
629     0: abc9
630    
631    /^a\Rb/8<bsr_unicode>
632        a\nb
633     0: a\x{0a}b
634        a\rb
635     0: a\x{0d}b
636        a\r\nb
637     0: a\x{0d}\x{0a}b
638        a\x0bb
639     0: a\x{0b}b
640        a\x0cb
641     0: a\x{0c}b
642        a\x{85}b
643     0: a\x{85}b
644        a\x{2028}b
645     0: a\x{2028}b
646        a\x{2029}b
647     0: a\x{2029}b
648        ** Failers
649    No match
650        a\n\rb
651  No match  No match
652    
653  /[\x{200}-\x{100}]/8  /^a\R*b/8<bsr_unicode>
654  Failed: range out of order in character class at offset 15      ab
655     0: ab
656        a\nb
657     0: a\x{0a}b
658        a\rb
659     0: a\x{0d}b
660        a\r\nb
661     0: a\x{0d}\x{0a}b
662        a\x0bb
663     0: a\x{0b}b
664        a\x0c\x{2028}\x{2029}b
665     0: a\x{0c}\x{2028}\x{2029}b
666        a\x{85}b
667     0: a\x{85}b
668        a\n\rb
669     0: a\x{0a}\x{0d}b
670        a\n\r\x{85}\x0cb
671     0: a\x{0a}\x{0d}\x{85}\x{0c}b
672    
673    /^a\R+b/8<bsr_unicode>
674        a\nb
675     0: a\x{0a}b
676        a\rb
677     0: a\x{0d}b
678        a\r\nb
679     0: a\x{0d}\x{0a}b
680        a\x0bb
681     0: a\x{0b}b
682        a\x0c\x{2028}\x{2029}b
683     0: a\x{0c}\x{2028}\x{2029}b
684        a\x{85}b
685     0: a\x{85}b
686        a\n\rb
687     0: a\x{0a}\x{0d}b
688        a\n\r\x{85}\x0cb
689     0: a\x{0a}\x{0d}\x{85}\x{0c}b
690        ** Failers
691    No match
692        ab
693    No match
694    
695  /[Ā-Ą]/8  /^a\R{1,3}b/8<bsr_unicode>
696      \x{100}      a\nb
697   0: \x{100}   0: a\x{0a}b
698      \x{104}      a\n\rb
699   0: \x{104}   0: a\x{0a}\x{0d}b
700      *** Failers      a\n\r\x{85}b
701     0: a\x{0a}\x{0d}\x{85}b
702        a\r\n\r\nb
703     0: a\x{0d}\x{0a}\x{0d}\x{0a}b
704        a\r\n\r\n\r\nb
705     0: a\x{0d}\x{0a}\x{0d}\x{0a}\x{0d}\x{0a}b
706        a\n\r\n\rb
707     0: a\x{0a}\x{0d}\x{0a}\x{0d}b
708        a\n\n\r\nb
709     0: a\x{0a}\x{0a}\x{0d}\x{0a}b
710        ** Failers
711  No match  No match
712      \x{105}      a\n\n\n\rb
713  No match  No match
714      \x{ff}      a\r
715    No match
716    
717    /\H\h\V\v/8
718        X X\x0a
719     0: X X\x{0a}
720        X\x09X\x0b
721     0: X\x{09}X\x{0b}
722        ** Failers
723  No match  No match
724        \x{a0} X\x0a
725    No match
726    
727    /\H*\h+\V?\v{3,4}/8
728        \x09\x20\x{a0}X\x0a\x0b\x0c\x0d\x0a
729     0: \x{09} \x{a0}X\x{0a}\x{0b}\x{0c}\x{0d}
730        \x09\x20\x{a0}\x0a\x0b\x0c\x0d\x0a
731     0: \x{09} \x{a0}\x{0a}\x{0b}\x{0c}\x{0d}
732        \x09\x20\x{a0}\x0a\x0b\x0c
733     0: \x{09} \x{a0}\x{0a}\x{0b}\x{0c}
734        ** Failers
735    No match
736        \x09\x20\x{a0}\x0a\x0b
737    No match
738    
739    /\H\h\V\v/8
740        \x{3001}\x{3000}\x{2030}\x{2028}
741     0: \x{3001}\x{3000}\x{2030}\x{2028}
742        X\x{180e}X\x{85}
743     0: X\x{180e}X\x{85}
744        ** Failers
745    No match
746        \x{2009} X\x0a
747    No match
748    
749    /\H*\h+\V?\v{3,4}/8
750        \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x0c\x0d\x0a
751     0: \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x{0c}\x{0d}
752        \x09\x{205f}\x{a0}\x0a\x{2029}\x0c\x{2028}\x0a
753     0: \x{09}\x{205f}\x{a0}\x{0a}\x{2029}\x{0c}\x{2028}
754        \x09\x20\x{202f}\x0a\x0b\x0c
755     0: \x{09} \x{202f}\x{0a}\x{0b}\x{0c}
756        ** Failers
757    No match
758        \x09\x{200a}\x{a0}\x{2028}\x0b
759    No match
760    
761    /[\h]/8BZ
762    ------------------------------------------------------------------
763            Bra
764            [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]
765            Ket
766            End
767    ------------------------------------------------------------------
768        >\x{1680}
769     0: \x{1680}
770    
771    /[\h]{3,}/8BZ
772    ------------------------------------------------------------------
773            Bra
774            [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]{3,}
775            Ket
776            End
777    ------------------------------------------------------------------
778        >\x{1680}\x{180e}\x{2000}\x{2003}\x{200a}\x{202f}\x{205f}\x{3000}<
779     0: \x{1680}\x{180e}\x{2000}\x{2003}\x{200a}\x{202f}\x{205f}\x{3000}
780    
781  /[z-\x{100}]/8D  /[\v]/8BZ
782  ------------------------------------------------------------------  ------------------------------------------------------------------
783    0  12 Bra 0          Bra
784    3     [z-\x{100}]          [\x0a-\x0d\x85\x{2028}-\x{2029}]
785   12  12 Ket          Ket
786   15     End          End
787    ------------------------------------------------------------------
788    
789    /[\H]/8BZ
790    ------------------------------------------------------------------
791            Bra
792            [\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{10ffff}]
793            Ket
794            End
795    ------------------------------------------------------------------
796    
797    /[\V]/8BZ
798  ------------------------------------------------------------------  ------------------------------------------------------------------
799            Bra
800            [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{10ffff}]
801            Ket
802            End
803    ------------------------------------------------------------------
804    
805    /.*$/8<any>
806        \x{1ec5}
807     0: \x{1ec5}
808    
809    /a\Rb/I8<bsr_anycrlf>
810  Capturing subpattern count = 0  Capturing subpattern count = 0
811  Options: utf8  Options: bsr_anycrlf utf
812  No first char  First char = 'a'
813  No need char  Need char = 'b'
814        a\rb
815     0: a\x{0d}b
816        a\nb
817     0: a\x{0a}b
818        a\r\nb
819     0: a\x{0d}\x{0a}b
820        ** Failers
821    No match
822        a\x{85}b
823    No match
824        a\x0bb
825    No match
826    
827    /a\Rb/I8<bsr_unicode>
828    Capturing subpattern count = 0
829    Options: bsr_unicode utf
830    First char = 'a'
831    Need char = 'b'
832        a\rb
833     0: a\x{0d}b
834        a\nb
835     0: a\x{0a}b
836        a\r\nb
837     0: a\x{0d}\x{0a}b
838        a\x{85}b
839     0: a\x{85}b
840        a\x0bb
841     0: a\x{0b}b
842        ** Failers
843    No match
844        a\x{85}b\<bsr_anycrlf>
845    No match
846        a\x0bb\<bsr_anycrlf>
847    No match
848    
849    /a\R?b/I8<bsr_anycrlf>
850    Capturing subpattern count = 0
851    Options: bsr_anycrlf utf
852    First char = 'a'
853    Need char = 'b'
854        a\rb
855     0: a\x{0d}b
856        a\nb
857     0: a\x{0a}b
858        a\r\nb
859     0: a\x{0d}\x{0a}b
860        ** Failers
861    No match
862        a\x{85}b
863    No match
864        a\x0bb
865    No match
866    
867    /a\R?b/I8<bsr_unicode>
868    Capturing subpattern count = 0
869    Options: bsr_unicode utf
870    First char = 'a'
871    Need char = 'b'
872        a\rb
873     0: a\x{0d}b
874        a\nb
875     0: a\x{0a}b
876        a\r\nb
877     0: a\x{0d}\x{0a}b
878        a\x{85}b
879     0: a\x{85}b
880        a\x0bb
881     0: a\x{0b}b
882        ** Failers
883    No match
884        a\x{85}b\<bsr_anycrlf>
885    No match
886        a\x0bb\<bsr_anycrlf>
887    No match
888    
889    /.*a.*=.b.*/8<ANY>
890        QQQ\x{2029}ABCaXYZ=!bPQR
891     0: ABCaXYZ=!bPQR
892        ** Failers
893    No match
894        a\x{2029}b
895    No match
896        \x61\xe2\x80\xa9\x62
897    No match
898    
899    /[[:a\x{100}b:]]/8
900    Failed: unknown POSIX class name at offset 3
901    
902  /[z-\x{100}]/8Di  /a[^]b/<JS>8
903        a\x{1234}b
904     0: a\x{1234}b
905        a\nb
906     0: a\x{0a}b
907        ** Failers
908    No match
909        ab
910    No match
911    
912    /a[^]+b/<JS>8
913        aXb
914     0: aXb
915        a\nX\nX\x{1234}b
916     0: a\x{0a}X\x{0a}X\x{1234}b
917        ** Failers
918    No match
919        ab
920    No match
921    
922    /(\x{de})\1/
923        \x{de}\x{de}
924     0: \xde\xde
925     1: \xde
926    
927    /X/8f<any>
928        A\x{1ec5}ABCXYZ
929     0: X
930    
931    /Xa{2,4}b/8
932        X\P
933    Partial match: X
934        Xa\P
935    Partial match: Xa
936        Xaa\P
937    Partial match: Xaa
938        Xaaa\P
939    Partial match: Xaaa
940        Xaaaa\P
941    Partial match: Xaaaa
942    
943    /Xa{2,4}?b/8
944        X\P
945    Partial match: X
946        Xa\P
947    Partial match: Xa
948        Xaa\P
949    Partial match: Xaa
950        Xaaa\P
951    Partial match: Xaaa
952        Xaaaa\P
953    Partial match: Xaaaa
954    
955    /Xa{2,4}+b/8
956        X\P
957    Partial match: X
958        Xa\P
959    Partial match: Xa
960        Xaa\P
961    Partial match: Xaa
962        Xaaa\P
963    Partial match: Xaaa
964        Xaaaa\P
965    Partial match: Xaaaa
966    
967    /X\x{123}{2,4}b/8
968        X\P
969    Partial match: X
970        X\x{123}\P
971    Partial match: X\x{123}
972        X\x{123}\x{123}\P
973    Partial match: X\x{123}\x{123}
974        X\x{123}\x{123}\x{123}\P
975    Partial match: X\x{123}\x{123}\x{123}
976        X\x{123}\x{123}\x{123}\x{123}\P
977    Partial match: X\x{123}\x{123}\x{123}\x{123}
978    
979    /X\x{123}{2,4}?b/8
980        X\P
981    Partial match: X
982        X\x{123}\P
983    Partial match: X\x{123}
984        X\x{123}\x{123}\P
985    Partial match: X\x{123}\x{123}
986        X\x{123}\x{123}\x{123}\P
987    Partial match: X\x{123}\x{123}\x{123}
988        X\x{123}\x{123}\x{123}\x{123}\P
989    Partial match: X\x{123}\x{123}\x{123}\x{123}
990    
991    /X\x{123}{2,4}+b/8
992        X\P
993    Partial match: X
994        X\x{123}\P
995    Partial match: X\x{123}
996        X\x{123}\x{123}\P
997    Partial match: X\x{123}\x{123}
998        X\x{123}\x{123}\x{123}\P
999    Partial match: X\x{123}\x{123}\x{123}
1000        X\x{123}\x{123}\x{123}\x{123}\P
1001    Partial match: X\x{123}\x{123}\x{123}\x{123}
1002    
1003    /X\x{123}{2,4}b/8
1004        Xx\P
1005    No match
1006        X\x{123}x\P
1007    No match
1008        X\x{123}\x{123}x\P
1009    No match
1010        X\x{123}\x{123}\x{123}x\P
1011    No match
1012        X\x{123}\x{123}\x{123}\x{123}x\P
1013    No match
1014    
1015    /X\x{123}{2,4}?b/8
1016        Xx\P
1017    No match
1018        X\x{123}x\P
1019    No match
1020        X\x{123}\x{123}x\P
1021    No match
1022        X\x{123}\x{123}\x{123}x\P
1023    No match
1024        X\x{123}\x{123}\x{123}\x{123}x\P
1025    No match
1026    
1027    /X\x{123}{2,4}+b/8
1028        Xx\P
1029    No match
1030        X\x{123}x\P
1031    No match
1032        X\x{123}\x{123}x\P
1033    No match
1034        X\x{123}\x{123}\x{123}x\P
1035    No match
1036        X\x{123}\x{123}\x{123}\x{123}x\P
1037    No match
1038    
1039    /X\d{2,4}b/8
1040        X\P
1041    Partial match: X
1042        X3\P
1043    Partial match: X3
1044        X33\P
1045    Partial match: X33
1046        X333\P
1047    Partial match: X333
1048        X3333\P
1049    Partial match: X3333
1050    
1051    /X\d{2,4}?b/8
1052        X\P
1053    Partial match: X
1054        X3\P
1055    Partial match: X3
1056        X33\P
1057    Partial match: X33
1058        X333\P
1059    Partial match: X333
1060        X3333\P
1061    Partial match: X3333
1062    
1063    /X\d{2,4}+b/8
1064        X\P
1065    Partial match: X
1066        X3\P
1067    Partial match: X3
1068        X33\P
1069    Partial match: X33
1070        X333\P
1071    Partial match: X333
1072        X3333\P
1073    Partial match: X3333
1074    
1075    /X\D{2,4}b/8
1076        X\P
1077    Partial match: X
1078        Xa\P
1079    Partial match: Xa
1080        Xaa\P
1081    Partial match: Xaa
1082        Xaaa\P
1083    Partial match: Xaaa
1084        Xaaaa\P
1085    Partial match: Xaaaa
1086    
1087    /X\D{2,4}?b/8
1088        X\P
1089    Partial match: X
1090        Xa\P
1091    Partial match: Xa
1092        Xaa\P
1093    Partial match: Xaa
1094        Xaaa\P
1095    Partial match: Xaaa
1096        Xaaaa\P
1097    Partial match: Xaaaa
1098    
1099    /X\D{2,4}+b/8
1100        X\P
1101    Partial match: X
1102        Xa\P
1103    Partial match: Xa
1104        Xaa\P
1105    Partial match: Xaa
1106        Xaaa\P
1107    Partial match: Xaaa
1108        Xaaaa\P
1109    Partial match: Xaaaa
1110    
1111    /X\D{2,4}b/8
1112        X\P
1113    Partial match: X
1114        X\x{123}\P
1115    Partial match: X\x{123}
1116        X\x{123}\x{123}\P
1117    Partial match: X\x{123}\x{123}
1118        X\x{123}\x{123}\x{123}\P
1119    Partial match: X\x{123}\x{123}\x{123}
1120        X\x{123}\x{123}\x{123}\x{123}\P
1121    Partial match: X\x{123}\x{123}\x{123}\x{123}
1122    
1123    /X\D{2,4}?b/8
1124        X\P
1125    Partial match: X
1126        X\x{123}\P
1127    Partial match: X\x{123}
1128        X\x{123}\x{123}\P
1129    Partial match: X\x{123}\x{123}
1130        X\x{123}\x{123}\x{123}\P
1131    Partial match: X\x{123}\x{123}\x{123}
1132        X\x{123}\x{123}\x{123}\x{123}\P
1133    Partial match: X\x{123}\x{123}\x{123}\x{123}
1134    
1135    /X\D{2,4}+b/8
1136        X\P
1137    Partial match: X
1138        X\x{123}\P
1139    Partial match: X\x{123}
1140        X\x{123}\x{123}\P
1141    Partial match: X\x{123}\x{123}
1142        X\x{123}\x{123}\x{123}\P
1143    Partial match: X\x{123}\x{123}\x{123}
1144        X\x{123}\x{123}\x{123}\x{123}\P
1145    Partial match: X\x{123}\x{123}\x{123}\x{123}
1146    
1147    /X[abc]{2,4}b/8
1148        X\P
1149    Partial match: X
1150        Xa\P
1151    Partial match: Xa
1152        Xaa\P
1153    Partial match: Xaa
1154        Xaaa\P
1155    Partial match: Xaaa
1156        Xaaaa\P
1157    Partial match: Xaaaa
1158    
1159    /X[abc]{2,4}?b/8
1160        X\P
1161    Partial match: X
1162        Xa\P
1163    Partial match: Xa
1164        Xaa\P
1165    Partial match: Xaa
1166        Xaaa\P
1167    Partial match: Xaaa
1168        Xaaaa\P
1169    Partial match: Xaaaa
1170    
1171    /X[abc]{2,4}+b/8
1172        X\P
1173    Partial match: X
1174        Xa\P
1175    Partial match: Xa
1176        Xaa\P
1177    Partial match: Xaa
1178        Xaaa\P
1179    Partial match: Xaaa
1180        Xaaaa\P
1181    Partial match: Xaaaa
1182    
1183    /X[abc\x{123}]{2,4}b/8
1184        X\P
1185    Partial match: X
1186        X\x{123}\P
1187    Partial match: X\x{123}
1188        X\x{123}\x{123}\P
1189    Partial match: X\x{123}\x{123}
1190        X\x{123}\x{123}\x{123}\P
1191    Partial match: X\x{123}\x{123}\x{123}
1192        X\x{123}\x{123}\x{123}\x{123}\P
1193    Partial match: X\x{123}\x{123}\x{123}\x{123}
1194    
1195    /X[abc\x{123}]{2,4}?b/8
1196        X\P
1197    Partial match: X
1198        X\x{123}\P
1199    Partial match: X\x{123}
1200        X\x{123}\x{123}\P
1201    Partial match: X\x{123}\x{123}
1202        X\x{123}\x{123}\x{123}\P
1203    Partial match: X\x{123}\x{123}\x{123}
1204        X\x{123}\x{123}\x{123}\x{123}\P
1205    Partial match: X\x{123}\x{123}\x{123}\x{123}
1206    
1207    /X[abc\x{123}]{2,4}+b/8
1208        X\P
1209    Partial match: X
1210        X\x{123}\P
1211    Partial match: X\x{123}
1212        X\x{123}\x{123}\P
1213    Partial match: X\x{123}\x{123}
1214        X\x{123}\x{123}\x{123}\P
1215    Partial match: X\x{123}\x{123}\x{123}
1216        X\x{123}\x{123}\x{123}\x{123}\P
1217    Partial match: X\x{123}\x{123}\x{123}\x{123}
1218    
1219    /X[^a]{2,4}b/8
1220        X\P
1221    Partial match: X
1222        Xz\P
1223    Partial match: Xz
1224        Xzz\P
1225    Partial match: Xzz
1226        Xzzz\P
1227    Partial match: Xzzz
1228        Xzzzz\P
1229    Partial match: Xzzzz
1230    
1231    /X[^a]{2,4}?b/8
1232        X\P
1233    Partial match: X
1234        Xz\P
1235    Partial match: Xz
1236        Xzz\P
1237    Partial match: Xzz
1238        Xzzz\P
1239    Partial match: Xzzz
1240        Xzzzz\P
1241    Partial match: Xzzzz
1242    
1243    /X[^a]{2,4}+b/8
1244        X\P
1245    Partial match: X
1246        Xz\P
1247    Partial match: Xz
1248        Xzz\P
1249    Partial match: Xzz
1250        Xzzz\P
1251    Partial match: Xzzz
1252        Xzzzz\P
1253    Partial match: Xzzzz
1254    
1255    /X[^a]{2,4}b/8
1256        X\P
1257    Partial match: X
1258        X\x{123}\P
1259    Partial match: X\x{123}
1260        X\x{123}\x{123}\P
1261    Partial match: X\x{123}\x{123}
1262        X\x{123}\x{123}\x{123}\P
1263    Partial match: X\x{123}\x{123}\x{123}
1264        X\x{123}\x{123}\x{123}\x{123}\P
1265    Partial match: X\x{123}\x{123}\x{123}\x{123}
1266    
1267    /X[^a]{2,4}?b/8
1268        X\P
1269    Partial match: X
1270        X\x{123}\P
1271    Partial match: X\x{123}
1272        X\x{123}\x{123}\P
1273    Partial match: X\x{123}\x{123}
1274        X\x{123}\x{123}\x{123}\P
1275    Partial match: X\x{123}\x{123}\x{123}
1276        X\x{123}\x{123}\x{123}\x{123}\P
1277    Partial match: X\x{123}\x{123}\x{123}\x{123}
1278    
1279    /X[^a]{2,4}+b/8
1280        X\P
1281    Partial match: X
1282        X\x{123}\P
1283    Partial match: X\x{123}
1284        X\x{123}\x{123}\P
1285    Partial match: X\x{123}\x{123}
1286        X\x{123}\x{123}\x{123}\P
1287    Partial match: X\x{123}\x{123}\x{123}
1288        X\x{123}\x{123}\x{123}\x{123}\P
1289    Partial match: X\x{123}\x{123}\x{123}\x{123}
1290    
1291    /(Y)X\1{2,4}b/8
1292        YX\P
1293    Partial match: YX
1294        YXY\P
1295    Partial match: YXY
1296        YXYY\P
1297    Partial match: YXYY
1298        YXYYY\P
1299    Partial match: YXYYY
1300        YXYYYY\P
1301    Partial match: YXYYYY
1302    
1303    /(Y)X\1{2,4}?b/8
1304        YX\P
1305    Partial match: YX
1306        YXY\P
1307    Partial match: YXY
1308        YXYY\P
1309    Partial match: YXYY
1310        YXYYY\P
1311    Partial match: YXYYY
1312        YXYYYY\P
1313    Partial match: YXYYYY
1314    
1315    /(Y)X\1{2,4}+b/8
1316        YX\P
1317    Partial match: YX
1318        YXY\P
1319    Partial match: YXY
1320        YXYY\P
1321    Partial match: YXYY
1322        YXYYY\P
1323    Partial match: YXYYY
1324        YXYYYY\P
1325    Partial match: YXYYYY
1326    
1327    /(\x{123})X\1{2,4}b/8
1328        \x{123}X\P
1329    Partial match: \x{123}X
1330        \x{123}X\x{123}\P
1331    Partial match: \x{123}X\x{123}
1332        \x{123}X\x{123}\x{123}\P
1333    Partial match: \x{123}X\x{123}\x{123}
1334        \x{123}X\x{123}\x{123}\x{123}\P
1335    Partial match: \x{123}X\x{123}\x{123}\x{123}
1336        \x{123}X\x{123}\x{123}\x{123}\x{123}\P
1337    Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
1338    
1339    /(\x{123})X\1{2,4}?b/8
1340        \x{123}X\P
1341    Partial match: \x{123}X
1342        \x{123}X\x{123}\P
1343    Partial match: \x{123}X\x{123}
1344        \x{123}X\x{123}\x{123}\P
1345    Partial match: \x{123}X\x{123}\x{123}
1346        \x{123}X\x{123}\x{123}\x{123}\P
1347    Partial match: \x{123}X\x{123}\x{123}\x{123}
1348        \x{123}X\x{123}\x{123}\x{123}\x{123}\P
1349    Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
1350    
1351    /(\x{123})X\1{2,4}+b/8
1352        \x{123}X\P
1353    Partial match: \x{123}X
1354        \x{123}X\x{123}\P
1355    Partial match: \x{123}X\x{123}
1356        \x{123}X\x{123}\x{123}\P
1357    Partial match: \x{123}X\x{123}\x{123}
1358        \x{123}X\x{123}\x{123}\x{123}\P
1359    Partial match: \x{123}X\x{123}\x{123}\x{123}
1360        \x{123}X\x{123}\x{123}\x{123}\x{123}\P
1361    Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
1362    
1363    /\bthe cat\b/8
1364        the cat\P
1365     0: the cat
1366        the cat\P\P
1367    Partial match: the cat
1368    
1369    /abcd*/8
1370        xxxxabcd\P
1371     0: abcd
1372        xxxxabcd\P\P
1373    Partial match: abcd
1374    
1375    /abcd*/i8
1376        xxxxabcd\P
1377     0: abcd
1378        xxxxabcd\P\P
1379    Partial match: abcd
1380        XXXXABCD\P
1381     0: ABCD
1382        XXXXABCD\P\P
1383    Partial match: ABCD
1384    
1385    /abc\d*/8
1386        xxxxabc1\P
1387     0: abc1
1388        xxxxabc1\P\P
1389    Partial match: abc1
1390    
1391    /(a)bc\1*/8
1392        xxxxabca\P
1393     0: abca
1394     1: a
1395        xxxxabca\P\P
1396    Partial match: abca
1397    
1398    /abc[de]*/8
1399        xxxxabcde\P
1400     0: abcde
1401        xxxxabcde\P\P
1402    Partial match: abcde
1403    
1404    /X\W{3}X/8
1405        \PX
1406    Partial match: X
1407    
1408    /\sxxx\s/8T1
1409        AB\x{85}xxx\x{a0}XYZ
1410     0: \x{85}xxx\x{a0}
1411        AB\x{a0}xxx\x{85}XYZ
1412     0: \x{a0}xxx\x{85}
1413    
1414    /\S \S/8T1
1415        \x{a2} \x{84}
1416     0: \x{a2} \x{84}
1417    
1418    'A#хц'8x<any>BZ
1419    ------------------------------------------------------------------
1420            Bra
1421            A
1422            Ket
1423            End
1424    ------------------------------------------------------------------
1425    
1426    'A#хц
1427      PQ'8x<any>BZ
1428    ------------------------------------------------------------------
1429            Bra
1430            APQ
1431            Ket
1432            End
1433    ------------------------------------------------------------------
1434    
1435    /a+#хaa
1436      z#XX?/8x<any>BZ
1437    ------------------------------------------------------------------
1438            Bra
1439            a++
1440            z
1441            Ket
1442            End
1443    ------------------------------------------------------------------
1444    
1445    /a+#хaa
1446      z#х?/8x<any>BZ
1447    ------------------------------------------------------------------
1448            Bra
1449            a++
1450            z
1451            Ket
1452            End
1453    ------------------------------------------------------------------
1454    
1455    /\g{A}xxx#bXX(?'A'123) (?'A'456)/8x<any>BZ
1456    ------------------------------------------------------------------
1457            Bra
1458            \1
1459            xxx
1460            CBra 1
1461            456
1462            Ket
1463            Ket
1464            End
1465    ------------------------------------------------------------------
1466    
1467    /\g{A}xxx#bх(?'A'123) (?'A'456)/8x<any>BZ
1468  ------------------------------------------------------------------  ------------------------------------------------------------------
1469    0  45 Bra 0          Bra
1470    3     [Zz-\xff\x{100}-\x{100}]          \1
1471   45  45 Ket          xxx
1472   48     End          CBra 1
1473            456
1474            Ket
1475            Ket
1476            End
1477  ------------------------------------------------------------------  ------------------------------------------------------------------
1478    
1479    /^\cģ/8
1480    Failed: \c must be followed by an ASCII character at offset 3
1481    
1482    /(\R*)(.)/s8
1483        \r\n
1484     0: \x{0d}
1485     1:
1486     2: \x{0d}
1487        \r\r\n\n\r
1488     0: \x{0d}\x{0d}\x{0a}\x{0a}\x{0d}
1489     1: \x{0d}\x{0d}\x{0a}\x{0a}
1490     2: \x{0d}
1491        \r\r\n\n\r\n
1492     0: \x{0d}\x{0d}\x{0a}\x{0a}\x{0d}
1493     1: \x{0d}\x{0d}\x{0a}\x{0a}
1494     2: \x{0d}
1495    
1496    /(\R)*(.)/s8
1497        \r\n
1498     0: \x{0d}
1499     1: <unset>
1500     2: \x{0d}
1501        \r\r\n\n\r
1502     0: \x{0d}\x{0d}\x{0a}\x{0a}\x{0d}
1503     1: \x{0a}
1504     2: \x{0d}
1505        \r\r\n\n\r\n
1506     0: \x{0d}\x{0d}\x{0a}\x{0a}\x{0d}
1507     1: \x{0a}
1508     2: \x{0d}
1509    
1510    /[^\x{1234}]+/iS8I
1511  Capturing subpattern count = 0  Capturing subpattern count = 0
1512  Options: caseless utf8  Options: caseless utf
1513  No first char  No first char
1514  No need char  No need char
1515    Subject length lower bound = 1
1516    No set of starting bytes
1517    
1518  /[z\Qa-d]Ā\E]/8D  /[^\x{1234}]+?/iS8I
 ------------------------------------------------------------------  
   0  43 Bra 0  
   3     [\-\]adz\x{100}]  
  43  43 Ket  
  46     End  
 ------------------------------------------------------------------  
1519  Capturing subpattern count = 0  Capturing subpattern count = 0
1520  Options: utf8  Options: caseless utf
1521  No first char  No first char
1522  No need char  No need char
1523      \x{100}  Subject length lower bound = 1
1524   0: \x{100}  No set of starting bytes
1525      Ā  
1526   0: \x{100}  /[^\x{1234}]++/iS8I
1527    Capturing subpattern count = 0
1528    Options: caseless utf
1529    No first char
1530    No need char
1531    Subject length lower bound = 1
1532    No set of starting bytes
1533    
1534    /[^\x{1234}]{2}/iS8I
1535    Capturing subpattern count = 0
1536    Options: caseless utf
1537    No first char
1538    No need char
1539    Subject length lower bound = 2
1540    No set of starting bytes
1541    
1542    //<bsr_anycrlf><bsr_unicode>
1543    Failed: inconsistent NEWLINE options at offset 0
1544    
1545    /f.*/
1546        \P\Pfor
1547    Partial match: for
1548    
1549    /f.*/s
1550        \P\Pfor
1551    Partial match: for
1552    
1553    /f.*/8
1554        \P\Pfor
1555    Partial match: for
1556    
1557    /f.*/8s
1558        \P\Pfor
1559    Partial match: for
1560    
1561    /\x{d7ff}\x{e000}/8
1562    
1563    /\x{d800}/8
1564    Failed: disallowed UTF-8/16 code point (>= 0xd800 && <= 0xdfff) at offset 7
1565    
1566    /\x{dfff}/8
1567    Failed: disallowed UTF-8/16 code point (>= 0xd800 && <= 0xdfff) at offset 7
1568    
1569  / End of testinput5 /  /\h+/8
1570        \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
1571     0: \x{1680}\x{2000}\x{202f}\x{3000}
1572        \x{3001}\x{2fff}\x{200a}\x{a0}\x{2000}
1573     0: \x{200a}\x{a0}\x{2000}
1574    
1575    /[\h\x{e000}]+/8BZ
1576    ------------------------------------------------------------------
1577            Bra
1578            [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}\x{e000}]+
1579            Ket
1580            End
1581    ------------------------------------------------------------------
1582        \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
1583     0: \x{1680}\x{2000}\x{202f}\x{3000}
1584        \x{3001}\x{2fff}\x{200a}\x{a0}\x{2000}
1585     0: \x{200a}\x{a0}\x{2000}
1586    
1587    /\H+/8
1588        \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
1589     0: \x{167f}\x{1681}\x{180d}\x{180f}
1590        \x{2000}\x{200a}\x{1fff}\x{200b}
1591     0: \x{1fff}\x{200b}
1592        \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
1593     0: \x{202e}\x{2030}\x{205e}\x{2060}
1594        \x{a0}\x{3000}\x{9f}\x{a1}\x{2fff}\x{3001}
1595     0: \x{9f}\x{a1}\x{2fff}\x{3001}
1596    
1597    /[\H\x{d7ff}]+/8BZ
1598    ------------------------------------------------------------------
1599            Bra
1600            [\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{10ffff}\x{d7ff}]+
1601            Ket
1602            End
1603    ------------------------------------------------------------------
1604        \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
1605     0: \x{167f}\x{1681}\x{180d}\x{180f}
1606        \x{2000}\x{200a}\x{1fff}\x{200b}
1607     0: \x{1fff}\x{200b}
1608        \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
1609     0: \x{202e}\x{2030}\x{205e}\x{2060}
1610        \x{a0}\x{3000}\x{9f}\x{a1}\x{2fff}\x{3001}
1611     0: \x{9f}\x{a1}\x{2fff}\x{3001}
1612    
1613    /\v+/8
1614        \x{2027}\x{2030}\x{2028}\x{2029}
1615     0: \x{2028}\x{2029}
1616        \x09\x0e\x{84}\x{86}\x{85}\x0a\x0b\x0c\x0d
1617     0: \x{85}\x{0a}\x{0b}\x{0c}\x{0d}
1618    
1619    /[\v\x{e000}]+/8BZ
1620    ------------------------------------------------------------------
1621            Bra
1622            [\x0a-\x0d\x85\x{2028}-\x{2029}\x{e000}]+
1623            Ket
1624            End
1625    ------------------------------------------------------------------
1626        \x{2027}\x{2030}\x{2028}\x{2029}
1627     0: \x{2028}\x{2029}
1628        \x09\x0e\x{84}\x{86}\x{85}\x0a\x0b\x0c\x0d
1629     0: \x{85}\x{0a}\x{0b}\x{0c}\x{0d}
1630    
1631    /\V+/8
1632        \x{2028}\x{2029}\x{2027}\x{2030}
1633     0: \x{2027}\x{2030}
1634        \x{85}\x0a\x0b\x0c\x0d\x09\x0e\x{84}\x{86}
1635     0: \x{09}\x{0e}\x{84}\x{86}
1636    
1637    /[\V\x{d7ff}]+/8BZ
1638    ------------------------------------------------------------------
1639            Bra
1640            [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{10ffff}\x{d7ff}]+
1641            Ket
1642            End
1643    ------------------------------------------------------------------
1644        \x{2028}\x{2029}\x{2027}\x{2030}
1645     0: \x{2027}\x{2030}
1646        \x{85}\x0a\x0b\x0c\x0d\x09\x0e\x{84}\x{86}
1647     0: \x{09}\x{0e}\x{84}\x{86}
1648    
1649    /\R+/8<bsr_unicode>
1650        \x{2027}\x{2030}\x{2028}\x{2029}
1651     0: \x{2028}\x{2029}
1652        \x09\x0e\x{84}\x{86}\x{85}\x0a\x0b\x0c\x0d
1653     0: \x{85}\x{0a}\x{0b}\x{0c}\x{0d}
1654    
1655    /-- End of testinput5 --/

Legend:
Removed from v.65  
changed lines
  Added in v.836

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12