/[pcre]/code/trunk/testdata/testoutput5
ViewVC logotype

Diff of /code/trunk/testdata/testoutput5

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 91 by nigel, Sat Feb 24 21:41:34 2007 UTC revision 455 by ph10, Sat Sep 26 19:12:32 2009 UTC
# Line 1  Line 1 
1  /\x{100}/8DM  /-- This set of tests checks the API, internals, and non-Perl stuff for UTF-8
2  Memory allocation (code space): 10      support, excluding Unicode properties. --/
3    
4    /\x{100}/8DZ
5  ------------------------------------------------------------------  ------------------------------------------------------------------
6    0   6 Bra 0          Bra
7    3     \x{100}          \x{100}
8    6   6 Ket          Ket
9    9     End          End
10  ------------------------------------------------------------------  ------------------------------------------------------------------
11  Capturing subpattern count = 0  Capturing subpattern count = 0
12  Options: utf8  Options: utf8
13  First char = 196  First char = 196
14  Need char = 128  Need char = 128
15    
16  /\x{1000}/8DM  /\x{1000}/8DZ
 Memory allocation (code space): 11  
17  ------------------------------------------------------------------  ------------------------------------------------------------------
18    0   7 Bra 0          Bra
19    3     \x{1000}          \x{1000}
20    7   7 Ket          Ket
21   10     End          End
22  ------------------------------------------------------------------  ------------------------------------------------------------------
23  Capturing subpattern count = 0  Capturing subpattern count = 0
24  Options: utf8  Options: utf8
25  First char = 225  First char = 225
26  Need char = 128  Need char = 128
27    
28  /\x{10000}/8DM  /\x{10000}/8DZ
 Memory allocation (code space): 12  
29  ------------------------------------------------------------------  ------------------------------------------------------------------
30    0   8 Bra 0          Bra
31    3     \x{10000}          \x{10000}
32    8   8 Ket          Ket
33   11     End          End
34  ------------------------------------------------------------------  ------------------------------------------------------------------
35  Capturing subpattern count = 0  Capturing subpattern count = 0
36  Options: utf8  Options: utf8
37  First char = 240  First char = 240
38  Need char = 128  Need char = 128
39    
40  /\x{100000}/8DM  /\x{100000}/8DZ
 Memory allocation (code space): 12  
41  ------------------------------------------------------------------  ------------------------------------------------------------------
42    0   8 Bra 0          Bra
43    3     \x{100000}          \x{100000}
44    8   8 Ket          Ket
45   11     End          End
46  ------------------------------------------------------------------  ------------------------------------------------------------------
47  Capturing subpattern count = 0  Capturing subpattern count = 0
48  Options: utf8  Options: utf8
49  First char = 244  First char = 244
50  Need char = 128  Need char = 128
51    
52  /\x{1000000}/8DM  /\x{1000000}/8DZ
 Memory allocation (code space): 13  
53  ------------------------------------------------------------------  ------------------------------------------------------------------
54    0   9 Bra 0          Bra
55    3     \x{1000000}          \x{1000000}
56    9   9 Ket          Ket
57   12     End          End
58  ------------------------------------------------------------------  ------------------------------------------------------------------
59  Capturing subpattern count = 0  Capturing subpattern count = 0
60  Options: utf8  Options: utf8
61  First char = 249  First char = 249
62  Need char = 128  Need char = 128
63    
64  /\x{4000000}/8DM  /\x{4000000}/8DZ
 Memory allocation (code space): 14  
65  ------------------------------------------------------------------  ------------------------------------------------------------------
66    0  10 Bra 0          Bra
67    3     \x{4000000}          \x{4000000}
68   10  10 Ket          Ket
69   13     End          End
70  ------------------------------------------------------------------  ------------------------------------------------------------------
71  Capturing subpattern count = 0  Capturing subpattern count = 0
72  Options: utf8  Options: utf8
73  First char = 252  First char = 252
74  Need char = 128  Need char = 128
75    
76  /\x{7fffFFFF}/8DM  /\x{7fffFFFF}/8DZ
 Memory allocation (code space): 14  
77  ------------------------------------------------------------------  ------------------------------------------------------------------
78    0  10 Bra 0          Bra
79    3     \x{7fffffff}          \x{7fffffff}
80   10  10 Ket          Ket
81   13     End          End
82  ------------------------------------------------------------------  ------------------------------------------------------------------
83  Capturing subpattern count = 0  Capturing subpattern count = 0
84  Options: utf8  Options: utf8
85  First char = 253  First char = 253
86  Need char = 191  Need char = 191
87    
88  /[\x{ff}]/8DM  /[\x{ff}]/8DZ
 Memory allocation (code space): 10  
89  ------------------------------------------------------------------  ------------------------------------------------------------------
90    0   6 Bra 0          Bra
91    3     \x{ff}          \x{ff}
92    6   6 Ket          Ket
93    9     End          End
94  ------------------------------------------------------------------  ------------------------------------------------------------------
95  Capturing subpattern count = 0  Capturing subpattern count = 0
96  Options: utf8  Options: utf8
97  First char = 195  First char = 195
98  Need char = 191  Need char = 191
99    
100  /[\x{100}]/8DM  /[\x{100}]/8DZ
 Memory allocation (code space): 47  
101  ------------------------------------------------------------------  ------------------------------------------------------------------
102    0  11 Bra 0          Bra
103    3     [\x{100}]          [\x{100}]
104   11  11 Ket          Ket
105   14     End          End
106  ------------------------------------------------------------------  ------------------------------------------------------------------
107  Capturing subpattern count = 0  Capturing subpattern count = 0
108  Options: utf8  Options: utf8
# Line 125  Failed: character value in \x{...} seque Line 119  Failed: character value in \x{...} seque
119      \x{100}a\x{1234}bcd      \x{100}a\x{1234}bcd
120   0: \x{100}a\x{1234}   0: \x{100}a\x{1234}
121    
122  /\x80/8D  /\x80/8DZ
123  ------------------------------------------------------------------  ------------------------------------------------------------------
124    0   6 Bra 0          Bra
125    3     \x{80}          \x{80}
126    6   6 Ket          Ket
127    9     End          End
128  ------------------------------------------------------------------  ------------------------------------------------------------------
129  Capturing subpattern count = 0  Capturing subpattern count = 0
130  Options: utf8  Options: utf8
131  First char = 194  First char = 194
132  Need char = 128  Need char = 128
133    
134  /\xff/8D  /\xff/8DZ
135  ------------------------------------------------------------------  ------------------------------------------------------------------
136    0   6 Bra 0          Bra
137    3     \x{ff}          \x{ff}
138    6   6 Ket          Ket
139    9     End          End
140  ------------------------------------------------------------------  ------------------------------------------------------------------
141  Capturing subpattern count = 0  Capturing subpattern count = 0
142  Options: utf8  Options: utf8
143  First char = 195  First char = 195
144  Need char = 191  Need char = 191
145    
146  /\x{0041}\x{2262}\x{0391}\x{002e}/D8  /\x{0041}\x{2262}\x{0391}\x{002e}/DZ8
147  ------------------------------------------------------------------  ------------------------------------------------------------------
148    0  14 Bra 0          Bra
149    3     A\x{2262}\x{391}.          A\x{2262}\x{391}.
150   14  14 Ket          Ket
151   17     End          End
152  ------------------------------------------------------------------  ------------------------------------------------------------------
153  Capturing subpattern count = 0  Capturing subpattern count = 0
154  Options: utf8  Options: utf8
# Line 163  Need char = '.' Line 157  Need char = '.'
157      \x{0041}\x{2262}\x{0391}\x{002e}      \x{0041}\x{2262}\x{0391}\x{002e}
158   0: A\x{2262}\x{391}.   0: A\x{2262}\x{391}.
159    
160  /\x{D55c}\x{ad6d}\x{C5B4}/D8  /\x{D55c}\x{ad6d}\x{C5B4}/DZ8
161  ------------------------------------------------------------------  ------------------------------------------------------------------
162    0  15 Bra 0          Bra
163    3     \x{d55c}\x{ad6d}\x{c5b4}          \x{d55c}\x{ad6d}\x{c5b4}
164   15  15 Ket          Ket
165   18     End          End
166  ------------------------------------------------------------------  ------------------------------------------------------------------
167  Capturing subpattern count = 0  Capturing subpattern count = 0
168  Options: utf8  Options: utf8
# Line 177  Need char = 180 Line 171  Need char = 180
171      \x{D55c}\x{ad6d}\x{C5B4}      \x{D55c}\x{ad6d}\x{C5B4}
172   0: \x{d55c}\x{ad6d}\x{c5b4}   0: \x{d55c}\x{ad6d}\x{c5b4}
173    
174  /\x{65e5}\x{672c}\x{8a9e}/D8  /\x{65e5}\x{672c}\x{8a9e}/DZ8
175  ------------------------------------------------------------------  ------------------------------------------------------------------
176    0  15 Bra 0          Bra
177    3     \x{65e5}\x{672c}\x{8a9e}          \x{65e5}\x{672c}\x{8a9e}
178   15  15 Ket          Ket
179   18     End          End
180  ------------------------------------------------------------------  ------------------------------------------------------------------
181  Capturing subpattern count = 0  Capturing subpattern count = 0
182  Options: utf8  Options: utf8
# Line 191  Need char = 158 Line 185  Need char = 158
185      \x{65e5}\x{672c}\x{8a9e}      \x{65e5}\x{672c}\x{8a9e}
186   0: \x{65e5}\x{672c}\x{8a9e}   0: \x{65e5}\x{672c}\x{8a9e}
187    
188  /\x{80}/D8  /\x{80}/DZ8
189  ------------------------------------------------------------------  ------------------------------------------------------------------
190    0   6 Bra 0          Bra
191    3     \x{80}          \x{80}
192    6   6 Ket          Ket
193    9     End          End
194  ------------------------------------------------------------------  ------------------------------------------------------------------
195  Capturing subpattern count = 0  Capturing subpattern count = 0
196  Options: utf8  Options: utf8
197  First char = 194  First char = 194
198  Need char = 128  Need char = 128
199    
200  /\x{084}/D8  /\x{084}/DZ8
201  ------------------------------------------------------------------  ------------------------------------------------------------------
202    0   6 Bra 0          Bra
203    3     \x{84}          \x{84}
204    6   6 Ket          Ket
205    9     End          End
206  ------------------------------------------------------------------  ------------------------------------------------------------------
207  Capturing subpattern count = 0  Capturing subpattern count = 0
208  Options: utf8  Options: utf8
209  First char = 194  First char = 194
210  Need char = 132  Need char = 132
211    
212  /\x{104}/D8  /\x{104}/DZ8
213  ------------------------------------------------------------------  ------------------------------------------------------------------
214    0   6 Bra 0          Bra
215    3     \x{104}          \x{104}
216    6   6 Ket          Ket
217    9     End          End
218  ------------------------------------------------------------------  ------------------------------------------------------------------
219  Capturing subpattern count = 0  Capturing subpattern count = 0
220  Options: utf8  Options: utf8
221  First char = 196  First char = 196
222  Need char = 132  Need char = 132
223    
224  /\x{861}/D8  /\x{861}/DZ8
225  ------------------------------------------------------------------  ------------------------------------------------------------------
226    0   7 Bra 0          Bra
227    3     \x{861}          \x{861}
228    7   7 Ket          Ket
229   10     End          End
230  ------------------------------------------------------------------  ------------------------------------------------------------------
231  Capturing subpattern count = 0  Capturing subpattern count = 0
232  Options: utf8  Options: utf8
233  First char = 224  First char = 224
234  Need char = 161  Need char = 161
235    
236  /\x{212ab}/D8  /\x{212ab}/DZ8
237  ------------------------------------------------------------------  ------------------------------------------------------------------
238    0   8 Bra 0          Bra
239    3     \x{212ab}          \x{212ab}
240    8   8 Ket          Ket
241   11     End          End
242  ------------------------------------------------------------------  ------------------------------------------------------------------
243  Capturing subpattern count = 0  Capturing subpattern count = 0
244  Options: utf8  Options: utf8
245  First char = 240  First char = 240
246  Need char = 171  Need char = 171
247    
248  /.{3,5}X/D8  /.{3,5}X/DZ8
249  ------------------------------------------------------------------  ------------------------------------------------------------------
250    0  13 Bra 0          Bra
251    3     Any{3}          Any{3}
252    7     Any{0,2}          Any{0,2}
253   11     X          X
254   13  13 Ket          Ket
255   16     End          End
256  ------------------------------------------------------------------  ------------------------------------------------------------------
257  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
258  Options: utf8  Options: utf8
259  No first char  No first char
260  Need char = 'X'  Need char = 'X'
# Line 269  Need char = 'X' Line 262  Need char = 'X'
262   0: \x{212ab}\x{212ab}\x{212ab}\x{861}X   0: \x{212ab}\x{212ab}\x{212ab}\x{861}X
263    
264    
265  /.{3,5}?/D8  /.{3,5}?/DZ8
266  ------------------------------------------------------------------  ------------------------------------------------------------------
267    0  11 Bra 0          Bra
268    3     Any{3}          Any{3}
269    7     Any{0,2}?          Any{0,2}?
270   11  11 Ket          Ket
271   14     End          End
272  ------------------------------------------------------------------  ------------------------------------------------------------------
273  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
274  Options: utf8  Options: utf8
275  No first char  No first char
276  No need char  No need char
277      \x{212ab}\x{212ab}\x{212ab}\x{861}      \x{212ab}\x{212ab}\x{212ab}\x{861}
278   0: \x{212ab}\x{212ab}\x{212ab}   0: \x{212ab}\x{212ab}\x{212ab}
279    
 /-- 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}  
   
 /-- --/  
   
280  /(?<=\C)X/8  /(?<=\C)X/8
281  Failed: \C not allowed in lookbehind assertion at offset 6  Failed: \C not allowed in lookbehind assertion at offset 6
282    
283  /-- 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
284  /-- 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
285  No match  can't tell the difference.) --/
 /-- character, and you can't tell the difference.) --/  
 No match  
286    
287  /X(\C)(.*)/8  /X(\C)(.*)/8
288      X\x{1234}      X\x{1234}
# Line 345  No match Line 294  No match
294   1: \x{0a}   1: \x{0a}
295   2: abc   2: abc
296    
297  /^[ab]/8D  /^[ab]/8DZ
298  ------------------------------------------------------------------  ------------------------------------------------------------------
299    0  37 Bra 0          Bra
300    3     ^          ^
301    4     [ab]          [ab]
302   37  37 Ket          Ket
303   40     End          End
304  ------------------------------------------------------------------  ------------------------------------------------------------------
305  Capturing subpattern count = 0  Capturing subpattern count = 0
306  Options: anchored utf8  Options: anchored utf8
# Line 368  No match Line 317  No match
317      \x{100}      \x{100}
318  No match  No match
319    
320  /^[^ab]/8D  /^[^ab]/8DZ
321  ------------------------------------------------------------------  ------------------------------------------------------------------
322    0  37 Bra 0          Bra
323    3     ^          ^
324    4     [\x00-`c-\xff] (neg)          [\x00-`c-\xff] (neg)
325   37  37 Ket          Ket
326   40     End          End
327  ------------------------------------------------------------------  ------------------------------------------------------------------
328  Capturing subpattern count = 0  Capturing subpattern count = 0
329  Options: anchored utf8  Options: anchored utf8
# Line 391  No need char Line 340  No need char
340      aaa      aaa
341  No match  No match
342    
343  /[^ab\xC0-\xF0]/8SD  /[^ab\xC0-\xF0]/8SDZ
344  ------------------------------------------------------------------  ------------------------------------------------------------------
345    0  36 Bra 0          Bra
346    3     [\x00-`c-\xbf\xf1-\xff] (neg)          [\x00-`c-\xbf\xf1-\xff] (neg)
347   36  36 Ket          Ket
348   39     End          End
349  ------------------------------------------------------------------  ------------------------------------------------------------------
350  Capturing subpattern count = 0  Capturing subpattern count = 0
351  Options: utf8  Options: utf8
352  No first char  No first char
353  No need char  No need char
354    Subject length lower bound = 1
355  Starting byte 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
356    \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
357    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4
# Line 427  No match Line 377  No match
377      \x{f0}      \x{f0}
378  No match  No match
379    
380  /Ā{3,4}/8SD  /Ā{3,4}/8SDZ
381  ------------------------------------------------------------------  ------------------------------------------------------------------
382    0  13 Bra 0          Bra
383    3     \x{100}{3}          \x{100}{3}
384    8     \x{100}{,1}          \x{100}?
385   13  13 Ket          Ket
386   16     End          End
387  ------------------------------------------------------------------  ------------------------------------------------------------------
388  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
389  Options: utf8  Options: utf8
390  First char = 196  First char = 196
391  Need char = 128  Need char = 128
392  Study returned NULL  Subject length lower bound = 3
393    No set of starting bytes
394    \x{100}\x{100}\x{100}\x{100\x{100}    \x{100}\x{100}\x{100}\x{100\x{100}
395   0: \x{100}\x{100}\x{100}   0: \x{100}\x{100}\x{100}
396    
397  /(\x{100}+|x)/8SD  /(\x{100}+|x)/8SDZ
398  ------------------------------------------------------------------  ------------------------------------------------------------------
399    0  17 Bra 0          Bra
400    3   6 Bra 1          CBra 1
401    6     \x{100}+          \x{100}+
402    9   5 Alt          Alt
403   12     x          x
404   14  11 Ket          Ket
405   17  17 Ket          Ket
406   20     End          End
407  ------------------------------------------------------------------  ------------------------------------------------------------------
408  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
409  Options: utf8  Options: utf8
410  No first char  No first char
411  No need char  No need char
412    Subject length lower bound = 1
413  Starting byte set: x \xc4  Starting byte set: x \xc4
414    
415  /(\x{100}*a|x)/8SD  /(\x{100}*a|x)/8SDZ
416  ------------------------------------------------------------------  ------------------------------------------------------------------
417    0  19 Bra 0          Bra
418    3   8 Bra 1          CBra 1
419    6     \x{100}*          \x{100}*+
420    9     a          a
421   11   5 Alt          Alt
422   14     x          x
423   16  13 Ket          Ket
424   19  19 Ket          Ket
425   22     End          End
426  ------------------------------------------------------------------  ------------------------------------------------------------------
427  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
428  Options: utf8  Options: utf8
429  No first char  No first char
430  No need char  No need char
431    Subject length lower bound = 1
432  Starting byte set: a x \xc4  Starting byte set: a x \xc4
433    
434  /(\x{100}{0,2}a|x)/8SD  /(\x{100}{0,2}a|x)/8SDZ
435  ------------------------------------------------------------------  ------------------------------------------------------------------
436    0  21 Bra 0          Bra
437    3  10 Bra 1          CBra 1
438    6     \x{100}{,2}          \x{100}{0,2}
439   11     a          a
440   13   5 Alt          Alt
441   16     x          x
442   18  15 Ket          Ket
443   21  21 Ket          Ket
444   24     End          End
445  ------------------------------------------------------------------  ------------------------------------------------------------------
446  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
447  Options: utf8  Options: utf8
448  No first char  No first char
449  No need char  No need char
450    Subject length lower bound = 1
451  Starting byte set: a x \xc4  Starting byte set: a x \xc4
452    
453  /(\x{100}{1,2}a|x)/8SD  /(\x{100}{1,2}a|x)/8SDZ
454  ------------------------------------------------------------------  ------------------------------------------------------------------
455    0  24 Bra 0          Bra
456    3  13 Bra 1          CBra 1
457    6     \x{100}          \x{100}
458    9     \x{100}{,1}          \x{100}{0,1}
459   14     a          a
460   16   5 Alt          Alt
461   19     x          x
462   21  18 Ket          Ket
463   24  24 Ket          Ket
464   27     End          End
465  ------------------------------------------------------------------  ------------------------------------------------------------------
466  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
467  Options: utf8  Options: utf8
468  No first char  No first char
469  No need char  No need char
470    Subject length lower bound = 1
471  Starting byte set: x \xc4  Starting byte set: x \xc4
472    
473  /\x{100}*(\d+|"(?1)")/8  /\x{100}*(\d+|"(?1)")/8
# Line 544  No match Line 494  No match
494      \x{100}\x{100}abcd      \x{100}\x{100}abcd
495  No match  No match
496    
497  /\x{100}/8D  /\x{100}/8DZ
498  ------------------------------------------------------------------  ------------------------------------------------------------------
499    0   6 Bra 0          Bra
500    3     \x{100}          \x{100}
501    6   6 Ket          Ket
502    9     End          End
503  ------------------------------------------------------------------  ------------------------------------------------------------------
504  Capturing subpattern count = 0  Capturing subpattern count = 0
505  Options: utf8  Options: utf8
506  First char = 196  First char = 196
507  Need char = 128  Need char = 128
508    
509  /\x{100}*/8D  /\x{100}*/8DZ
510  ------------------------------------------------------------------  ------------------------------------------------------------------
511    0   6 Bra 0          Bra
512    3     \x{100}*          \x{100}*
513    6   6 Ket          Ket
514    9     End          End
515  ------------------------------------------------------------------  ------------------------------------------------------------------
516  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
517  Options: utf8  Options: utf8
518  No first char  No first char
519  No need char  No need char
520    
521  /a\x{100}*/8D  /a\x{100}*/8DZ
522  ------------------------------------------------------------------  ------------------------------------------------------------------
523    0   8 Bra 0          Bra
524    3     a          a
525    5     \x{100}*          \x{100}*
526    8   8 Ket          Ket
527   11     End          End
528  ------------------------------------------------------------------  ------------------------------------------------------------------
529  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
530  Options: utf8  Options: utf8
531  First char = 'a'  First char = 'a'
532  No need char  No need char
533    
534  /ab\x{100}*/8D  /ab\x{100}*/8DZ
535  ------------------------------------------------------------------  ------------------------------------------------------------------
536    0  10 Bra 0          Bra
537    3     ab          ab
538    7     \x{100}*          \x{100}*
539   10  10 Ket          Ket
540   13     End          End
541  ------------------------------------------------------------------  ------------------------------------------------------------------
542  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
543  Options: utf8  Options: utf8
544  First char = 'a'  First char = 'a'
545  Need char = 'b'  Need char = 'b'
546    
547  /a\x{100}\x{101}*/8D  /a\x{100}\x{101}*/8DZ
548  ------------------------------------------------------------------  ------------------------------------------------------------------
549    0  11 Bra 0          Bra
550    3     a\x{100}          a\x{100}
551    8     \x{101}*          \x{101}*
552   11  11 Ket          Ket
553   14     End          End
554  ------------------------------------------------------------------  ------------------------------------------------------------------
555  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
556  Options: utf8  Options: utf8
557  First char = 'a'  First char = 'a'
558  Need char = 128  Need char = 128
559    
560  /a\x{100}\x{101}+/8D  /a\x{100}\x{101}+/8DZ
561  ------------------------------------------------------------------  ------------------------------------------------------------------
562    0  11 Bra 0          Bra
563    3     a\x{100}          a\x{100}
564    8     \x{101}+          \x{101}+
565   11  11 Ket          Ket
566   14     End          End
567  ------------------------------------------------------------------  ------------------------------------------------------------------
568  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
569  Options: utf8  Options: utf8
570  First char = 'a'  First char = 'a'
571  Need char = 129  Need char = 129
572    
573  /\x{100}*A/8D  /\x{100}*A/8DZ
574  ------------------------------------------------------------------  ------------------------------------------------------------------
575    0   8 Bra 0          Bra
576    3     \x{100}*          \x{100}*+
577    6     A          A
578    8   8 Ket          Ket
579   11     End          End
580  ------------------------------------------------------------------  ------------------------------------------------------------------
581  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
582  Options: utf8  Options: utf8
583  No first char  No first char
584  Need char = 'A'  Need char = 'A'
585      A      A
586   0: A   0: A
587    
588  /\x{100}*\d(?R)/8D  /\x{100}*\d(?R)/8DZ
589  ------------------------------------------------------------------  ------------------------------------------------------------------
590    0  16 Bra 0          Bra
591    3     \x{100}*          \x{100}*+
592    6     \d          \d
593    7   6 Once          Once
594   10   0 Recurse          Recurse
595   13   6 Ket          Ket
596   16  16 Ket          Ket
597   19     End          End
598  ------------------------------------------------------------------  ------------------------------------------------------------------
599  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
600  Options: utf8  Options: utf8
601  No first char  No first char
602  No need char  No need char
603    
604  /[^\x{c4}]/D  /[^\x{c4}]/DZ
605  ------------------------------------------------------------------  ------------------------------------------------------------------
606    0   5 Bra 0          Bra
607    3     [^\xc4]          [^\xc4]
608    5   5 Ket          Ket
609    8     End          End
610  ------------------------------------------------------------------  ------------------------------------------------------------------
611  Capturing subpattern count = 0  Capturing subpattern count = 0
612  No options  No options
613  No first char  No first char
614  No need char  No need char
615    
616  /[^\x{c4}]/8D  /[^\x{c4}]/8DZ
617  ------------------------------------------------------------------  ------------------------------------------------------------------
618    0  36 Bra 0          Bra
619    3     [\x00-\xc3\xc5-\xff] (neg)          [\x00-\xc3\xc5-\xff] (neg)
620   36  36 Ket          Ket
621   39     End          End
622  ------------------------------------------------------------------  ------------------------------------------------------------------
623  Capturing subpattern count = 0  Capturing subpattern count = 0
624  Options: utf8  Options: utf8
625  No first char  No first char
626  No need char  No need char
627    
628  /[\x{100}]/8DM  /[\x{100}]/8DZ
 Memory allocation (code space): 47  
629  ------------------------------------------------------------------  ------------------------------------------------------------------
630    0  11 Bra 0          Bra
631    3     [\x{100}]          [\x{100}]
632   11  11 Ket          Ket
633   14     End          End
634  ------------------------------------------------------------------  ------------------------------------------------------------------
635  Capturing subpattern count = 0  Capturing subpattern count = 0
636  Options: utf8  Options: utf8
# Line 703  No need char Line 645  No need char
645      *** Failers      *** Failers
646  No match  No match
647    
648  /[Z\x{100}]/8DM  /[Z\x{100}]/8DZ
 Memory allocation (code space): 47  
649  ------------------------------------------------------------------  ------------------------------------------------------------------
650    0  43 Bra 0          Bra
651    3     [Z\x{100}]          [Z\x{100}]
652   43  43 Ket          Ket
653   46     End          End
654  ------------------------------------------------------------------  ------------------------------------------------------------------
655  Capturing subpattern count = 0  Capturing subpattern count = 0
656  Options: utf8  Options: utf8
# Line 739  No match Line 680  No match
680      \x{ff}      \x{ff}
681  No match  No match
682    
683  /[z-\x{100}]/8D  /[z-\x{100}]/8DZ
684  ------------------------------------------------------------------  ------------------------------------------------------------------
685    0  12 Bra 0          Bra
686    3     [z-\x{100}]          [z-\x{100}]
687   12  12 Ket          Ket
688   15     End          End
689  ------------------------------------------------------------------  ------------------------------------------------------------------
690  Capturing subpattern count = 0  Capturing subpattern count = 0
691  Options: utf8  Options: utf8
692  No first char  No first char
693  No need char  No need char
694    
695  /[z\Qa-d]Ā\E]/8D  /[z\Qa-d]Ā\E]/8DZ
696  ------------------------------------------------------------------  ------------------------------------------------------------------
697    0  43 Bra 0          Bra
698    3     [\-\]adz\x{100}]          [\-\]adz\x{100}]
699   43  43 Ket          Ket
700   46     End          End
701  ------------------------------------------------------------------  ------------------------------------------------------------------
702  Capturing subpattern count = 0  Capturing subpattern count = 0
703  Options: utf8  Options: utf8
# Line 767  No need char Line 708  No need char
708      Ā      Ā
709   0: \x{100}   0: \x{100}
710    
711  /[\xFF]/D  /[\xFF]/DZ
712  ------------------------------------------------------------------  ------------------------------------------------------------------
713    0   5 Bra 0          Bra
714    3     \xff          \xff
715    5   5 Ket          Ket
716    8     End          End
717  ------------------------------------------------------------------  ------------------------------------------------------------------
718  Capturing subpattern count = 0  Capturing subpattern count = 0
719  No options  No options
# Line 781  No need char Line 722  No need char
722      >\xff<      >\xff<
723   0: \xff   0: \xff
724    
725  /[\xff]/D8  /[\xff]/DZ8
726  ------------------------------------------------------------------  ------------------------------------------------------------------
727    0   6 Bra 0          Bra
728    3     \x{ff}          \x{ff}
729    6   6 Ket          Ket
730    9     End          End
731  ------------------------------------------------------------------  ------------------------------------------------------------------
732  Capturing subpattern count = 0  Capturing subpattern count = 0
733  Options: utf8  Options: utf8
# Line 795  Need char = 191 Line 736  Need char = 191
736      >\x{ff}<      >\x{ff}<
737   0: \x{ff}   0: \x{ff}
738    
739  /[^\xFF]/D  /[^\xFF]/DZ
740  ------------------------------------------------------------------  ------------------------------------------------------------------
741    0   5 Bra 0          Bra
742    3     [^\xff]          [^\xff]
743    5   5 Ket          Ket
744    8     End          End
745  ------------------------------------------------------------------  ------------------------------------------------------------------
746  Capturing subpattern count = 0  Capturing subpattern count = 0
747  No options  No options
748  No first char  No first char
749  No need char  No need char
750    
751  /[^\xff]/8D  /[^\xff]/8DZ
752  ------------------------------------------------------------------  ------------------------------------------------------------------
753    0  36 Bra 0          Bra
754    3     [\x00-\xfe] (neg)          [\x00-\xfe] (neg)
755   36  36 Ket          Ket
756   39     End          End
757  ------------------------------------------------------------------  ------------------------------------------------------------------
758  Capturing subpattern count = 0  Capturing subpattern count = 0
759  Options: utf8  Options: utf8
# Line 852  Failed: invalid UTF-8 string at offset 0 Line 793  Failed: invalid UTF-8 string at offset 0
793  /xxx/8  /xxx/8
794  Failed: invalid UTF-8 string at offset 1  Failed: invalid UTF-8 string at offset 1
795    
796  /xxx/8?D  /xxx/8?DZ
797  ------------------------------------------------------------------  ------------------------------------------------------------------
798    0  15 Bra 0          Bra
799    3     \X{c0}\X{c0}\X{c0}xxx          \X{c0}\X{c0}\X{c0}xxx
800   15  15 Ket          Ket
801   18     End          End
802  ------------------------------------------------------------------  ------------------------------------------------------------------
803  Capturing subpattern count = 0  Capturing subpattern count = 0
804  Options: utf8 no_utf8_check  Options: utf8 no_utf8_check
# Line 902  No match Line 843  No match
843      \xf1\x8f\x80\x80      \xf1\x8f\x80\x80
844  No match  No match
845      \xf8\x88\x80\x80\x80      \xf8\x88\x80\x80\x80
846  No match  Error -10
847      \xf9\x87\x80\x80\x80      \xf9\x87\x80\x80\x80
848  No match  Error -10
849      \xfc\x84\x80\x80\x80\x80      \xfc\x84\x80\x80\x80\x80
850  No match  Error -10
851      \xfd\x83\x80\x80\x80\x80      \xfd\x83\x80\x80\x80\x80
852    Error -10
853        \?\xf8\x88\x80\x80\x80
854    No match
855        \?\xf9\x87\x80\x80\x80
856    No match
857        \?\xfc\x84\x80\x80\x80\x80
858    No match
859        \?\xfd\x83\x80\x80\x80\x80
860  No match  No match
861    
862  /\x{100}abc(xyz(?1))/8D  /\x{100}abc(xyz(?1))/8DZ
863  ------------------------------------------------------------------  ------------------------------------------------------------------
864    0  33 Bra 0          Bra
865    3     \x{100}abc          \x{100}abc
866   12  18 Bra 1          CBra 1
867   15     xyz          xyz
868   21   6 Once          Once
869   24  12 Recurse          Recurse
870   27   6 Ket          Ket
871   30  18 Ket          Ket
872   33  33 Ket          Ket
873   36     End          End
874  ------------------------------------------------------------------  ------------------------------------------------------------------
875  Capturing subpattern count = 1  Capturing subpattern count = 1
876  Options: utf8  Options: utf8
877  First char = 196  First char = 196
878  Need char = 'z'  Need char = 'z'
879    
880  /[^\x{100}]abc(xyz(?1))/8D  /[^\x{100}]abc(xyz(?1))/8DZ
881  ------------------------------------------------------------------  ------------------------------------------------------------------
882    0  38 Bra 0          Bra
883    3     [^\x{100}]          [^\x{100}]
884   11     abc          abc
885   17  18 Bra 1          CBra 1
886   20     xyz          xyz
887   26   6 Once          Once
888   29  17 Recurse          Recurse
889   32   6 Ket          Ket
890   35  18 Ket          Ket
891   38  38 Ket          Ket
892   41     End          End
893  ------------------------------------------------------------------  ------------------------------------------------------------------
894  Capturing subpattern count = 1  Capturing subpattern count = 1
895  Options: utf8  Options: utf8
896  No first char  No first char
897  Need char = 'z'  Need char = 'z'
898    
899  /[ab\x{100}]abc(xyz(?1))/8D  /[ab\x{100}]abc(xyz(?1))/8DZ
900  ------------------------------------------------------------------  ------------------------------------------------------------------
901    0  70 Bra 0          Bra
902    3     [ab\x{100}]          [ab\x{100}]
903   43     abc          abc
904   49  18 Bra 1          CBra 1
905   52     xyz          xyz
906   58   6 Once          Once
907   61  49 Recurse          Recurse
908   64   6 Ket          Ket
909   67  18 Ket          Ket
910   70  70 Ket          Ket
911   73     End          End
912  ------------------------------------------------------------------  ------------------------------------------------------------------
913  Capturing subpattern count = 1  Capturing subpattern count = 1
914  Options: utf8  Options: utf8
915  No first char  No first char
916  Need char = 'z'  Need char = 'z'
917    
918  /(\x{100}(b(?2)c))?/D8  /(\x{100}(b(?2)c))?/DZ8
919  ------------------------------------------------------------------  ------------------------------------------------------------------
920    0  32 Bra 0          Bra
921    3     Brazero          Brazero
922    4  25 Bra 1          CBra 1
923    7     \x{100}          \x{100}
924   10  16 Bra 2          CBra 2
925   13     b          b
926   15   6 Once          Once
927   18  10 Recurse          Recurse
928   21   6 Ket          Ket
929   24     c          c
930   26  16 Ket          Ket
931   29  25 Ket          Ket
932   32  32 Ket          Ket
933   35     End          End
934  ------------------------------------------------------------------  ------------------------------------------------------------------
935  Capturing subpattern count = 2  Capturing subpattern count = 2
936  Options: utf8  Options: utf8
937  No first char  No first char
938  No need char  No need char
939    
940  /(\x{100}(b(?2)c)){0,2}/D8  /(\x{100}(b(?2)c)){0,2}/DZ8
941  ------------------------------------------------------------------  ------------------------------------------------------------------
942    0  67 Bra 0          Bra
943    3     Brazero          Brazero
944    4  60 Bra 0          Bra
945    7  25 Bra 1          CBra 1
946   10     \x{100}          \x{100}
947   13  16 Bra 2          CBra 2
948   16     b          b
949   18   6 Once          Once
950   21  13 Recurse          Recurse
951   24   6 Ket          Ket
952   27     c          c
953   29  16 Ket          Ket
954   32  25 Ket          Ket
955   35     Brazero          Brazero
956   36  25 Bra 1          CBra 1
957   39     \x{100}          \x{100}
958   42  16 Bra 2          CBra 2
959   45     b          b
960   47   6 Once          Once
961   50  13 Recurse          Recurse
962   53   6 Ket          Ket
963   56     c          c
964   58  16 Ket          Ket
965   61  25 Ket          Ket
966   64  60 Ket          Ket
967   67  67 Ket          Ket
968   70     End          End
969  ------------------------------------------------------------------  ------------------------------------------------------------------
970  Capturing subpattern count = 2  Capturing subpattern count = 2
971  Options: utf8  Options: utf8
972  No first char  No first char
973  No need char  No need char
974    
975  /(\x{100}(b(?1)c))?/D8  /(\x{100}(b(?1)c))?/DZ8
976  ------------------------------------------------------------------  ------------------------------------------------------------------
977    0  32 Bra 0          Bra
978    3     Brazero          Brazero
979    4  25 Bra 1          CBra 1
980    7     \x{100}          \x{100}
981   10  16 Bra 2          CBra 2
982   13     b          b
983   15   6 Once          Once
984   18   4 Recurse          Recurse
985   21   6 Ket          Ket
986   24     c          c
987   26  16 Ket          Ket
988   29  25 Ket          Ket
989   32  32 Ket          Ket
990   35     End          End
991  ------------------------------------------------------------------  ------------------------------------------------------------------
992  Capturing subpattern count = 2  Capturing subpattern count = 2
993  Options: utf8  Options: utf8
994  No first char  No first char
995  No need char  No need char
996    
997  /(\x{100}(b(?1)c)){0,2}/D8  /(\x{100}(b(?1)c)){0,2}/DZ8
998  ------------------------------------------------------------------  ------------------------------------------------------------------
999    0  67 Bra 0          Bra
1000    3     Brazero          Brazero
1001    4  60 Bra 0          Bra
1002    7  25 Bra 1          CBra 1
1003   10     \x{100}          \x{100}
1004   13  16 Bra 2          CBra 2
1005   16     b          b
1006   18   6 Once          Once
1007   21   7 Recurse          Recurse
1008   24   6 Ket          Ket
1009   27     c          c
1010   29  16 Ket          Ket
1011   32  25 Ket          Ket
1012   35     Brazero          Brazero
1013   36  25 Bra 1          CBra 1
1014   39     \x{100}          \x{100}
1015   42  16 Bra 2          CBra 2
1016   45     b          b
1017   47   6 Once          Once
1018   50   7 Recurse          Recurse
1019   53   6 Ket          Ket
1020   56     c          c
1021   58  16 Ket          Ket
1022   61  25 Ket          Ket
1023   64  60 Ket          Ket
1024   67  67 Ket          Ket
1025   70     End          End
1026  ------------------------------------------------------------------  ------------------------------------------------------------------
1027  Capturing subpattern count = 2  Capturing subpattern count = 2
1028  Options: utf8  Options: utf8
# Line 1094  No need char Line 1043  No need char
1043      a\x{1234}b      a\x{1234}b
1044   0: a\x{1234}b   0: a\x{1234}b
1045    
1046  /^\ሴ/8D  /^\ሴ/8DZ
1047  ------------------------------------------------------------------  ------------------------------------------------------------------
1048    0   8 Bra 0          Bra
1049    3     ^          ^
1050    4     \x{1234}          \x{1234}
1051    8   8 Ket          Ket
1052   11     End          End
1053  ------------------------------------------------------------------  ------------------------------------------------------------------
1054  Capturing subpattern count = 0  Capturing subpattern count = 0
1055  Options: anchored utf8  Options: anchored utf8
# Line 1119  Need char = 191 Line 1068  Need char = 191
1068   0: \x{1ff}   0: \x{1ff}
1069    \777    \777
1070   0: \x{1ff}   0: \x{1ff}
1071    
1072    /\x{100}*\d/8DZ
1073    ------------------------------------------------------------------
1074            Bra
1075            \x{100}*+
1076            \d
1077            Ket
1078            End
1079    ------------------------------------------------------------------
1080    Capturing subpattern count = 0
1081    Options: utf8
1082    No first char
1083    No need char
1084    
1085    /\x{100}*\s/8DZ
1086    ------------------------------------------------------------------
1087            Bra
1088            \x{100}*+
1089            \s
1090            Ket
1091            End
1092    ------------------------------------------------------------------
1093    Capturing subpattern count = 0
1094    Options: utf8
1095    No first char
1096    No need char
1097    
1098    /\x{100}*\w/8DZ
1099    ------------------------------------------------------------------
1100            Bra
1101            \x{100}*+
1102            \w
1103            Ket
1104            End
1105    ------------------------------------------------------------------
1106    Capturing subpattern count = 0
1107    Options: utf8
1108    No first char
1109    No need char
1110    
1111    /\x{100}*\D/8DZ
1112    ------------------------------------------------------------------
1113            Bra
1114            \x{100}*
1115            \D
1116            Ket
1117            End
1118    ------------------------------------------------------------------
1119    Capturing subpattern count = 0
1120    Options: utf8
1121    No first char
1122    No need char
1123    
1124    /\x{100}*\S/8DZ
1125    ------------------------------------------------------------------
1126            Bra
1127            \x{100}*
1128            \S
1129            Ket
1130            End
1131    ------------------------------------------------------------------
1132    Capturing subpattern count = 0
1133    Options: utf8
1134    No first char
1135    No need char
1136    
1137    /\x{100}*\W/8DZ
1138    ------------------------------------------------------------------
1139            Bra
1140            \x{100}*
1141            \W
1142            Ket
1143            End
1144    ------------------------------------------------------------------
1145    Capturing subpattern count = 0
1146    Options: utf8
1147    No first char
1148    No need char
1149    
1150    /\x{100}+\x{200}/8DZ
1151    ------------------------------------------------------------------
1152            Bra
1153            \x{100}++
1154            \x{200}
1155            Ket
1156            End
1157    ------------------------------------------------------------------
1158    Capturing subpattern count = 0
1159    Options: utf8
1160    First char = 196
1161    Need char = 128
1162    
1163    /\x{100}+X/8DZ
1164    ------------------------------------------------------------------
1165            Bra
1166            \x{100}++
1167            X
1168            Ket
1169            End
1170    ------------------------------------------------------------------
1171    Capturing subpattern count = 0
1172    Options: utf8
1173    First char = 196
1174    Need char = 'X'
1175    
1176    /X+\x{200}/8DZ
1177    ------------------------------------------------------------------
1178            Bra
1179            X++
1180            \x{200}
1181            Ket
1182            End
1183    ------------------------------------------------------------------
1184    Capturing subpattern count = 0
1185    Options: utf8
1186    First char = 'X'
1187    Need char = 128
1188    
1189    /()()()()()()()()()()
1190     ()()()()()()()()()()
1191     ()()()()()()()()()()
1192     ()()()()()()()()()()
1193     A (x) (?41) B/8x
1194        AxxB
1195    Matched, but too many substrings
1196     0: AxxB
1197     1:
1198     2:
1199     3:
1200     4:
1201     5:
1202     6:
1203     7:
1204     8:
1205     9:
1206    10:
1207    11:
1208    12:
1209    13:
1210    14:
1211    
1212    /^[\x{100}\E-\Q\E\x{150}]/BZ8
1213    ------------------------------------------------------------------
1214            Bra
1215            ^
1216            [\x{100}-\x{150}]
1217            Ket
1218            End
1219    ------------------------------------------------------------------
1220    
1221    /^[\QĀ\E-\QŐ\E]/BZ8
1222    ------------------------------------------------------------------
1223            Bra
1224            ^
1225            [\x{100}-\x{150}]
1226            Ket
1227            End
1228    ------------------------------------------------------------------
1229    
1230    /^[\QĀ\E-\QŐ\E/BZ8
1231    Failed: missing terminating ] for character class at offset 15
1232    
1233    /^abc./mgx8<any>
1234        abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x{0085}abc7 \x{2028}abc8 \x{2029}abc9 JUNK
1235     0: abc1
1236     0: abc2
1237     0: abc3
1238     0: abc4
1239     0: abc5
1240     0: abc6
1241     0: abc7
1242     0: abc8
1243     0: abc9
1244    
1245    /abc.$/mgx8<any>
1246        abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x{0085} abc7\x{2028} abc8\x{2029} abc9
1247     0: abc1
1248     0: abc2
1249     0: abc3
1250     0: abc4
1251     0: abc5
1252     0: abc6
1253     0: abc7
1254     0: abc8
1255     0: abc9
1256    
1257    /^a\Rb/8<bsr_unicode>
1258        a\nb
1259     0: a\x{0a}b
1260        a\rb
1261     0: a\x{0d}b
1262        a\r\nb
1263     0: a\x{0d}\x{0a}b
1264        a\x0bb
1265     0: a\x{0b}b
1266        a\x0cb
1267     0: a\x{0c}b
1268        a\x{85}b
1269     0: a\x{85}b
1270        a\x{2028}b
1271     0: a\x{2028}b
1272        a\x{2029}b
1273     0: a\x{2029}b
1274        ** Failers
1275    No match
1276        a\n\rb
1277    No match
1278    
1279    /^a\R*b/8<bsr_unicode>
1280        ab
1281     0: ab
1282        a\nb
1283     0: a\x{0a}b
1284        a\rb
1285     0: a\x{0d}b
1286        a\r\nb
1287     0: a\x{0d}\x{0a}b
1288        a\x0bb
1289     0: a\x{0b}b
1290        a\x0c\x{2028}\x{2029}b
1291     0: a\x{0c}\x{2028}\x{2029}b
1292        a\x{85}b
1293     0: a\x{85}b
1294        a\n\rb
1295     0: a\x{0a}\x{0d}b
1296        a\n\r\x{85}\x0cb
1297     0: a\x{0a}\x{0d}\x{85}\x{0c}b
1298    
1299    /^a\R+b/8<bsr_unicode>
1300        a\nb
1301     0: a\x{0a}b
1302        a\rb
1303     0: a\x{0d}b
1304        a\r\nb
1305     0: a\x{0d}\x{0a}b
1306        a\x0bb
1307     0: a\x{0b}b
1308        a\x0c\x{2028}\x{2029}b
1309     0: a\x{0c}\x{2028}\x{2029}b
1310        a\x{85}b
1311     0: a\x{85}b
1312        a\n\rb
1313     0: a\x{0a}\x{0d}b
1314        a\n\r\x{85}\x0cb
1315     0: a\x{0a}\x{0d}\x{85}\x{0c}b
1316        ** Failers
1317    No match
1318        ab
1319    No match
1320    
1321    /^a\R{1,3}b/8<bsr_unicode>
1322        a\nb
1323     0: a\x{0a}b
1324        a\n\rb
1325     0: a\x{0a}\x{0d}b
1326        a\n\r\x{85}b
1327     0: a\x{0a}\x{0d}\x{85}b
1328        a\r\n\r\nb
1329     0: a\x{0d}\x{0a}\x{0d}\x{0a}b
1330        a\r\n\r\n\r\nb
1331     0: a\x{0d}\x{0a}\x{0d}\x{0a}\x{0d}\x{0a}b
1332        a\n\r\n\rb
1333     0: a\x{0a}\x{0d}\x{0a}\x{0d}b
1334        a\n\n\r\nb
1335     0: a\x{0a}\x{0a}\x{0d}\x{0a}b
1336        ** Failers
1337    No match
1338        a\n\n\n\rb
1339    No match
1340        a\r
1341    No match
1342    
1343    /\H\h\V\v/8
1344        X X\x0a
1345     0: X X\x{0a}
1346        X\x09X\x0b
1347     0: X\x{09}X\x{0b}
1348        ** Failers
1349    No match
1350        \x{a0} X\x0a
1351    No match
1352    
1353    /\H*\h+\V?\v{3,4}/8
1354        \x09\x20\x{a0}X\x0a\x0b\x0c\x0d\x0a
1355     0: \x{09} \x{a0}X\x{0a}\x{0b}\x{0c}\x{0d}
1356        \x09\x20\x{a0}\x0a\x0b\x0c\x0d\x0a
1357     0: \x{09} \x{a0}\x{0a}\x{0b}\x{0c}\x{0d}
1358        \x09\x20\x{a0}\x0a\x0b\x0c
1359     0: \x{09} \x{a0}\x{0a}\x{0b}\x{0c}
1360        ** Failers
1361    No match
1362        \x09\x20\x{a0}\x0a\x0b
1363    No match
1364    
1365    /\H\h\V\v/8
1366        \x{3001}\x{3000}\x{2030}\x{2028}
1367     0: \x{3001}\x{3000}\x{2030}\x{2028}
1368        X\x{180e}X\x{85}
1369     0: X\x{180e}X\x{85}
1370        ** Failers
1371    No match
1372        \x{2009} X\x0a
1373    No match
1374    
1375    /\H*\h+\V?\v{3,4}/8
1376        \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x0c\x0d\x0a
1377     0: \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x{0c}\x{0d}
1378        \x09\x{205f}\x{a0}\x0a\x{2029}\x0c\x{2028}\x0a
1379     0: \x{09}\x{205f}\x{a0}\x{0a}\x{2029}\x{0c}\x{2028}
1380        \x09\x20\x{202f}\x0a\x0b\x0c
1381     0: \x{09} \x{202f}\x{0a}\x{0b}\x{0c}
1382        ** Failers
1383    No match
1384        \x09\x{200a}\x{a0}\x{2028}\x0b
1385    No match
1386    
1387    /[\h]/8BZ
1388    ------------------------------------------------------------------
1389            Bra
1390            [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]
1391            Ket
1392            End
1393    ------------------------------------------------------------------
1394        >\x{1680}
1395     0: \x{1680}
1396    
1397    /[\h]{3,}/8BZ
1398    ------------------------------------------------------------------
1399            Bra
1400            [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]{3,}
1401            Ket
1402            End
1403    ------------------------------------------------------------------
1404        >\x{1680}\x{180e}\x{2000}\x{2003}\x{200a}\x{202f}\x{205f}\x{3000}<
1405     0: \x{1680}\x{180e}\x{2000}\x{2003}\x{200a}\x{202f}\x{205f}\x{3000}
1406    
1407    /[\v]/8BZ
1408    ------------------------------------------------------------------
1409            Bra
1410            [\x0a-\x0d\x85\x{2028}-\x{2029}]
1411            Ket
1412            End
1413    ------------------------------------------------------------------
1414    
1415    /[\H]/8BZ
1416    ------------------------------------------------------------------
1417            Bra
1418            [\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}]
1419            Ket
1420            End
1421    ------------------------------------------------------------------
1422    
1423    /[\V]/8BZ
1424    ------------------------------------------------------------------
1425            Bra
1426            [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{2029}-\x{7fffffff}]
1427            Ket
1428            End
1429    ------------------------------------------------------------------
1430    
1431    /.*$/8<any>
1432        \x{1ec5}
1433     0: \x{1ec5}
1434    
1435    /-- This tests the stricter UTF-8 check according to RFC 3629. --/
1436    
1437    /X/8
1438        \x{0}\x{d7ff}\x{e000}\x{10ffff}
1439    No match
1440        \x{d800}
1441    Error -10
1442        \x{d800}\?
1443    No match
1444        \x{da00}
1445    Error -10
1446        \x{da00}\?
1447    No match
1448        \x{dfff}
1449    Error -10
1450        \x{dfff}\?
1451    No match
1452        \x{110000}
1453    Error -10
1454        \x{110000}\?
1455    No match
1456        \x{2000000}
1457    Error -10
1458        \x{2000000}\?
1459    No match
1460        \x{7fffffff}
1461    Error -10
1462        \x{7fffffff}\?
1463    No match
1464    
1465    /a\Rb/I8<bsr_anycrlf>
1466    Capturing subpattern count = 0
1467    Options: bsr_anycrlf utf8
1468    First char = 'a'
1469    Need char = 'b'
1470        a\rb
1471     0: a\x{0d}b
1472        a\nb
1473     0: a\x{0a}b
1474        a\r\nb
1475     0: a\x{0d}\x{0a}b
1476        ** Failers
1477    No match
1478        a\x{85}b
1479    No match
1480        a\x0bb
1481    No match
1482    
1483    /a\Rb/I8<bsr_unicode>
1484    Capturing subpattern count = 0
1485    Options: bsr_unicode utf8
1486    First char = 'a'
1487    Need char = 'b'
1488        a\rb
1489     0: a\x{0d}b
1490        a\nb
1491     0: a\x{0a}b
1492        a\r\nb
1493     0: a\x{0d}\x{0a}b
1494        a\x{85}b
1495     0: a\x{85}b
1496        a\x0bb
1497     0: a\x{0b}b
1498        ** Failers
1499    No match
1500        a\x{85}b\<bsr_anycrlf>
1501    No match
1502        a\x0bb\<bsr_anycrlf>
1503    No match
1504    
1505    /a\R?b/I8<bsr_anycrlf>
1506    Capturing subpattern count = 0
1507    Options: bsr_anycrlf utf8
1508    First char = 'a'
1509    Need char = 'b'
1510        a\rb
1511     0: a\x{0d}b
1512        a\nb
1513     0: a\x{0a}b
1514        a\r\nb
1515     0: a\x{0d}\x{0a}b
1516        ** Failers
1517    No match
1518        a\x{85}b
1519    No match
1520        a\x0bb
1521    No match
1522    
1523    /a\R?b/I8<bsr_unicode>
1524    Capturing subpattern count = 0
1525    Options: bsr_unicode utf8
1526    First char = 'a'
1527    Need char = 'b'
1528        a\rb
1529     0: a\x{0d}b
1530        a\nb
1531     0: a\x{0a}b
1532        a\r\nb
1533     0: a\x{0d}\x{0a}b
1534        a\x{85}b
1535     0: a\x{85}b
1536        a\x0bb
1537     0: a\x{0b}b
1538        ** Failers
1539    No match
1540        a\x{85}b\<bsr_anycrlf>
1541    No match
1542        a\x0bb\<bsr_anycrlf>
1543    No match
1544    
1545    /.*a.*=.b.*/8<ANY>
1546        QQQ\x{2029}ABCaXYZ=!bPQR
1547     0: ABCaXYZ=!bPQR
1548        ** Failers
1549    No match
1550        a\x{2029}b
1551    No match
1552        \x61\xe2\x80\xa9\x62
1553    No match
1554    
1555    /[[:a\x{100}b:]]/8
1556    Failed: unknown POSIX class name at offset 3
1557    
1558    /a[^]b/<JS>8
1559        a\x{1234}b
1560     0: a\x{1234}b
1561        a\nb
1562     0: a\x{0a}b
1563        ** Failers
1564    No match
1565        ab
1566    No match
1567    
1568    /a[^]+b/<JS>8
1569        aXb
1570     0: aXb
1571        a\nX\nX\x{1234}b
1572     0: a\x{0a}X\x{0a}X\x{1234}b
1573        ** Failers
1574    No match
1575        ab
1576    No match
1577    
1578    /(\x{de})\1/
1579        \x{de}\x{de}
1580     0: \xde\xde
1581     1: \xde
1582        \x{123}
1583    ** Character \x{123} is greater than 255 and UTF-8 mode is not enabled.
1584    ** Truncation will probably give the wrong result.
1585    No match
1586    
1587    /X/8f<any>
1588        A\x{1ec5}ABCXYZ
1589     0: X
1590    
1591    /(*UTF8)\x{1234}/
1592      abcd\x{1234}pqr
1593     0: \x{1234}
1594    
1595    /(*CRLF)(*UTF8)(*BSR_UNICODE)a\Rb/I
1596    Capturing subpattern count = 0
1597    Options: bsr_unicode utf8
1598    Forced newline sequence: CRLF
1599    First char = 'a'
1600    Need char = 'b'
1601    
1602    /Xa{2,4}b/8
1603        X\P
1604    Partial match: X
1605        Xa\P
1606    Partial match: Xa
1607        Xaa\P
1608    Partial match: Xaa
1609        Xaaa\P
1610    Partial match: Xaaa
1611        Xaaaa\P
1612    Partial match: Xaaaa
1613    
1614    /Xa{2,4}?b/8
1615        X\P
1616    Partial match: X
1617        Xa\P
1618    Partial match: Xa
1619        Xaa\P
1620    Partial match: Xaa
1621        Xaaa\P
1622    Partial match: Xaaa
1623        Xaaaa\P
1624    Partial match: Xaaaa
1625    
1626    /Xa{2,4}+b/8
1627        X\P
1628    Partial match: X
1629        Xa\P
1630    Partial match: Xa
1631        Xaa\P
1632    Partial match: Xaa
1633        Xaaa\P
1634    Partial match: Xaaa
1635        Xaaaa\P
1636    Partial match: Xaaaa
1637    
1638    /X\x{123}{2,4}b/8
1639        X\P
1640    Partial match: X
1641        X\x{123}\P
1642    Partial match: X\x{123}
1643        X\x{123}\x{123}\P
1644    Partial match: X\x{123}\x{123}
1645        X\x{123}\x{123}\x{123}\P
1646    Partial match: X\x{123}\x{123}\x{123}
1647        X\x{123}\x{123}\x{123}\x{123}\P
1648    Partial match: X\x{123}\x{123}\x{123}\x{123}
1649    
1650    /X\x{123}{2,4}?b/8
1651        X\P
1652    Partial match: X
1653        X\x{123}\P
1654    Partial match: X\x{123}
1655        X\x{123}\x{123}\P
1656    Partial match: X\x{123}\x{123}
1657        X\x{123}\x{123}\x{123}\P
1658    Partial match: X\x{123}\x{123}\x{123}
1659        X\x{123}\x{123}\x{123}\x{123}\P
1660    Partial match: X\x{123}\x{123}\x{123}\x{123}
1661    
1662    /X\x{123}{2,4}+b/8
1663        X\P
1664    Partial match: X
1665        X\x{123}\P
1666    Partial match: X\x{123}
1667        X\x{123}\x{123}\P
1668    Partial match: X\x{123}\x{123}
1669        X\x{123}\x{123}\x{123}\P
1670    Partial match: X\x{123}\x{123}\x{123}
1671        X\x{123}\x{123}\x{123}\x{123}\P
1672    Partial match: X\x{123}\x{123}\x{123}\x{123}
1673    
1674    /X\x{123}{2,4}b/8
1675        Xx\P
1676    No match
1677        X\x{123}x\P
1678    No match
1679        X\x{123}\x{123}x\P
1680    No match
1681        X\x{123}\x{123}\x{123}x\P
1682    No match
1683        X\x{123}\x{123}\x{123}\x{123}x\P
1684    No match
1685    
1686    /X\x{123}{2,4}?b/8
1687        Xx\P
1688    No match
1689        X\x{123}x\P
1690    No match
1691        X\x{123}\x{123}x\P
1692    No match
1693        X\x{123}\x{123}\x{123}x\P
1694    No match
1695        X\x{123}\x{123}\x{123}\x{123}x\P
1696    No match
1697    
1698    /X\x{123}{2,4}+b/8
1699        Xx\P
1700    No match
1701        X\x{123}x\P
1702    No match
1703        X\x{123}\x{123}x\P
1704    No match
1705        X\x{123}\x{123}\x{123}x\P
1706    No match
1707        X\x{123}\x{123}\x{123}\x{123}x\P
1708    No match
1709    
1710    /X\d{2,4}b/8
1711        X\P
1712    Partial match: X
1713        X3\P
1714    Partial match: X3
1715        X33\P
1716    Partial match: X33
1717        X333\P
1718    Partial match: X333
1719        X3333\P
1720    Partial match: X3333
1721    
1722    /X\d{2,4}?b/8
1723        X\P
1724    Partial match: X
1725        X3\P
1726    Partial match: X3
1727        X33\P
1728    Partial match: X33
1729        X333\P
1730    Partial match: X333
1731        X3333\P
1732    Partial match: X3333
1733    
1734    /X\d{2,4}+b/8
1735        X\P
1736    Partial match: X
1737        X3\P
1738    Partial match: X3
1739        X33\P
1740    Partial match: X33
1741        X333\P
1742    Partial match: X333
1743        X3333\P
1744    Partial match: X3333
1745    
1746    /X\D{2,4}b/8
1747        X\P
1748    Partial match: X
1749        Xa\P
1750    Partial match: Xa
1751        Xaa\P
1752    Partial match: Xaa
1753        Xaaa\P
1754    Partial match: Xaaa
1755        Xaaaa\P
1756    Partial match: Xaaaa
1757    
1758    /X\D{2,4}?b/8
1759        X\P
1760    Partial match: X
1761        Xa\P
1762    Partial match: Xa
1763        Xaa\P
1764    Partial match: Xaa
1765        Xaaa\P
1766    Partial match: Xaaa
1767        Xaaaa\P
1768    Partial match: Xaaaa
1769    
1770    /X\D{2,4}+b/8
1771        X\P
1772    Partial match: X
1773        Xa\P
1774    Partial match: Xa
1775        Xaa\P
1776    Partial match: Xaa
1777        Xaaa\P
1778    Partial match: Xaaa
1779        Xaaaa\P
1780    Partial match: Xaaaa
1781    
1782    /X\D{2,4}b/8
1783        X\P
1784    Partial match: X
1785        X\x{123}\P
1786    Partial match: X\x{123}
1787        X\x{123}\x{123}\P
1788    Partial match: X\x{123}\x{123}
1789        X\x{123}\x{123}\x{123}\P
1790    Partial match: X\x{123}\x{123}\x{123}
1791        X\x{123}\x{123}\x{123}\x{123}\P
1792    Partial match: X\x{123}\x{123}\x{123}\x{123}
1793    
1794    /X\D{2,4}?b/8
1795        X\P
1796    Partial match: X
1797        X\x{123}\P
1798    Partial match: X\x{123}
1799        X\x{123}\x{123}\P
1800    Partial match: X\x{123}\x{123}
1801        X\x{123}\x{123}\x{123}\P
1802    Partial match: X\x{123}\x{123}\x{123}
1803        X\x{123}\x{123}\x{123}\x{123}\P
1804    Partial match: X\x{123}\x{123}\x{123}\x{123}
1805    
1806    /X\D{2,4}+b/8
1807        X\P
1808    Partial match: X
1809        X\x{123}\P
1810    Partial match: X\x{123}
1811        X\x{123}\x{123}\P
1812    Partial match: X\x{123}\x{123}
1813        X\x{123}\x{123}\x{123}\P
1814    Partial match: X\x{123}\x{123}\x{123}
1815        X\x{123}\x{123}\x{123}\x{123}\P
1816    Partial match: X\x{123}\x{123}\x{123}\x{123}
1817    
1818    /X[abc]{2,4}b/8
1819        X\P
1820    Partial match: X
1821        Xa\P
1822    Partial match: Xa
1823        Xaa\P
1824    Partial match: Xaa
1825        Xaaa\P
1826    Partial match: Xaaa
1827        Xaaaa\P
1828    Partial match: Xaaaa
1829    
1830    /X[abc]{2,4}?b/8
1831        X\P
1832    Partial match: X
1833        Xa\P
1834    Partial match: Xa
1835        Xaa\P
1836    Partial match: Xaa
1837        Xaaa\P
1838    Partial match: Xaaa
1839        Xaaaa\P
1840    Partial match: Xaaaa
1841    
1842    /X[abc]{2,4}+b/8
1843        X\P
1844    Partial match: X
1845        Xa\P
1846    Partial match: Xa
1847        Xaa\P
1848    Partial match: Xaa
1849        Xaaa\P
1850    Partial match: Xaaa
1851        Xaaaa\P
1852    Partial match: Xaaaa
1853    
1854    /X[abc\x{123}]{2,4}b/8
1855        X\P
1856    Partial match: X
1857        X\x{123}\P
1858    Partial match: X\x{123}
1859        X\x{123}\x{123}\P
1860    Partial match: X\x{123}\x{123}
1861        X\x{123}\x{123}\x{123}\P
1862    Partial match: X\x{123}\x{123}\x{123}
1863        X\x{123}\x{123}\x{123}\x{123}\P
1864    Partial match: X\x{123}\x{123}\x{123}\x{123}
1865    
1866    /X[abc\x{123}]{2,4}?b/8
1867        X\P
1868    Partial match: X
1869        X\x{123}\P
1870    Partial match: X\x{123}
1871        X\x{123}\x{123}\P
1872    Partial match: X\x{123}\x{123}
1873        X\x{123}\x{123}\x{123}\P
1874    Partial match: X\x{123}\x{123}\x{123}
1875        X\x{123}\x{123}\x{123}\x{123}\P
1876    Partial match: X\x{123}\x{123}\x{123}\x{123}
1877    
1878    /X[abc\x{123}]{2,4}+b/8
1879        X\P
1880    Partial match: X
1881        X\x{123}\P
1882    Partial match: X\x{123}
1883        X\x{123}\x{123}\P
1884    Partial match: X\x{123}\x{123}
1885        X\x{123}\x{123}\x{123}\P
1886    Partial match: X\x{123}\x{123}\x{123}
1887        X\x{123}\x{123}\x{123}\x{123}\P
1888    Partial match: X\x{123}\x{123}\x{123}\x{123}
1889    
1890    /X[^a]{2,4}b/8
1891        X\P
1892    Partial match: X
1893        Xz\P
1894    Partial match: Xz
1895        Xzz\P
1896    Partial match: Xzz
1897        Xzzz\P
1898    Partial match: Xzzz
1899        Xzzzz\P
1900    Partial match: Xzzzz
1901    
1902    /X[^a]{2,4}?b/8
1903        X\P
1904    Partial match: X
1905        Xz\P
1906    Partial match: Xz
1907        Xzz\P
1908    Partial match: Xzz
1909        Xzzz\P
1910    Partial match: Xzzz
1911        Xzzzz\P
1912    Partial match: Xzzzz
1913    
1914    /X[^a]{2,4}+b/8
1915        X\P
1916    Partial match: X
1917        Xz\P
1918    Partial match: Xz
1919        Xzz\P
1920    Partial match: Xzz
1921        Xzzz\P
1922    Partial match: Xzzz
1923        Xzzzz\P
1924    Partial match: Xzzzz
1925    
1926    /X[^a]{2,4}b/8
1927        X\P
1928    Partial match: X
1929        X\x{123}\P
1930    Partial match: X\x{123}
1931        X\x{123}\x{123}\P
1932    Partial match: X\x{123}\x{123}
1933        X\x{123}\x{123}\x{123}\P
1934    Partial match: X\x{123}\x{123}\x{123}
1935        X\x{123}\x{123}\x{123}\x{123}\P
1936    Partial match: X\x{123}\x{123}\x{123}\x{123}
1937    
1938    /X[^a]{2,4}?b/8
1939        X\P
1940    Partial match: X
1941        X\x{123}\P
1942    Partial match: X\x{123}
1943        X\x{123}\x{123}\P
1944    Partial match: X\x{123}\x{123}
1945        X\x{123}\x{123}\x{123}\P
1946    Partial match: X\x{123}\x{123}\x{123}
1947        X\x{123}\x{123}\x{123}\x{123}\P
1948    Partial match: X\x{123}\x{123}\x{123}\x{123}
1949    
1950    /X[^a]{2,4}+b/8
1951        X\P
1952    Partial match: X
1953        X\x{123}\P
1954    Partial match: X\x{123}
1955        X\x{123}\x{123}\P
1956    Partial match: X\x{123}\x{123}
1957        X\x{123}\x{123}\x{123}\P
1958    Partial match: X\x{123}\x{123}\x{123}
1959        X\x{123}\x{123}\x{123}\x{123}\P
1960    Partial match: X\x{123}\x{123}\x{123}\x{123}
1961    
1962    /(Y)X\1{2,4}b/8
1963        YX\P
1964    Partial match: YX
1965        YXY\P
1966    Partial match: YXY
1967        YXYY\P
1968    Partial match: YXYY
1969        YXYYY\P
1970    Partial match: YXYYY
1971        YXYYYY\P
1972    Partial match: YXYYYY
1973    
1974    /(Y)X\1{2,4}?b/8
1975        YX\P
1976    Partial match: YX
1977        YXY\P
1978    Partial match: YXY
1979        YXYY\P
1980    Partial match: YXYY
1981        YXYYY\P
1982    Partial match: YXYYY
1983        YXYYYY\P
1984    Partial match: YXYYYY
1985    
1986    /(Y)X\1{2,4}+b/8
1987        YX\P
1988    Partial match: YX
1989        YXY\P
1990    Partial match: YXY
1991        YXYY\P
1992    Partial match: YXYY
1993        YXYYY\P
1994    Partial match: YXYYY
1995        YXYYYY\P
1996    Partial match: YXYYYY
1997    
1998    /(\x{123})X\1{2,4}b/8
1999        \x{123}X\P
2000    Partial match: \x{123}X
2001        \x{123}X\x{123}\P
2002    Partial match: \x{123}X\x{123}
2003        \x{123}X\x{123}\x{123}\P
2004    Partial match: \x{123}X\x{123}\x{123}
2005        \x{123}X\x{123}\x{123}\x{123}\P
2006    Partial match: \x{123}X\x{123}\x{123}\x{123}
2007        \x{123}X\x{123}\x{123}\x{123}\x{123}\P
2008    Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
2009    
2010    /(\x{123})X\1{2,4}?b/8
2011        \x{123}X\P
2012    Partial match: \x{123}X
2013        \x{123}X\x{123}\P
2014    Partial match: \x{123}X\x{123}
2015        \x{123}X\x{123}\x{123}\P
2016    Partial match: \x{123}X\x{123}\x{123}
2017        \x{123}X\x{123}\x{123}\x{123}\P
2018    Partial match: \x{123}X\x{123}\x{123}\x{123}
2019        \x{123}X\x{123}\x{123}\x{123}\x{123}\P
2020    Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
2021    
2022    /(\x{123})X\1{2,4}+b/8
2023        \x{123}X\P
2024    Partial match: \x{123}X
2025        \x{123}X\x{123}\P
2026    Partial match: \x{123}X\x{123}
2027        \x{123}X\x{123}\x{123}\P
2028    Partial match: \x{123}X\x{123}\x{123}
2029        \x{123}X\x{123}\x{123}\x{123}\P
2030    Partial match: \x{123}X\x{123}\x{123}\x{123}
2031        \x{123}X\x{123}\x{123}\x{123}\x{123}\P
2032    Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
2033    
2034    /\bthe cat\b/8
2035        the cat\P
2036     0: the cat
2037        the cat\P\P
2038    Partial match: the cat
2039    
2040  / End of testinput5 /  /-- End of testinput5 --/

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

  ViewVC Help
Powered by ViewVC 1.1.5