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

Diff of /code/trunk/testdata/testoutput2

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

revision 167 by ph10, Wed May 9 15:53:54 2007 UTC revision 454 by ph10, Tue Sep 22 09:42:11 2009 UTC
# Line 1  Line 1 
1    /-- This set of tests is not Perl-compatible. It checks on special features
2        of PCRE's API, error diagnostics, and the compiled code of some patterns.
3        It also checks the non-Perl syntax the PCRE supports (Python, .NET,
4        Oniguruma). Finally, there are some tests where PCRE and Perl differ,
5        either because PCRE can't be compatible, or there is potential Perl
6        bug. --/
7    
8    /-- Originally, the Perl 5.10 things were in here too, but now I have separated
9        many (most?) of them out into test 11. However, there may still be some
10        that were overlooked. --/
11    
12  /(a)b|/I  /(a)b|/I
13  Capturing subpattern count = 1  Capturing subpattern count = 1
14  No options  No options
15  No first char  No first char
16  No need char  No need char
 Capturing subpattern count = 1  
  0:  
 No options  
  0:  
 No first char  
  0:  
 No need char  
  0:  
17    
18  /abc/I  /abc/I
19  Capturing subpattern count = 0  Capturing subpattern count = 0
20  No options  No options
21  First char = 'a'  First char = 'a'
22  Need char = 'c'  Need char = 'c'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'a'  
 No match  
 Need char = 'c'  
 No match  
23      abc      abc
24   0: abc   0: abc
  0: abc  
  0: abc  
25      defabc      defabc
26   0: abc   0: abc
  0: abc  
  0: abc  
27      \Aabc      \Aabc
28   0: abc   0: abc
  0: abc  
  0: abc  
29      *** Failers      *** Failers
30  No match  No match
 No match  
 No match  
31      \Adefabc      \Adefabc
32  No match  No match
 No match  
 No match  
33      ABC      ABC
34  No match  No match
 No match  
 No match  
35    
36  /^abc/I  /^abc/I
37  Capturing subpattern count = 0  Capturing subpattern count = 0
38  Options: anchored  Options: anchored
39  No first char  No first char
40  No need char  No need char
 Capturing subpattern count = 0  
 No match  
 Options: anchored  
 No match  
 No first char  
 No match  
 No need char  
 No match  
41      abc      abc
42   0: abc   0: abc
  0: abc  
 No match  
43      \Aabc      \Aabc
44   0: abc   0: abc
  0: abc  
 No match  
45      *** Failers      *** Failers
46  No match  No match
 No match  
 No match  
47      defabc      defabc
48  No match  No match
 No match  
 No match  
49      \Adefabc      \Adefabc
50  No match  No match
 No match  
 No match  
51    
52  /a+bc/I  /a+bc/I
53  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 First char = 'a'  
 Need char = 'c'  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
54  No options  No options
 No match  
55  First char = 'a'  First char = 'a'
 No match  
56  Need char = 'c'  Need char = 'c'
 No match  
57    
58  /a*bc/I  /a*bc/I
59  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
60  No options  No options
61  No first char  No first char
62  Need char = 'c'  Need char = 'c'
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
 No options  
 No match  
 No first char  
 No match  
 Need char = 'c'  
 No match  
63    
64  /a{3}bc/I  /a{3}bc/I
65  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 First char = 'a'  
 Need char = 'c'  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
66  No options  No options
 No match  
67  First char = 'a'  First char = 'a'
 No match  
68  Need char = 'c'  Need char = 'c'
 No match  
69    
70  /(abc|a+z)/I  /(abc|a+z)/I
71  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
 No options  
 First char = 'a'  
 No need char  
 Capturing subpattern count = 1  
 No match  
 Partial matching not supported  
 No match  
72  No options  No options
 No match  
73  First char = 'a'  First char = 'a'
 No match  
74  No need char  No need char
 No match  
75    
76  /^abc$/I  /^abc$/I
77  Capturing subpattern count = 0  Capturing subpattern count = 0
78  Options: anchored  Options: anchored
79  No first char  No first char
80  No need char  No need char
 Capturing subpattern count = 0  
 No match  
 Options: anchored  
 No match  
 No first char  
 No match  
 No need char  
 No match  
81      abc      abc
82   0: abc   0: abc
  0: abc  
 No match  
83      *** Failers      *** Failers
84  No match  No match
 No match  
 No match  
85      def\nabc      def\nabc
86  No match  No match
 No match  
 No match  
87    
88  /ab\hdef/X  /ab\idef/X
89  Failed: unrecognized character follows \ at offset 3  Failed: unrecognized character follows \ at offset 3
90    
91  /(?X)ab\hdef/X  /(?X)ab\idef/X
92  Failed: unrecognized character follows \ at offset 7  Failed: unrecognized character follows \ at offset 7
93    
94  /x{5,4}/  /x{5,4}/
# Line 209  Failed: missing ) at offset 4 Line 116  Failed: missing ) at offset 4
116  Failed: missing ) after comment at offset 7  Failed: missing ) after comment at offset 7
117    
118  /(?z)abc/  /(?z)abc/
119  Failed: unrecognized character after (? at offset 2  Failed: unrecognized character after (? or (?- at offset 2
120    
121  /.*b/I  /.*b/I
122  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 First char at start or follows newline  
 Need char = 'b'  
 Capturing subpattern count = 0  
  0: Capturing sub  
 Partial matching not supported  
 No match  
123  No options  No options
 No match  
124  First char at start or follows newline  First char at start or follows newline
 No match  
125  Need char = 'b'  Need char = 'b'
  0: Need char = 'b  
126    
127  /.*?b/I  /.*?b/I
128  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
129  No options  No options
130  First char at start or follows newline  First char at start or follows newline
131  Need char = 'b'  Need char = 'b'
 Capturing subpattern count = 0  
  0: Capturing sub  
 Partial matching not supported  
 No match  
 No options  
 No match  
 First char at start or follows newline  
 No match  
 Need char = 'b'  
  0: Need char = 'b  
132    
133  /cat|dog|elephant/I  /cat|dog|elephant/I
134  Capturing subpattern count = 0  Capturing subpattern count = 0
135  No options  No options
136  No first char  No first char
137  No need char  No need char
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 No first char  
 No match  
 No need char  
 No match  
138      this sentence eventually mentions a cat      this sentence eventually mentions a cat
139   0: cat   0: cat
  0: cat  
  0: cat  
140      this sentences rambles on and on for a while and then reaches elephant      this sentences rambles on and on for a while and then reaches elephant
141   0: elephant   0: elephant
  0: elephant  
  0: elephant  
142    
143  /cat|dog|elephant/IS  /cat|dog|elephant/IS
144  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 273  No options Line 146  No options
146  No first char  No first char
147  No need char  No need char
148  Starting byte set: c d e  Starting byte set: c d e
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 No first char  
 No match  
 No need char  
 No match  
 Starting byte set: c d e  
 No match  
149      this sentence eventually mentions a cat      this sentence eventually mentions a cat
150   0: cat   0: cat
  0: cat  
  0: cat  
151      this sentences rambles on and on for a while and then reaches elephant      this sentences rambles on and on for a while and then reaches elephant
152   0: elephant   0: elephant
  0: elephant  
  0: elephant  
153    
154  /cat|dog|elephant/IiS  /cat|dog|elephant/IiS
155  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 298  Options: caseless Line 157  Options: caseless
157  No first char  No first char
158  No need char  No need char
159  Starting byte set: C D E c d e  Starting byte set: C D E c d e
 Capturing subpattern count = 0  
 No match  
 Options: caseless  
 No match  
 No first char  
 No match  
 No need char  
 No match  
 Starting byte set: C D E c d e  
 No match  
160      this sentence eventually mentions a CAT cat      this sentence eventually mentions a CAT cat
161   0: CAT   0: CAT
  0: CAT  
  0: CAT  
162      this sentences rambles on and on for a while to elephant ElePhant      this sentences rambles on and on for a while to elephant ElePhant
163   0: elephant   0: elephant
  0: elephant  
  0: elephant  
164    
165  /a|[bcd]/IS  /a|[bcd]/IS
166  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 323  No options Line 168  No options
168  No first char  No first char
169  No need char  No need char
170  Starting byte set: a b c d  Starting byte set: a b c d
 Capturing subpattern count = 0  
  0: a  
 No options  
 No match  
 No first char  
  0: c  
 No need char  
  0: d  
 Starting byte set: a b c d  
  0: a  
171    
172  /(a|[^\dZ])/IS  /(a|[^\dZ])/IS
173  Capturing subpattern count = 1  Capturing subpattern count = 1
# Line 353  Starting byte set: \x00 \x01 \x02 \x03 \ Line 188  Starting byte set: \x00 \x01 \x02 \x03 \
188    \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec    \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec
189    \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb    \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb
190    \xfc \xfd \xfe \xff    \xfc \xfd \xfe \xff
 Capturing subpattern count = 1  
  0: C  
  1: C  
 No options  
  0: N  
  1: N  
 No first char  
  0: N  
  1: N  
 No need char  
  0: N  
  1: N  
 Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a  
  0: S  
  1: S  
   \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19  
  0: \x0b  
  1: \x0b  
   \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / : ; < = >  
  0: \x1a  
  1: \x1a  
   ? @ 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 [ \ ] ^ _ ` a b c d  
  0: ?  
  1: ?  
   e f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f \x80 \x81 \x82 \x83  
  0: e  
  1: e  
   \x84 \x85 \x86 \x87 \x88 \x89 \x8a \x8b \x8c \x8d \x8e \x8f \x90 \x91 \x92  
  0: \x84  
  1: \x84  
   \x93 \x94 \x95 \x96 \x97 \x98 \x99 \x9a \x9b \x9c \x9d \x9e \x9f \xa0 \xa1  
  0: \x93  
  1: \x93  
   \xa2 \xa3 \xa4 \xa5 \xa6 \xa7 \xa8 \xa9 \xaa \xab \xac \xad \xae \xaf \xb0  
  0: \xa2  
  1: \xa2  
   \xb1 \xb2 \xb3 \xb4 \xb5 \xb6 \xb7 \xb8 \xb9 \xba \xbb \xbc \xbd \xbe \xbf  
  0: \xb1  
  1: \xb1  
   \xc0 \xc1 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce  
  0: \xc0  
  1: \xc0  
   \xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd  
  0: \xcf  
  1: \xcf  
   \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec  
  0: \xde  
  1: \xde  
   \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb  
  0: \xed  
  1: \xed  
   \xfc \xfd \xfe \xff  
  0: \xfc  
  1: \xfc  
191    
192  /(a|b)*[\s]/IS  /(a|b)*[\s]/IS
193  Capturing subpattern count = 1  Capturing subpattern count = 1
# Line 414  No options Line 195  No options
195  No first char  No first char
196  No need char  No need char
197  Starting byte set: \x09 \x0a \x0c \x0d \x20 a b  Starting byte set: \x09 \x0a \x0c \x0d \x20 a b
 Capturing subpattern count = 1  
  0:  
 No options  
  0:  
 No first char  
  0:  
 No need char  
  0:  
 Starting byte set: \x09 \x0a \x0c \x0d \x20 a b  
  0:  
198    
199  /(ab\2)/  /(ab\2)/
200  Failed: reference to non-existent subpattern at offset 6  Failed: reference to non-existent subpattern at offset 6
# Line 437  Max back reference = 2 Line 208  Max back reference = 2
208  No options  No options
209  First char = 'a'  First char = 'a'
210  Need char = 'c'  Need char = 'c'
 Capturing subpattern count = 3  
 No match  
 Max back reference = 2  
 No match  
 No options  
 No match  
 First char = 'a'  
 No match  
 Need char = 'c'  
 No match  
211      abcb      abcb
212   0: abcb   0: abcb
213   1: a   1: a
214   2: b   2: b
215   3: c   3: c
  0: abcb  
  0: abcb  
  1: a  
  2: b  
  3: c  
  1: a  
 No match  
  2: b  
 No match  
  3: c  
 No match  
216      \O0abcb      \O0abcb
217  Matched, but too many substrings  Matched, but too many substrings
 Matched, but too many substrings  
 No match  
218      \O3abcb      \O3abcb
219  Matched, but too many substrings  Matched, but too many substrings
220   0: abcb   0: abcb
 Matched, but too many substrings  
 No match  
  0: abcb  
  0: abcb  
  1: a  
  2: b  
  3: c  
221      \O6abcb      \O6abcb
222  Matched, but too many substrings  Matched, but too many substrings
223   0: abcb   0: abcb
224   1: a   1: a
 Matched, but too many substrings  
 No match  
  0: abcb  
  0: abcb  
  1: a  
  2: b  
  3: c  
  1: a  
 No match  
225      \O9abcb      \O9abcb
226  Matched, but too many substrings  Matched, but too many substrings
227   0: abcb   0: abcb
228   1: a   1: a
229   2: b   2: b
 Matched, but too many substrings  
 No match  
  0: abcb  
  0: abcb  
  1: a  
  2: b  
  3: c  
  1: a  
 No match  
  2: b  
 No match  
230      \O12abcb      \O12abcb
231   0: abcb   0: abcb
232   1: a   1: a
233   2: b   2: b
234   3: c   3: c
  0: abcb  
  0: abcb  
  1: a  
  2: b  
  3: c  
  1: a  
 No match  
  2: b  
 No match  
  3: c  
 No match  
235    
236  /(a)bc|(a)(b)\2/I  /(a)bc|(a)(b)\2/I
237  Capturing subpattern count = 3  Capturing subpattern count = 3
# Line 529  Max back reference = 2 Line 239  Max back reference = 2
239  No options  No options
240  First char = 'a'  First char = 'a'
241  No need char  No need char
 Capturing subpattern count = 3  
 No match  
 Max back reference = 2  
 No match  
 No options  
 No match  
 First char = 'a'  
 No match  
 No need char  
 No match  
242      abc      abc
243   0: abc   0: abc
244   1: a   1: a
  0: abc  
  0: abc  
  1: a  
  1: a  
 No match  
245      \O0abc      \O0abc
246  Matched, but too many substrings  Matched, but too many substrings
 Matched, but too many substrings  
 No match  
247      \O3abc      \O3abc
248  Matched, but too many substrings  Matched, but too many substrings
249   0: abc   0: abc
 Matched, but too many substrings  
 No match  
  0: abc  
  0: abc  
  1: a  
250      \O6abc      \O6abc
251   0: abc   0: abc
252   1: a   1: a
  0: abc  
  0: abc  
  1: a  
  1: a  
 No match  
253      aba      aba
254   0: aba   0: aba
255   1: <unset>   1: <unset>
256   2: a   2: a
257   3: b   3: b
  0: aba  
  0: aba  
  1: <unset>  
  2: a  
  3: b  
  1: <unset>  
 No match  
  2: a  
 No match  
  3: b  
 No match  
258      \O0aba      \O0aba
259  Matched, but too many substrings  Matched, but too many substrings
 Matched, but too many substrings  
 No match  
260      \O3aba      \O3aba
261  Matched, but too many substrings  Matched, but too many substrings
262   0: aba   0: aba
 Matched, but too many substrings  
 No match  
  0: aba  
  0: aba  
  1: <unset>  
  2: a  
  3: b  
263      \O6aba      \O6aba
264  Matched, but too many substrings  Matched, but too many substrings
265   0: aba   0: aba
266   1: <unset>   1: <unset>
 Matched, but too many substrings  
 No match  
  0: aba  
  0: aba  
  1: <unset>  
  2: a  
  3: b  
  1: <unset>  
 No match  
267      \O9aba      \O9aba
268  Matched, but too many substrings  Matched, but too many substrings
269   0: aba   0: aba
270   1: <unset>   1: <unset>
271   2: a   2: a
 Matched, but too many substrings  
 No match  
  0: aba  
  0: aba  
  1: <unset>  
  2: a  
  3: b  
  1: <unset>  
 No match  
  2: a  
 No match  
272      \O12aba      \O12aba
273   0: aba   0: aba
274   1: <unset>   1: <unset>
275   2: a   2: a
276   3: b   3: b
  0: aba  
  0: aba  
  1: <unset>  
  2: a  
  3: b  
  1: <unset>  
 No match  
  2: a  
 No match  
  3: b  
 No match  
277    
278  /abc$/IE  /abc$/IE
279  Capturing subpattern count = 0  Capturing subpattern count = 0
280  Options: dollar_endonly  Options: dollar_endonly
281  First char = 'a'  First char = 'a'
282  Need char = 'c'  Need char = 'c'
 Capturing subpattern count = 0  
 No match  
 Options: dollar_endonly  
 No match  
 First char = 'a'  
 No match  
 Need char = 'c'  
 No match  
283      abc      abc
284   0: abc   0: abc
  0: abc  
  0: abc  
285      *** Failers      *** Failers
286  No match  No match
 No match  
 No match  
287      abc\n      abc\n
288  No match  No match
 No match  
 No match  
289      abc\ndef      abc\ndef
290  No match  No match
 No match  
 No match  
291    
292  /(a)(b)(c)(d)(e)\6/  /(a)(b)(c)(d)(e)\6/
293  Failed: reference to non-existent subpattern at offset 17  Failed: reference to non-existent subpattern at offset 17
# Line 681  Capturing subpattern count = 0 Line 297  Capturing subpattern count = 0
297  No options  No options
298  First char = 't'  First char = 't'
299  Need char = 'x'  Need char = 'x'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 't'  
 No match  
 Need char = 'x'  
 No match  
300      the quick brown fox      the quick brown fox
301   0: the quick brown fox   0: the quick brown fox
  0: the quick brown fox  
  0: the quick brown fox  
302      this is a line with the quick brown fox      this is a line with the quick brown fox
303   0: the quick brown fox   0: the quick brown fox
  0: the quick brown fox  
  0: the quick brown fox  
304    
305  /the quick brown fox/IA  /the quick brown fox/IA
306  Capturing subpattern count = 0  Capturing subpattern count = 0
307  Options: anchored  Options: anchored
308  No first char  No first char
309  No need char  No need char
 Capturing subpattern count = 0  
 No match  
 Options: anchored  
 No match  
 No first char  
 No match  
 No need char  
 No match  
310      the quick brown fox      the quick brown fox
311   0: the quick brown fox   0: the quick brown fox
  0: the quick brown fox  
 No match  
312      *** Failers      *** Failers
313  No match  No match
 No match  
 No match  
314      this is a line with the quick brown fox      this is a line with the quick brown fox
315  No match  No match
 No match  
 No match  
316    
317  /ab(?z)cd/  /ab(?z)cd/
318  Failed: unrecognized character after (? at offset 4  Failed: unrecognized character after (? or (?- at offset 4
319    
320  /^abc|def/I  /^abc|def/I
321  Capturing subpattern count = 0  Capturing subpattern count = 0
322  No options  No options
323  No first char  No first char
324  No need char  No need char
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 No first char  
 No match  
 No need char  
 No match  
325      abcdef      abcdef
326   0: abc   0: abc
  0: abc  
 No match  
327      abcdef\B      abcdef\B
328   0: def   0: def
  0: def  
  0: def  
329    
330  /.*((abc)$|(def))/I  /.*((abc)$|(def))/I
331  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
 No options  
 First char at start or follows newline  
 No need char  
 Capturing subpattern count = 3  
 No match  
 Partial matching not supported  
 No match  
332  No options  No options
 No match  
333  First char at start or follows newline  First char at start or follows newline
 No match  
334  No need char  No need char
 No match  
335      defabc      defabc
336   0: defabc   0: defabc
337   1: abc   1: abc
338   2: abc   2: abc
  0: defabc  
  0: 0: defabc  
  1: abc  
  2: abc  
  1: abc  
  0: 1: abc  
  1: abc  
  2: abc  
  2: abc  
  0: 2: abc  
  1: abc  
  2: abc  
339      \Zdefabc      \Zdefabc
340   0: def   0: def
341   1: def   1: def
342   2: <unset>   2: <unset>
343   3: def   3: def
  0: def  
  0: 0: def  
  1: def  
  2: <unset>  
  3: def  
  1: def  
  0: 1: def  
  1: def  
  2: <unset>  
  3: def  
  2: <unset>  
 No match  
  3: def  
  0: 3: def  
  1: def  
  2: <unset>  
  3: def  
344    
345  /abc/IP  /abc/P
346      abc      abc
347   0: abc   0: abc
  0: abc  
  0: abc  
348      *** Failers      *** Failers
349  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
 No match: POSIX code 17: match failed  
 No match: POSIX code 17: match failed  
350    
351  /^abc|def/IP  /^abc|def/P
352      abcdef      abcdef
353   0: abc   0: abc
  0: abc  
 No match: POSIX code 17: match failed  
354      abcdef\B      abcdef\B
355   0: def   0: def
  0: def  
  0: def  
356    
357  /.*((abc)$|(def))/IP  /.*((abc)$|(def))/P
358      defabc      defabc
359   0: defabc   0: defabc
360   1: abc   1: abc
361   2: abc   2: abc
  0: defabc  
  0: 0: defabc  
  1: abc  
  2: abc  
  1: abc  
  0: 1: abc  
  1: abc  
  2: abc  
  2: abc  
  0: 2: abc  
  1: abc  
  2: abc  
362      \Zdefabc      \Zdefabc
363   0: def   0: def
364   1: def   1: def
365   3: def   3: def
  0: def  
  0: 0: def  
  1: def  
  3: def  
  1: def  
  0: 1: def  
  1: def  
  3: def  
  3: def  
  0: 3: def  
  1: def  
  3: def  
366    
367  /the quick brown fox/IP  /the quick brown fox/P
368      the quick brown fox      the quick brown fox
369   0: the quick brown fox   0: the quick brown fox
  0: the quick brown fox  
  0: the quick brown fox  
370      *** Failers      *** Failers
371  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
 No match: POSIX code 17: match failed  
 No match: POSIX code 17: match failed  
372      The Quick Brown Fox      The Quick Brown Fox
373  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
 No match: POSIX code 17: match failed  
 No match: POSIX code 17: match failed  
374    
375  /the quick brown fox/IPi  /the quick brown fox/Pi
376      the quick brown fox      the quick brown fox
377   0: the quick brown fox   0: the quick brown fox
  0: the quick brown fox  
  0: the quick brown fox  
378      The Quick Brown Fox      The Quick Brown Fox
379   0: The Quick Brown Fox   0: The Quick Brown Fox
  0: The Quick Brown Fox  
  0: The Quick Brown Fox  
380    
381  /abc.def/IP  /abc.def/P
382      *** Failers      *** Failers
383  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
 No match: POSIX code 17: match failed  
 No match: POSIX code 17: match failed  
384      abc\ndef      abc\ndef
385  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
 No match: POSIX code 17: match failed  
 No match: POSIX code 17: match failed  
386    
387  /abc$/IP  /abc$/P
388      abc      abc
389   0: abc   0: abc
  0: abc  
  0: abc  
390      abc\n      abc\n
391   0: abc   0: abc
  0: abc  
  0: abc  
392    
393  /(abc)\2/IP  /(abc)\2/P
394  Failed: POSIX code 15: bad back reference at offset 7  Failed: POSIX code 15: bad back reference at offset 7
395    
396  /(abc\1)/IP  /(abc\1)/P
397      abc      abc
398  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
 No match: POSIX code 17: match failed  
 No match: POSIX code 17: match failed  
399    
400  /)/  /)/
401  Failed: unmatched parentheses at offset 0  Failed: unmatched parentheses at offset 0
# Line 919  Failed: missing terminating ] for charac Line 405  Failed: missing terminating ] for charac
405    
406  /[^aeiou ]{3,}/I  /[^aeiou ]{3,}/I
407  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 No first char  
 No need char  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
  0: tch  
408  No options  No options
 No match  
409  No first char  No first char
  0: rst  
410  No need char  No need char
 No match  
411      co-processors, and for      co-processors, and for
412   0: -pr   0: -pr
  0: -pr  
  0: -pr  
413    
414  /<.*>/I  /<.*>/I
415  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 First char = '<'  
 Need char = '>'  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
416  No options  No options
 No match  
417  First char = '<'  First char = '<'
 No match  
418  Need char = '>'  Need char = '>'
 No match  
419      abc<def>ghi<klm>nop      abc<def>ghi<klm>nop
420   0: <def>ghi<klm>   0: <def>ghi<klm>
  0: <def>ghi<klm>  
  0: <def>ghi<klm>  
421    
422  /<.*?>/I  /<.*?>/I
423  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 First char = '<'  
 Need char = '>'  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
424  No options  No options
 No match  
425  First char = '<'  First char = '<'
 No match  
426  Need char = '>'  Need char = '>'
 No match  
427      abc<def>ghi<klm>nop      abc<def>ghi<klm>nop
428   0: <def>   0: <def>
  0: <def>  
  0: <def>  
429    
430  /<.*>/IU  /<.*>/IU
431  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 Options: ungreedy  
 First char = '<'  
 Need char = '>'  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
432  Options: ungreedy  Options: ungreedy
 No match  
433  First char = '<'  First char = '<'
 No match  
434  Need char = '>'  Need char = '>'
 No match  
435      abc<def>ghi<klm>nop      abc<def>ghi<klm>nop
436   0: <def>   0: <def>
  0: <def>  
  0: <def>  
437    
438  /(?U)<.*>/I  /(?U)<.*>/I
439  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 Options: ungreedy  
 First char = '<'  
 Need char = '>'  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
440  Options: ungreedy  Options: ungreedy
 No match  
441  First char = '<'  First char = '<'
 No match  
442  Need char = '>'  Need char = '>'
 No match  
443      abc<def>ghi<klm>nop      abc<def>ghi<klm>nop
444   0: <def>   0: <def>
  0: <def>  
  0: <def>  
445    
446  /<.*?>/IU  /<.*?>/IU
447  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
448  Options: ungreedy  Options: ungreedy
449  First char = '<'  First char = '<'
450  Need char = '>'  Need char = '>'
451        abc<def>ghi<klm>nop
452     0: <def>ghi<klm>
453    
454    /={3,}/IU
455  Capturing subpattern count = 0  Capturing subpattern count = 0
 No match  
 Partial matching not supported  
 No match  
456  Options: ungreedy  Options: ungreedy
 No match  
 First char = '<'  
 No match  
 Need char = '>'  
 No match  
     abc<def>ghi<klm>nop  
  0: <def>ghi<klm>  
  0: <def>ghi<klm>  
  0: <def>ghi<klm>  
   
 /={3,}/IU  
 Capturing subpattern count = 0  
 Partial matching not supported  
 Options: ungreedy  
 First char = '='  
 Need char = '='  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
 Options: ungreedy  
 No match  
457  First char = '='  First char = '='
 No match  
458  Need char = '='  Need char = '='
 No match  
459      abc========def      abc========def
460   0: ===   0: ===
  0: ===  
  0: ===  
461    
462  /(?U)={3,}?/I  /(?U)={3,}?/I
463  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
464  Options: ungreedy  Options: ungreedy
465  First char = '='  First char = '='
466  Need char = '='  Need char = '='
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
 Options: ungreedy  
 No match  
 First char = '='  
 No match  
 Need char = '='  
 No match  
467      abc========def      abc========def
468   0: ========   0: ========
  0: ========  
  0: ========  
469    
470  /(?<!bar|cattle)foo/I  /(?<!bar|cattle)foo/I
471  Capturing subpattern count = 0  Capturing subpattern count = 0
472  No options  No options
473  First char = 'f'  First char = 'f'
474  Need char = 'o'  Need char = 'o'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'f'  
 No match  
 Need char = 'o'  
 No match  
475      foo      foo
476   0: foo   0: foo
  0: foo  
  0: foo  
477      catfoo      catfoo
478   0: foo   0: foo
  0: foo  
  0: foo  
479      *** Failers      *** Failers
480  No match  No match
 No match  
 No match  
481      the barfoo      the barfoo
482  No match  No match
 No match  
 No match  
483      and cattlefoo      and cattlefoo
484  No match  No match
 No match  
 No match  
485    
486  /(?<=a+)b/  /(?<=a+)b/
487  Failed: lookbehind assertion is not fixed length at offset 6  Failed: lookbehind assertion is not fixed length at offset 6
# Line 1133  Capturing subpattern count = 0 Line 497  Capturing subpattern count = 0
497  Options: caseless  Options: caseless
498  First char = 'a' (caseless)  First char = 'a' (caseless)
499  Need char = 'c' (caseless)  Need char = 'c' (caseless)
 Capturing subpattern count = 0  
 No match  
 Options: caseless  
 No match  
 First char = 'a' (caseless)  
 No match  
 Need char = 'c' (caseless)  
 No match  
500    
501  /(a|(?m)a)/I  /(a|(?m)a)/I
502  Capturing subpattern count = 1  Capturing subpattern count = 1
503  No options  No options
504  First char = 'a'  First char = 'a'
505  No need char  No need char
 Capturing subpattern count = 1  
  0: a  
  1: a  
 No options  
 No match  
 First char = 'a'  
  0: a  
  1: a  
 No need char  
  0: a  
  1: a  
506    
507  /(?i)^1234/I  /(?i)^1234/I
508  Capturing subpattern count = 0  Capturing subpattern count = 0
509  Options: anchored caseless  Options: anchored caseless
510  No first char  No first char
511  No need char  No need char
 Capturing subpattern count = 0  
 No match  
 Options: anchored caseless  
 No match  
 No first char  
 No match  
 No need char  
 No match  
512    
513  /(^b|(?i)^d)/I  /(^b|(?i)^d)/I
514  Capturing subpattern count = 1  Capturing subpattern count = 1
515  Options: anchored  Options: anchored
516  No first char  No first char
517  No need char  No need char
 Capturing subpattern count = 1  
 No match  
 Options: anchored  
 No match  
 No first char  
 No match  
 No need char  
 No match  
518    
519  /(?s).*/I  /(?s).*/I
520  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
521  Options: anchored dotall  Options: anchored dotall
522  No first char  No first char
523  No need char  No need char
 Capturing subpattern count = 0  
  0: Capturing subpattern count = 0  
 Partial matching not supported  
  0: Partial matching not supported  
 Options: anchored dotall  
  0: Options: anchored dotall  
 No first char  
  0: No first char  
 No need char  
  0: No need char  
524    
525  /[abcd]/IS  /[abcd]/IS
526  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 1210  No options Line 528  No options
528  No first char  No first char
529  No need char  No need char
530  Starting byte set: a b c d  Starting byte set: a b c d
 Capturing subpattern count = 0  
  0: a  
 No options  
 No match  
 No first char  
  0: c  
 No need char  
  0: d  
 Starting byte set: a b c d  
  0: a  
531    
532  /(?i)[abcd]/IS  /(?i)[abcd]/IS
533  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 1227  Options: caseless Line 535  Options: caseless
535  No first char  No first char
536  No need char  No need char
537  Starting byte set: A B C D a b c d  Starting byte set: A B C D a b c d
 Capturing subpattern count = 0  
  0: C  
 Options: caseless  
  0: c  
 No first char  
  0: c  
 No need char  
  0: d  
 Starting byte set: A B C D a b c d  
  0: a  
538    
539  /(?m)[xy]|(b|c)/IS  /(?m)[xy]|(b|c)/IS
540  Capturing subpattern count = 1  Capturing subpattern count = 1
# Line 1244  Options: multiline Line 542  Options: multiline
542  No first char  No first char
543  No need char  No need char
544  Starting byte set: b c x y  Starting byte set: b c x y
 Capturing subpattern count = 1  
  0: b  
  1: b  
 Options: multiline  
 No match  
 No first char  
  0: c  
  1: c  
 No need char  
  0: c  
  1: c  
 Starting byte set: b c x y  
  0: b  
  1: b  
545    
546  /(^a|^b)/Im  /(^a|^b)/Im
547  Capturing subpattern count = 1  Capturing subpattern count = 1
548  Options: multiline  Options: multiline
549  First char at start or follows newline  First char at start or follows newline
550  No need char  No need char
 Capturing subpattern count = 1  
 No match  
 Options: multiline  
 No match  
 First char at start or follows newline  
 No match  
 No need char  
 No match  
551    
552  /(?i)(^a|^b)/Im  /(?i)(^a|^b)/Im
553  Capturing subpattern count = 1  Capturing subpattern count = 1
554  Options: caseless multiline  Options: caseless multiline
555  First char at start or follows newline  First char at start or follows newline
556  No need char  No need char
 Capturing subpattern count = 1  
 No match  
 Options: caseless multiline  
 No match  
 First char at start or follows newline  
 No match  
 No need char  
 No match  
557    
558  /(a)(?(1)a|b|c)/  /(a)(?(1)a|b|c)/
559  Failed: conditional group contains more than two branches at offset 13  Failed: conditional group contains more than two branches at offset 13
# Line 1311  Failed: syntax error in subpattern name Line 579  Failed: syntax error in subpattern name
579  /((?s)blah)\s+\1/I  /((?s)blah)\s+\1/I
580  Capturing subpattern count = 1  Capturing subpattern count = 1
581  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
 No options  
 First char = 'b'  
 Need char = 'h'  
 Capturing subpattern count = 1  
 No match  
 Max back reference = 1  
 No match  
 Partial matching not supported  
 No match  
582  No options  No options
 No match  
583  First char = 'b'  First char = 'b'
 No match  
584  Need char = 'h'  Need char = 'h'
 No match  
585    
586  /((?i)blah)\s+\1/I  /((?i)blah)\s+\1/I
587  Capturing subpattern count = 1  Capturing subpattern count = 1
588  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
 No options  
 First char = 'b' (caseless)  
 Need char = 'h' (caseless)  
 Capturing subpattern count = 1  
 No match  
 Max back reference = 1  
 No match  
 Partial matching not supported  
 No match  
589  No options  No options
 No match  
590  First char = 'b' (caseless)  First char = 'b' (caseless)
 No match  
591  Need char = 'h' (caseless)  Need char = 'h' (caseless)
 No match  
592    
593  /((?i)b)/IDZS  /((?i)b)/IDZS
594  ------------------------------------------------------------------  ------------------------------------------------------------------
595          Bra 0          Bra
596          Bra 1          CBra 1
      01 Opt  
      NC b  
         Ket  
      00 Opt  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 1  
 No options  
 First char = 'b' (caseless)  
 No need char  
 Study returned NULL  
 ------------------------------------------------------------------  
 No match  
         Bra 0  
  0: B  
  1: B  
         Bra 1  
  0: B  
  1: B  
597       01 Opt       01 Opt
 No match  
598       NC b       NC b
  0: b  
  1: b  
599          Ket          Ket
 No match  
600       00 Opt       00 Opt
 No match  
601          Ket          Ket
 No match  
602          End          End
 No match  
603  ------------------------------------------------------------------  ------------------------------------------------------------------
 No match  
604  Capturing subpattern count = 1  Capturing subpattern count = 1
  0: b  
  1: b  
605  No options  No options
 No match  
606  First char = 'b' (caseless)  First char = 'b' (caseless)
  0: b  
  1: b  
607  No need char  No need char
 No match  
608  Study returned NULL  Study returned NULL
 No match  
609    
610  /(a*b|(?i:c*(?-i)d))/IS  /(a*b|(?i:c*(?-i)d))/IS
611  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
 No options  
 No first char  
 No need char  
 Starting byte set: C a b c d  
 Capturing subpattern count = 1  
  0: b  
  1: b  
 Partial matching not supported  
  0: d  
  1: d  
612  No options  No options
 No match  
613  No first char  No first char
 No match  
614  No need char  No need char
  0: d  
  1: d  
615  Starting byte set: C a b c d  Starting byte set: C a b c d
  0: b  
  1: b  
616    
617  /a$/I  /a$/I
618  Capturing subpattern count = 0  Capturing subpattern count = 0
619  No options  No options
620  First char = 'a'  First char = 'a'
621  No need char  No need char
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'a'  
 No match  
 No need char  
 No match  
622      a      a
623   0: a   0: a
  0: a  
  0: a  
624      a\n      a\n
625   0: a   0: a
  0: a  
  0: a  
626      *** Failers      *** Failers
627  No match  No match
 No match  
 No match  
628      \Za      \Za
629  No match  No match
 No match  
 No match  
630      \Za\n      \Za\n
631  No match  No match
 No match  
 No match  
632    
633  /a$/Im  /a$/Im
634  Capturing subpattern count = 0  Capturing subpattern count = 0
635  Options: multiline  Options: multiline
636  First char = 'a'  First char = 'a'
637  No need char  No need char
 Capturing subpattern count = 0  
 No match  
 Options: multiline  
 No match  
 First char = 'a'  
 No match  
 No need char  
 No match  
638      a      a
639   0: a   0: a
  0: a  
  0: a  
640      a\n      a\n
641   0: a   0: a
  0: a  
  0: a  
642      \Za\n      \Za\n
643   0: a   0: a
  0: a  
  0: a  
644      *** Failers      *** Failers
645  No match  No match
 No match  
 No match  
646      \Za      \Za
647  No match  No match
 No match  
 No match  
648    
649  /\Aabc/Im  /\Aabc/Im
650  Capturing subpattern count = 0  Capturing subpattern count = 0
651  Options: anchored multiline  Options: anchored multiline
652  No first char  No first char
653  No need char  No need char
 Capturing subpattern count = 0  
 No match  
 Options: anchored multiline  
 No match  
 No first char  
 No match  
 No need char  
 No match  
654    
655  /^abc/Im  /^abc/Im
656  Capturing subpattern count = 0  Capturing subpattern count = 0
657  Options: multiline  Options: multiline
658  First char at start or follows newline  First char at start or follows newline
659  Need char = 'c'  Need char = 'c'
 Capturing subpattern count = 0  
 No match  
 Options: multiline  
 No match  
 First char at start or follows newline  
 No match  
 Need char = 'c'  
 No match  
660    
661  /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/I  /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/I
662  Capturing subpattern count = 5  Capturing subpattern count = 5
 Partial matching not supported  
663  Options: anchored  Options: anchored
664  No first char  No first char
665  No need char  No need char
 Capturing subpattern count = 5  
 No match  
 Partial matching not supported  
 No match  
 Options: anchored  
 No match  
 No first char  
 No match  
 No need char  
 No match  
666    aaaaabbbbbcccccdef    aaaaabbbbbcccccdef
667   0: aaaaabbbbbcccccdef   0: aaaaabbbbbcccccdef
668   1: aaaaabbbbbcccccdef   1: aaaaabbbbbcccccdef
# Line 1543  No match Line 670  No match
670   3: b   3: b
671   4: bbbbccccc   4: bbbbccccc
672   5: def   5: def
  0: aaaaabbbbbcccccdef  
 No match  
  1: aaaaabbbbbcccccdef  
 No match  
  2: aaaaa  
 No match  
  3: b  
 No match  
  4: bbbbccccc  
 No match  
  5: def  
 No match  
673    
674  /(?<=foo)[ab]/IS  /(?<=foo)[ab]/IS
675  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 1562  No options Line 677  No options
677  No first char  No first char
678  No need char  No need char
679  Starting byte set: a b  Starting byte set: a b
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 No first char  
 No match  
 No need char  
 No match  
 Starting byte set: a b  
 No match  
680    
681  /(?<!foo)(alpha|omega)/IS  /(?<!foo)(alpha|omega)/IS
682  Capturing subpattern count = 1  Capturing subpattern count = 1
# Line 1579  No options Line 684  No options
684  No first char  No first char
685  Need char = 'a'  Need char = 'a'
686  Starting byte set: a o  Starting byte set: a o
 Capturing subpattern count = 1  
 No match  
 No options  
 No match  
 No first char  
 No match  
 Need char = 'a'  
 No match  
 Starting byte set: a o  
 No match  
687    
688  /(?!alphabet)[ab]/IS  /(?!alphabet)[ab]/IS
689  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 1596  No options Line 691  No options
691  No first char  No first char
692  No need char  No need char
693  Starting byte set: a b  Starting byte set: a b
 Capturing subpattern count = 0  
  0: a  
 No options  
 No match  
 No first char  
  0: a  
 No need char  
  0: a  
 Starting byte set: a b  
  0: a  
694    
695  /(?<=foo\n)^bar/Im  /(?<=foo\n)^bar/Im
696  Capturing subpattern count = 0  Capturing subpattern count = 0
697    Contains explicit CR or LF match
698  Options: multiline  Options: multiline
699  No first char  No first char
700  Need char = 'r'  Need char = 'r'
 Capturing subpattern count = 0  
 No match  
 Options: multiline  
 No match  
 No first char  
 No match  
 Need char = 'r'  
 No match  
701      foo\nbarbar      foo\nbarbar
702   0: bar   0: bar
  0: bar  
 No match  
703      ***Failers      ***Failers
704  No match  No match
 No match  
 No match  
705      rhubarb      rhubarb
706  No match  No match
 No match  
 No match  
707      barbell      barbell
708  No match  No match
 No match  
 No match  
709      abc\nbarton      abc\nbarton
710  No match  No match
 No match  
 No match  
711    
712  /^(?<=foo\n)bar/Im  /^(?<=foo\n)bar/Im
713  Capturing subpattern count = 0  Capturing subpattern count = 0
714    Contains explicit CR or LF match
715  Options: multiline  Options: multiline
716  First char at start or follows newline  First char at start or follows newline
717  Need char = 'r'  Need char = 'r'
 Capturing subpattern count = 0  
 No match  
 Options: multiline  
 No match  
 First char at start or follows newline  
 No match  
 Need char = 'r'  
 No match  
718      foo\nbarbar      foo\nbarbar
719   0: bar   0: bar
  0: bar  
 No match  
720      ***Failers      ***Failers
721  No match  No match
 No match  
 No match  
722      rhubarb      rhubarb
723  No match  No match
 No match  
 No match  
724      barbell      barbell
725  No match  No match
 No match  
 No match  
726      abc\nbarton      abc\nbarton
727  No match  No match
 No match  
 No match  
728    
729  /(?>^abc)/Im  /(?>^abc)/Im
730  Capturing subpattern count = 0  Capturing subpattern count = 0
731  Options: multiline  Options: multiline
732  First char at start or follows newline  First char at start or follows newline
733  Need char = 'c'  Need char = 'c'
 Capturing subpattern count = 0  
 No match  
 Options: multiline  
 No match  
 First char at start or follows newline  
 No match  
 Need char = 'c'  
 No match  
734      abc      abc
735   0: abc   0: abc
  0: abc  
 No match  
736      def\nabc      def\nabc
737   0: abc   0: abc
  0: abc  
 No match  
738      *** Failers      *** Failers
739  No match  No match
 No match  
 No match  
740      defabc      defabc
741  No match  No match
 No match  
 No match  
742    
743  /(?<=ab(c+)d)ef/  /(?<=ab(c+)d)ef/
744  Failed: lookbehind assertion is not fixed length at offset 11  Failed: lookbehind assertion is not fixed length at offset 11
# Line 1721  Capturing subpattern count = 0 Line 756  Capturing subpattern count = 0
756  No options  No options
757  First char = '-'  First char = '-'
758  Need char = 't'  Need char = 't'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = '-'  
 No match  
 Need char = 't'  
 No match  
759      the bullock-cart      the bullock-cart
760   0: -cart   0: -cart
  0: -cart  
 No match  
761      a donkey-cart race      a donkey-cart race
762   0: -cart   0: -cart
  0: -cart  
 No match  
763      *** Failers      *** Failers
764  No match  No match
 No match  
 No match  
765      cart      cart
766  No match  No match
 No match  
 No match  
767      horse-and-cart      horse-and-cart
768  No match  No match
 No match  
 No match  
769    
770  /(?<=ab(?i)x|y|z)/I  /(?<=ab(?i)x|y|z)/I
771  Capturing subpattern count = 0  Capturing subpattern count = 0
772  No options  No options
773  No first char  No first char
774  No need char  No need char
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 No first char  
 No match  
 No need char  
 No match  
775    
776  /(?>.*)(?<=(abcd)|(xyz))/I  /(?>.*)(?<=(abcd)|(xyz))/I
777  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
 No options  
 First char at start or follows newline  
 No need char  
 Capturing subpattern count = 2  
 No match  
 Partial matching not supported  
 No match  
778  No options  No options
 No match  
779  First char at start or follows newline  First char at start or follows newline
 No match  
780  No need char  No need char
 No match  
781      alphabetabcd      alphabetabcd
782   0: alphabetabcd   0: alphabetabcd
783   1: abcd   1: abcd
  0: alphabetabcd  
  0: 0: alphabetabcd  
  1: abcd  
  1: abcd  
  0: 1: abcd  
  1: abcd  
784      endingxyz      endingxyz
785   0: endingxyz   0: endingxyz
786   1: <unset>   1: <unset>
787   2: xyz   2: xyz
  0: endingxyz  
  0: 0: endingxyz  
  1: <unset>  
  2: xyz  
  1: <unset>  
 No match  
  2: xyz  
  0: 2: xyz  
  1: <unset>  
  2: xyz  
788    
789  /(?<=ab(?i)x(?-i)y|(?i)z|b)ZZ/I  /(?<=ab(?i)x(?-i)y|(?i)z|b)ZZ/I
790  Capturing subpattern count = 0  Capturing subpattern count = 0
791  No options  No options
792  First char = 'Z'  First char = 'Z'
793  Need char = 'Z'  Need char = 'Z'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'Z'  
 No match  
 Need char = 'Z'  
 No match  
794      abxyZZ      abxyZZ
795   0: ZZ   0: ZZ
  0: ZZ  
 No match  
796      abXyZZ      abXyZZ
797   0: ZZ   0: ZZ
  0: ZZ  
 No match  
798      ZZZ      ZZZ
799   0: ZZ   0: ZZ
  0: ZZ  
 No match  
800      zZZ      zZZ
801   0: ZZ   0: ZZ
  0: ZZ  
 No match  
802      bZZ      bZZ
803   0: ZZ   0: ZZ
  0: ZZ  
 No match  
804      BZZ      BZZ
805   0: ZZ   0: ZZ
  0: ZZ  
 No match  
806      *** Failers      *** Failers
807  No match  No match
 No match  
 No match  
808      ZZ      ZZ
809  No match  No match
 No match  
 No match  
810      abXYZZ      abXYZZ
811  No match  No match
 No match  
 No match  
812      zzz      zzz
813  No match  No match
 No match  
 No match  
814      bzz      bzz
815  No match  No match
 No match  
 No match  
816    
817  /(?<!(foo)a)bar/I  /(?<!(foo)a)bar/I
818  Capturing subpattern count = 1  Capturing subpattern count = 1
819  No options  No options
820  First char = 'b'  First char = 'b'
821  Need char = 'r'  Need char = 'r'
 Capturing subpattern count = 1  
 No match  
 No options  
 No match  
 First char = 'b'  
 No match  
 Need char = 'r'  
 No match  
822      bar      bar
823   0: bar   0: bar
  0: bar  
  0: bar  
824      foobbar      foobbar
825   0: bar   0: bar
  0: bar  
  0: bar  
826      *** Failers      *** Failers
827  No match  No match
 No match  
 No match  
828      fooabar      fooabar
829  No match  No match
 No match  
 No match  
830    
831  /This one is here because Perl 5.005_02 doesn't fail it/I  /This one is here because Perl 5.005_02 doesn't fail it/I
832  Capturing subpattern count = 0  Capturing subpattern count = 0
833  No options  No options
834  First char = 'T'  First char = 'T'
835  Need char = 't'  Need char = 't'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'T'  
 No match  
 Need char = 't'  
 No match  
836    
837  /^(a)?(?(1)a|b)+$/I  /^(a)?(?(1)a|b)+$/I
838  Capturing subpattern count = 1  Capturing subpattern count = 1
839  Options: anchored  Options: anchored
840  No first char  No first char
841  No need char  No need char
 Capturing subpattern count = 1  
 No match  
 Options: anchored  
 No match  
 No first char  
 No match  
 No need char  
 No match  
842      *** Failers      *** Failers
843  No match  No match
 No match  
 No match  
844      a      a
845  No match  No match
 No match  
 No match  
846    
847  /This one is here because I think Perl 5.005_02 gets the setting of $1 wrong/I  /This one is here because I think Perl 5.005_02 gets the setting of $1 wrong/I
848  Capturing subpattern count = 0  Capturing subpattern count = 0
849  No options  No options
850  First char = 'T'  First char = 'T'
851  Need char = 'g'  Need char = 'g'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'T'  
 No match  
 Need char = 'g'  
 No match  
852    
853  /^(a\1?){4}$/I  /^(a\1?){4}$/I
854  Capturing subpattern count = 1  Capturing subpattern count = 1
# Line 1948  Max back reference = 1 Line 856  Max back reference = 1
856  Options: anchored  Options: anchored
857  No first char  No first char
858  No need char  No need char
 Capturing subpattern count = 1  
 No match  
 Max back reference = 1  
 No match  
 Options: anchored  
 No match  
 No first char  
 No match  
 No need char  
 No match  
859      aaaaaa      aaaaaa
860   0: aaaaaa   0: aaaaaa
861   1: aa   1: aa
  0: aaaaaa  
 No match  
  1: aa  
 No match  
862    
863  /These are syntax tests from Perl 5.005/I  /These are syntax tests from Perl 5.005/I
864  Capturing subpattern count = 0  Capturing subpattern count = 0
865  No options  No options
866  First char = 'T'  First char = 'T'
867  Need char = '5'  Need char = '5'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'T'  
 No match  
 Need char = '5'  
 No match  
868    
869  /a[b-a]/  /a[b-a]/
870  Failed: range out of order in character class at offset 4  Failed: range out of order in character class at offset 4
# Line 2050  Failed: missing ) at offset 4 Line 936  Failed: missing ) at offset 4
936  Failed: unrecognized character after (?< at offset 3  Failed: unrecognized character after (?< at offset 3
937    
938  /a(?{)b/  /a(?{)b/
939  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
940    
941  /a(?{{})b/  /a(?{{})b/
942  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
943    
944  /a(?{}})b/  /a(?{}})b/
945  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
946    
947  /a(?{"{"})b/  /a(?{"{"})b/
948  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
949    
950  /a(?{"{"}})b/  /a(?{"{"}})b/
951  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
952    
953  /(?(1?)a|b)/  /(?(1?)a|b)/
954  Failed: malformed number or name after (?( at offset 4  Failed: malformed number or name after (?( at offset 4
955    
 /(?(1)a|b|c)/  
 Failed: conditional group contains more than two branches at offset 10  
   
956  /[a[:xyz:/  /[a[:xyz:/
957  Failed: missing terminating ] for character class at offset 8  Failed: missing terminating ] for character class at offset 8
958    
# Line 2093  Capturing subpattern count = 2 Line 976  Capturing subpattern count = 2
976  No options  No options
977  First char = 'a'  First char = 'a'
978  Need char = 'd'  Need char = 'd'
 Capturing subpattern count = 2  
 No match  
 No options  
 No match  
 First char = 'a'  
 No match  
 Need char = 'd'  
 No match  
979      abcd      abcd
980   0: abcd   0: abcd
981   1: a   1: a
982   2: d   2: d
983   0: abcd      abcd\C2
984   0: abcd   0: abcd
985   1: a   1: a
986   2: d   2: d
987     2C d (1)
988        abcd\C5
989     0: abcd
990   1: a   1: a
 No match  
991   2: d   2: d
 No match  
     abcd\C2  
  0: abcd  
  1: a  
  2: d  
  2C d (1)  
  0: abcd  
  0: abcd  
  1: a  
  2: d  
  1: a  
 No match  
  2: d  
 No match  
  2C d (1)  
 No match  
     abcd\C5  
  0: abcd  
  1: a  
  2: d  
 copy substring 5 failed -7  
  0: abcd  
  0: abcd  
  1: a  
  2: d  
  1: a  
 No match  
  2: d  
 No match  
992  copy substring 5 failed -7  copy substring 5 failed -7
 No match  
993    
994  /(.{20})/I  /(.{20})/I
995  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
 No options  
 No first char  
 No need char  
 Capturing subpattern count = 1  
  0: Capturing subpattern  
  1: Capturing subpattern  
 Partial matching not supported  
  0: Partial matching not  
  1: Partial matching not  
996  No options  No options
 No match  
997  No first char  No first char
 No match  
998  No need char  No need char
 No match  
999      abcdefghijklmnopqrstuvwxyz      abcdefghijklmnopqrstuvwxyz
1000   0: abcdefghijklmnopqrst   0: abcdefghijklmnopqrst
1001   1: abcdefghijklmnopqrst   1: abcdefghijklmnopqrst
  0: abcdefghijklmnopqrst  
  0: 0: abcdefghijklmnopq  
  1: 0: abcdefghijklmnopq  
  1: abcdefghijklmnopqrst  
  0: 1: abcdefghijklmnopq  
  1: 1: abcdefghijklmnopq  
1002      abcdefghijklmnopqrstuvwxyz\C1      abcdefghijklmnopqrstuvwxyz\C1
1003   0: abcdefghijklmnopqrst   0: abcdefghijklmnopqrst
1004   1: abcdefghijklmnopqrst   1: abcdefghijklmnopqrst
1005   1C abcdefghijklmnopqrst (20)   1C abcdefghijklmnopqrst (20)
  0: abcdefghijklmnopqrst  
  0: 0: abcdefghijklmnopq  
  1: 0: abcdefghijklmnopq  
  1: abcdefghijklmnopqrst  
  0: 1: abcdefghijklmnopq  
  1: 1: abcdefghijklmnopq  
  1C abcdefghijklmnopqrst (20)  
  0: 1C abcdefghijklmnopq  
  1: 1C abcdefghijklmnopq  
1006      abcdefghijklmnopqrstuvwxyz\G1      abcdefghijklmnopqrstuvwxyz\G1
1007   0: abcdefghijklmnopqrst   0: abcdefghijklmnopqrst
1008   1: abcdefghijklmnopqrst   1: abcdefghijklmnopqrst
1009   1G abcdefghijklmnopqrst (20)   1G abcdefghijklmnopqrst (20)
  0: abcdefghijklmnopqrst  
  0: 0: abcdefghijklmnopq  
  1: 0: abcdefghijklmnopq  
  1: abcdefghijklmnopqrst  
  0: 1: abcdefghijklmnopq  
  1: 1: abcdefghijklmnopq  
  1G abcdefghijklmnopqrst (20)  
  0: 1G abcdefghijklmnopq  
  1: 1G abcdefghijklmnopq  
1010    
1011  /(.{15})/I  /(.{15})/I
1012  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
 No options  
 No first char  
 No need char  
 Capturing subpattern count = 1  
  0: Capturing subpa  
  1: Capturing subpa  
 Partial matching not supported  
  0: Partial matchin  
  1: Partial matchin  
1013  No options  No options
 No match  
1014  No first char  No first char
 No match  
1015  No need char  No need char
 No match  
1016      abcdefghijklmnopqrstuvwxyz      abcdefghijklmnopqrstuvwxyz
1017   0: abcdefghijklmno   0: abcdefghijklmno
1018   1: abcdefghijklmno   1: abcdefghijklmno
  0: abcdefghijklmno  
  0: 0: abcdefghijkl  
  1: 0: abcdefghijkl  
  1: abcdefghijklmno  
  0: 1: abcdefghijkl  
  1: 1: abcdefghijkl  
1019      abcdefghijklmnopqrstuvwxyz\C1\G1      abcdefghijklmnopqrstuvwxyz\C1\G1
1020   0: abcdefghijklmno   0: abcdefghijklmno
1021   1: abcdefghijklmno   1: abcdefghijklmno
1022   1C abcdefghijklmno (15)   1C abcdefghijklmno (15)
1023   1G abcdefghijklmno (15)   1G abcdefghijklmno (15)
  0: abcdefghijklmno  
  0: 0: abcdefghijkl  
  1: 0: abcdefghijkl  
  1: abcdefghijklmno  
  0: 1: abcdefghijkl  
  1: 1: abcdefghijkl  
  1C abcdefghijklmno (15)  
  0: 1C abcdefghijkl  
  1: 1C abcdefghijkl  
  1G abcdefghijklmno (15)  
  0: 1G abcdefghijkl  
  1: 1G abcdefghijkl  
1024    
1025  /(.{16})/I  /(.{16})/I
1026  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
 No options  
 No first char  
 No need char  
 Capturing subpattern count = 1  
  0: Capturing subpat  
  1: Capturing subpat  
 Partial matching not supported  
  0: Partial matching  
  1: Partial matching  
1027  No options  No options
 No match  
1028  No first char  No first char
 No match  
1029  No need char  No need char
 No match  
1030      abcdefghijklmnopqrstuvwxyz      abcdefghijklmnopqrstuvwxyz
1031   0: abcdefghijklmnop   0: abcdefghijklmnop
1032   1: abcdefghijklmnop   1: abcdefghijklmnop
  0: abcdefghijklmnop  
  0: 0: abcdefghijklm  
  1: 0: abcdefghijklm  
  1: abcdefghijklmnop  
  0: 1: abcdefghijklm  
  1: 1: abcdefghijklm  
1033      abcdefghijklmnopqrstuvwxyz\C1\G1\L      abcdefghijklmnopqrstuvwxyz\C1\G1\L
1034   0: abcdefghijklmnop   0: abcdefghijklmnop
1035   1: abcdefghijklmnop   1: abcdefghijklmnop
# Line 2277  No match Line 1037  No match
1037   1G abcdefghijklmnop (16)   1G abcdefghijklmnop (16)
1038   0L abcdefghijklmnop   0L abcdefghijklmnop
1039   1L abcdefghijklmnop   1L abcdefghijklmnop
  0: abcdefghijklmnop  
  0: 0: abcdefghijklm  
  1: 0: abcdefghijklm  
  1: abcdefghijklmnop  
  0: 1: abcdefghijklm  
  1: 1: abcdefghijklm  
  1C abcdefghijklmnop (16)  
  0: 1C abcdefghijklm  
  1: 1C abcdefghijklm  
  1G abcdefghijklmnop (16)  
  0: 1G abcdefghijklm  
  1: 1G abcdefghijklm  
  0L abcdefghijklmnop  
  0: 0L abcdefghijklm  
  1: 0L abcdefghijklm  
  1L abcdefghijklmnop  
  0: 1L abcdefghijklm  
  1: 1L abcdefghijklm  
1040    
1041  /^(a|(bc))de(f)/I  /^(a|(bc))de(f)/I
1042  Capturing subpattern count = 3  Capturing subpattern count = 3
1043  Options: anchored  Options: anchored
1044  No first char  No first char
1045  No need char  No need char
 Capturing subpattern count = 3  
 No match  
 Options: anchored  
 No match  
 No first char  
 No match  
 No need char  
 No match  
1046      adef\G1\G2\G3\G4\L      adef\G1\G2\G3\G4\L
1047   0: adef   0: adef
1048   1: a   1: a
# Line 2322  get substring 4 failed -7 Line 1056  get substring 4 failed -7
1056   1L a   1L a
1057   2L   2L
1058   3L f   3L f
  0: adef  
 No match  
  1: a  
 No match  
  2: <unset>  
 No match  
  3: f  
 No match  
  1G a (1)  
 No match  
  2G  (0)  
 No match  
  3G f (1)  
 No match  
 get substring 4 failed -7  
 No match  
  0L adef  
 No match  
  1L a  
 No match  
  2L  
 No match  
  3L f  
 No match  
1059      bcdef\G1\G2\G3\G4\L      bcdef\G1\G2\G3\G4\L
1060   0: bcdef   0: bcdef
1061   1: bc   1: bc
# Line 2359  get substring 4 failed -7 Line 1069  get substring 4 failed -7
1069   1L bc   1L bc
1070   2L bc   2L bc
1071   3L f   3L f
  0: bcdef  
 No match  
  1: bc  
 No match  
  2: bc  
 No match  
  3: f  
 No match  
  1G bc (2)  
 No match  
  2G bc (2)  
 No match  
  3G f (1)  
 No match  
 get substring 4 failed -7  
 No match  
  0L bcdef  
 No match  
  1L bc  
 No match  
  2L bc  
 No match  
  3L f  
 No match  
1072      adefghijk\C0      adefghijk\C0
1073   0: adef   0: adef
1074   1: a   1: a
1075   2: <unset>   2: <unset>
1076   3: f   3: f
1077   0C adef (4)   0C adef (4)
  0: adef  
 No match  
  1: a  
 No match  
  2: <unset>  
 No match  
  3: f  
 No match  
  0C adef (4)  
 No match  
1078    
1079  /^abc\00def/I  /^abc\00def/I
1080  Capturing subpattern count = 0  Capturing subpattern count = 0
1081  Options: anchored  Options: anchored
1082  No first char  No first char
1083  No need char  No need char
 Capturing subpattern count = 0  
 No match  
 Options: anchored  
 No match  
 No first char  
 No match  
 No need char  
 No match  
1084      abc\00def\L\C0      abc\00def\L\C0
1085   0: abc\x00def   0: abc\x00def
1086   0C abc (7)   0C abc (7)
1087   0L abc   0L abc
  0: abc\x00def  
 No match  
  0C abc (7)  
 No match  
  0L abc  
 No match  
1088    
1089  /word ((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+  /word ((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+
1090  )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+  )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+
1091  )?)?)?)?)?)?)?)?)?otherword/I  )?)?)?)?)?)?)?)?)?otherword/I
1092  Capturing subpattern count = 8  Capturing subpattern count = 8
1093  Partial matching not supported  Contains explicit CR or LF match
1094  No options  No options
1095  First char = 'w'  First char = 'w'
1096  Need char = 'd'  Need char = 'd'
 Capturing subpattern count = 8  
 No match  
 Partial matching not supported  
 No match  
 No options  
 No match  
 First char = 'w'  
 No match  
 Need char = 'd'  
 No match  
1097    
1098  /.*X/IDZ  /.*X/IDZ
1099  ------------------------------------------------------------------  ------------------------------------------------------------------
1100          Bra 0          Bra
         Any*  
         X  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Partial matching not supported  
 No options  
 First char at start or follows newline  
 Need char = 'X'  
 ------------------------------------------------------------------  
 No match  
         Bra 0  
 No match  
1101          Any*          Any*
 No match  
1102          X          X
  0: X  
1103          Ket          Ket
 No match  
1104          End          End
 No match  
1105  ------------------------------------------------------------------  ------------------------------------------------------------------
 No match  
1106  Capturing subpattern count = 0  Capturing subpattern count = 0
 No match  
 Partial matching not supported  
 No match  
1107  No options  No options
 No match  
1108  First char at start or follows newline  First char at start or follows newline
 No match  
1109  Need char = 'X'  Need char = 'X'
  0: Need char = 'X  
1110    
1111  /.*X/IDZs  /.*X/IDZs
1112  ------------------------------------------------------------------  ------------------------------------------------------------------
1113          Bra 0          Bra
1114          Any*          AllAny*
         X  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Partial matching not supported  
 Options: anchored dotall  
 No first char  
 Need char = 'X'  
 ------------------------------------------------------------------  
 No match  
         Bra 0  
 No match  
         Any*  
 No match  
1115          X          X
  0: X  
1116          Ket          Ket
 No match  
1117          End          End
 No match  
1118  ------------------------------------------------------------------  ------------------------------------------------------------------
 No match  
1119  Capturing subpattern count = 0  Capturing subpattern count = 0
 No match  
 Partial matching not supported  
 No match  
1120  Options: anchored dotall  Options: anchored dotall
 No match  
1121  No first char  No first char
 No match  
1122  Need char = 'X'  Need char = 'X'
  0: Need char = 'X  
1123    
1124  /(.*X|^B)/IDZ  /(.*X|^B)/IDZ
1125  ------------------------------------------------------------------  ------------------------------------------------------------------
1126          Bra 0          Bra
1127          Bra 1          CBra 1
1128          Any*          Any*
1129          X          X
1130          Alt          Alt
# Line 2533  Need char = 'X' Line 1135  Need char = 'X'
1135          End          End
1136  ------------------------------------------------------------------  ------------------------------------------------------------------
1137  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1138  No options  No options
1139  First char at start or follows newline  First char at start or follows newline
1140  No need char  No need char
1141    
1142    /(.*X|^B)/IDZs
1143  ------------------------------------------------------------------  ------------------------------------------------------------------
1144  No match          Bra
1145          Bra 0          CBra 1
1146   0: B          AllAny*
  1: B  
         Bra 1  
  0: B  
  1: B  
         Any*  
 No match  
1147          X          X
  0: X  
  1: X  
1148          Alt          Alt
 No match  
1149          ^          ^
 No match  
1150          B          B
  0: B  
  1: B  
1151          Ket          Ket
 No match  
1152          Ket          Ket
 No match  
1153          End          End
 No match  
1154  ------------------------------------------------------------------  ------------------------------------------------------------------
 No match  
1155  Capturing subpattern count = 1  Capturing subpattern count = 1
1156  No match  Options: anchored dotall
1157  Partial matching not supported  No first char
 No match  
 No options  
 No match  
 First char at start or follows newline  
 No match  
1158  No need char  No need char
 No match  
1159    
1160  /(.*X|^B)/IDZs  /(?s)(.*X|^B)/IDZ
1161  ------------------------------------------------------------------  ------------------------------------------------------------------
1162          Bra 0          Bra
1163          Bra 1          CBra 1
1164          Any*          AllAny*
1165          X          X
1166          Alt          Alt
1167          ^          ^
# Line 2590  No match Line 1171  No match
1171          End          End
1172  ------------------------------------------------------------------  ------------------------------------------------------------------
1173  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1174  Options: anchored dotall  Options: anchored dotall
1175  No first char  No first char
1176  No need char  No need char
1177    
1178    /(?s:.*X|^B)/IDZ
1179  ------------------------------------------------------------------  ------------------------------------------------------------------
1180  No match          Bra
1181          Bra 0          Bra
1182   0: B       04 Opt
1183   1: B          AllAny*
         Bra 1  
  0: B  
  1: B  
         Any*  
 No match  
1184          X          X
  0: X  
  1: X  
1185          Alt          Alt
1186  No match       04 Opt
1187          ^          ^
 No match  
1188          B          B
  0: B  
  1: B  
1189          Ket          Ket
1190  No match       00 Opt
1191          Ket          Ket
 No match  
1192          End          End
 No match  
1193  ------------------------------------------------------------------  ------------------------------------------------------------------
1194  No match  Capturing subpattern count = 0
1195  Capturing subpattern count = 1  Options: anchored
 No match  
 Partial matching not supported  
 No match  
 Options: anchored dotall  
 No match  
1196  No first char  No first char
 No match  
1197  No need char  No need char
 No match  
   
 /(?s)(.*X|^B)/IDZ  
 ------------------------------------------------------------------  
         Bra 0  
         Bra 1  
         Any*  
         X  
         Alt  
         ^  
         B  
         Ket  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 1  
 Partial matching not supported  
 Options: anchored dotall  
 No first char  
 No need char  
 ------------------------------------------------------------------  
 No match  
         Bra 0  
  0: B  
  1: B  
         Bra 1  
  0: B  
  1: B  
         Any*  
 No match  
         X  
  0: X  
  1: X  
         Alt  
 No match  
         ^  
 No match  
         B  
  0: B  
  1: B  
         Ket  
 No match  
         Ket  
 No match  
         End  
 No match  
 ------------------------------------------------------------------  
 No match  
 Capturing subpattern count = 1  
 No match  
 Partial matching not supported  
 No match  
 Options: anchored dotall  
 No match  
 No first char  
 No match  
 No need char  
 No match  
   
 /(?s:.*X|^B)/IDZ  
 ------------------------------------------------------------------  
         Bra 0  
         Bra 0  
      04 Opt  
         Any*  
         X  
         Alt  
      04 Opt  
         ^  
         B  
         Ket  
      00 Opt  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Partial matching not supported  
 No options  
 First char at start or follows newline  
 No need char  
 ------------------------------------------------------------------  
 No match  
         Bra 0  
  0: B  
         Bra 0  
  0: B  
      04 Opt  
 No match  
         Any*  
 No match  
         X  
  0: X  
         Alt  
 No match  
      04 Opt  
 No match  
         ^  
 No match  
         B  
  0: B  
         Ket  
 No match  
      00 Opt  
 No match  
         Ket  
 No match  
         End  
 No match  
 ------------------------------------------------------------------  
 No match  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
 No options  
 No match  
 First char at start or follows newline  
 No match  
 No need char  
 No match  
1198    
1199  /\Biss\B/I+  /\Biss\B/I+
1200  Capturing subpattern count = 0  Capturing subpattern count = 0
1201  No options  No options
1202  First char = 'i'  First char = 'i'
1203  Need char = 's'  Need char = 's'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'i'  
 No match  
 Need char = 's'  
 No match  
1204      Mississippi      Mississippi
1205   0: iss   0: iss
1206   0+ issippi   0+ issippi
  0: iss  
 No match  
  0+ issippi  
 No match  
1207    
1208  /\Biss\B/I+P  /\Biss\B/I+P
1209      Mississippi      Mississippi
1210   0: iss   0: iss
1211   0+ issippi   0+ issippi
  0: iss  
 No match: POSIX code 17: match failed  
  0+ issippi  
 No match: POSIX code 17: match failed  
1212    
1213  /iss/IG+  /iss/IG+
1214  Capturing subpattern count = 0  Capturing subpattern count = 0
1215  No options  No options
1216  First char = 'i'  First char = 'i'
1217  Need char = 's'  Need char = 's'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'i'  
 No match  
 Need char = 's'  
 No match  
1218      Mississippi      Mississippi
1219   0: iss   0: iss
1220   0+ issippi   0+ issippi
1221   0: iss   0: iss
1222   0+ ippi   0+ ippi
  0: iss  
  0: iss  
  0+  
  0+ issippi  
  0: iss  
  0+ ippi  
  0: iss  
  0: iss  
  0+  
  0+ ippi  
 No match  
1223    
1224  /\Biss\B/IG+  /\Biss\B/IG+
1225  Capturing subpattern count = 0  Capturing subpattern count = 0
1226  No options  No options
1227  First char = 'i'  First char = 'i'
1228  Need char = 's'  Need char = 's'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'i'  
 No match  
 Need char = 's'  
 No match  
1229      Mississippi      Mississippi
1230   0: iss   0: iss
1231   0+ issippi   0+ issippi
  0: iss  
 No match  
  0+ issippi  
 No match  
1232    
1233  /\Biss\B/Ig+  /\Biss\B/Ig+
1234  Capturing subpattern count = 0  Capturing subpattern count = 0
1235  No options  No options
1236  First char = 'i'  First char = 'i'
1237  Need char = 's'  Need char = 's'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'i'  
 No match  
 Need char = 's'  
 No match  
1238      Mississippi      Mississippi
1239   0: iss   0: iss
1240   0+ issippi   0+ issippi
1241   0: iss   0: iss
1242   0+ ippi   0+ ippi
  0: iss  
 No match  
  0+ issippi  
 No match  
  0: iss  
 No match  
  0+ ippi  
 No match  
1243      *** Failers      *** Failers
1244  No match  No match
 No match  
 No match  
1245      Mississippi\A      Mississippi\A
1246  No match  No match
 No match  
 No match  
1247    
1248  /(?<=[Ms])iss/Ig+  /(?<=[Ms])iss/Ig+
1249  Capturing subpattern count = 0  Capturing subpattern count = 0
1250  No options  No options
1251  First char = 'i'  First char = 'i'
1252  Need char = 's'  Need char = 's'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'i'  
 No match  
 Need char = 's'  
 No match  
1253      Mississippi      Mississippi
1254   0: iss   0: iss
1255   0+ issippi   0+ issippi
1256   0: iss   0: iss
1257   0+ ippi   0+ ippi
  0: iss  
 No match  
  0+ issippi  
 No match  
  0: iss  
 No match  
  0+ ippi  
 No match  
1258    
1259  /(?<=[Ms])iss/IG+  /(?<=[Ms])iss/IG+
1260  Capturing subpattern count = 0  Capturing subpattern count = 0
1261  No options  No options
1262  First char = 'i'  First char = 'i'
1263  Need char = 's'  Need char = 's'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'i'  
 No match  
 Need char = 's'  
 No match  
1264      Mississippi      Mississippi
1265   0: iss   0: iss
1266   0+ issippi   0+ issippi
  0: iss  
 No match  
  0+ issippi  
 No match  
1267    
1268  /^iss/Ig+  /^iss/Ig+
1269  Capturing subpattern count = 0  Capturing subpattern count = 0
1270  Options: anchored  Options: anchored
1271  No first char  No first char
1272  No need char  No need char
 Capturing subpattern count = 0  
 No match  
 Options: anchored  
 No match  
 No first char  
 No match  
 No need char  
 No match  
1273      ississippi      ississippi
1274   0: iss   0: iss
1275   0+ issippi   0+ issippi
  0: iss  
 No match  
  0+ issippi  
 No match  
1276    
1277  /.*iss/Ig+  /.*iss/Ig+
1278  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 First char at start or follows newline  
 Need char = 's'  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
1279  No options  No options
 No match  
1280  First char at start or follows newline  First char at start or follows newline
 No match  
1281  Need char = 's'  Need char = 's'
 No match  
1282      abciss\nxyzisspqr      abciss\nxyzisspqr
1283   0: abciss   0: abciss
1284   0+ \x0axyzisspqr   0+ \x0axyzisspqr
1285   0: xyziss   0: xyziss
1286   0+ pqr   0+ pqr
  0: abciss  
  0: 0: abciss  
  0+  
  0+ \x0axyzisspqr  
  0: xyziss  
  0+ pqr  
  0: xyziss  
  0: 0: xyziss  
  0+  
  0+ pqr  
 No match  
1287    
1288  /.i./I+g  /.i./I+g
1289  Capturing subpattern count = 0  Capturing subpattern count = 0
1290  No options  No options
1291  No first char  No first char
1292  Need char = 'i'  Need char = 'i'
 Capturing subpattern count = 0  
  0: rin  
  0+ g subpattern count = 0  
 No options  
  0: tio  
  0+ ns  
 No first char  
  0: fir  
  0+ st char  
 Need char = 'i'  
  0: 'i'  
  0+  
1293      Mississippi      Mississippi
1294   0: Mis   0: Mis
1295   0+ sissippi   0+ sissippi
# Line 2994  Need char = 'i' Line 1297  Need char = 'i'
1297   0+ sippi   0+ sippi
1298   0: sip   0: sip
1299   0+ pi   0+ pi
  0: Mis  
  0: Mis  
  0+  
  0+ sissippi  
  0: sis  
  0+ sippi  
  0: sip  
  0+ pi  
  0: sis  
  0: sis  
  0+  
  0+ sippi  
  0: sip  
  0+ pi  
  0: sip  
  0: sip  
  0+  
  0+ pi  
 No match  
1300      Mississippi\A      Mississippi\A
1301   0: Mis   0: Mis
1302   0+ sissippi   0+ sissippi
# Line 3020  No match Line 1304  No match
1304   0+ sippi   0+ sippi
1305   0: sip   0: sip
1306   0+ pi   0+ pi
1307        Missouri river
1308   0: Mis   0: Mis
1309   0: Mis   0+ souri river
1310   0+   0: ri
1311   0+ sissippi   0+ river
1312   0: sis   0: riv
1313   0+ sippi   0+ er
1314   0: sip      Missouri river\A
  0+ pi  
  0: sis  
  0: sis  
  0+  
  0+ sippi  
  0: sip  
  0+ pi  
  0: sip  
  0: sip  
  0+  
  0+ pi  
 No match  
     Missouri river  
  0: Mis  
  0+ souri river  
  0: ri  
  0+ river  
  0: riv  
  0+ er  
  0: Mis  
  0: Mis  
  0+  
  0+ souri river  
  0: ri  
  0+ river  
  0: riv  
  0+ er  
  0: ri  
 No match  
  0+ river  
  0: riv  
  0+ er  
  0: riv  
  0: riv  
  0+  
  0+ er  
 No match  
     Missouri river\A  
1315   0: Mis   0: Mis
1316   0+ souri river   0+ souri river
  0: Mis  
  0: Mis  
  0+  
  0+ souri river  
  0: ri  
  0+ river  
  0: riv  
  0+ er  
1317    
1318  /^.is/I+g  /^.is/I+g
1319  Capturing subpattern count = 0  Capturing subpattern count = 0
1320  Options: anchored  Options: anchored
1321  No first char  No first char
1322  No need char  No need char
 Capturing subpattern count = 0  
 No match  
 Options: anchored  
 No match  
 No first char  
 No match  
 No need char  
 No match  
1323      Mississippi      Mississippi
1324   0: Mis   0: Mis
1325   0+ sissippi   0+ sissippi
  0: Mis  
 No match  
  0+ sissippi  
 No match  
1326    
1327  /^ab\n/Ig+  /^ab\n/Ig+
1328  Capturing subpattern count = 0  Capturing subpattern count = 0
1329    Contains explicit CR or LF match
1330  Options: anchored  Options: anchored
1331  No first char  No first char
1332  No need char  No need char
 Capturing subpattern count = 0  
 No match  
 Options: anchored  
 No match  
 No first char  
 No match  
 No need char  
 No match  
1333      ab\nab\ncd      ab\nab\ncd
1334   0: ab\x0a   0: ab\x0a
1335   0+ ab\x0acd   0+ ab\x0acd
  0: ab\x0a  
 No match  
  0+ ab\x0acd  
 No match  
1336    
1337  /^ab\n/Img+  /^ab\n/Img+
1338  Capturing subpattern count = 0  Capturing subpattern count = 0
1339    Contains explicit CR or LF match
1340  Options: multiline  Options: multiline
1341  First char at start or follows newline  First char at start or follows newline
1342  Need char = 10  Need char = 10
 Capturing subpattern count = 0  
 No match  
 Options: multiline  
 No match  
 First char at start or follows newline  
 No match  
 Need char = 10  
 No match  
1343      ab\nab\ncd      ab\nab\ncd
1344   0: ab\x0a   0: ab\x0a
1345   0+ ab\x0acd   0+ ab\x0acd
1346   0: ab\x0a   0: ab\x0a
1347   0+ cd   0+ cd
  0: ab\x0a  
 No match  
  0+ ab\x0acd  
 No match  
  0: ab\x0a  
 No match  
  0+ cd  
 No match  
1348    
1349  /abc/I  /abc/I
1350  Capturing subpattern count = 0  Capturing subpattern count = 0
1351  No options  No options
1352  First char = 'a'  First char = 'a'
1353  Need char = 'c'  Need char = 'c'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'a'  
 No match  
 Need char = 'c'  
 No match  
1354    
1355  /abc|bac/I  /abc|bac/I
1356  Capturing subpattern count = 0  Capturing subpattern count = 0
1357  No options  No options
1358  No first char  No first char
1359  Need char = 'c'  Need char = 'c'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 No first char  
 No match  
 Need char = 'c'  
 No match  
1360    
1361  /(abc|bac)/I  /(abc|bac)/I
1362  Capturing subpattern count = 1  Capturing subpattern count = 1
1363  No options  No options
1364  No first char  No first char
1365  Need char = 'c'  Need char = 'c'
 Capturing subpattern count = 1  
 No match  
 No options  
 No match  
 No first char  
 No match  
 Need char = 'c'  
 No match  
1366    
1367  /(abc|(c|dc))/I  /(abc|(c|dc))/I
1368  Capturing subpattern count = 2  Capturing subpattern count = 2
1369  No options  No options
1370  No first char  No first char
1371  Need char = 'c'  Need char = 'c'
 Capturing subpattern count = 2  
  0: c  
  1: c  
  2: c  
 No options  
 No match  
 No first char  
  0: c  
  1: c  
  2: c  
 Need char = 'c'  
  0: c  
  1: c  
  2: c  
1372    
1373  /(abc|(d|de)c)/I  /(abc|(d|de)c)/I
1374  Capturing subpattern count = 2  Capturing subpattern count = 2
1375  No options  No options
1376  No first char  No first char
1377  Need char = 'c'  Need char = 'c'
 Capturing subpattern count = 2  
 No match  
 No options  
 No match  
 No first char  
 No match  
 Need char = 'c'  
 No match  
1378    
1379  /a*/I  /a*/I
1380  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 No first char  
 No need char  
 Capturing subpattern count = 0  
  0:  
 Partial matching not supported  
  0:  
1381  No options  No options
  0:  
1382  No first char  No first char
  0:  
1383  No need char  No need char
  0:  
1384    
1385  /a+/I  /a+/I
1386  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 First char = 'a'  
 No need char  
 Capturing subpattern count = 0  
  0: a  
 Partial matching not supported  
  0: a  
1387  No options  No options
 No match  
1388  First char = 'a'  First char = 'a'
  0: a  
1389  No need char  No need char
  0: a  
1390    
1391  /(baa|a+)/I  /(baa|a+)/I
1392  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
 No options  
 No first char  
 Need char = 'a'  
 Capturing subpattern count = 1  
  0: a  
  1: a  
 Partial matching not supported  
  0: a  
  1: a  
1393  No options  No options
 No match  
1394  No first char  No first char
  0: a  
  1: a  
1395  Need char = 'a'  Need char = 'a'
  0: a  
  1: a  
1396    
1397  /a{0,3}/I  /a{0,3}/I
1398  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 No first char  
 No need char  
 Capturing subpattern count = 0  
  0:  
 Partial matching not supported  
  0:  
1399  No options  No options
  0:  
1400  No first char  No first char
  0:  
1401  No need char  No need char
  0:  
1402    
1403  /baa{3,}/I  /baa{3,}/I
1404  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 First char = 'b'  
 Need char = 'a'  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
1405  No options  No options
 No match  
1406  First char = 'b'  First char = 'b'
 No match  
1407  Need char = 'a'  Need char = 'a'
 No match  
1408    
1409  /"([^\\"]+|\\.)*"/I  /"([^\\"]+|\\.)*"/I
1410  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
 No options  
 First char = '"'  
 Need char = '"'  
 Capturing subpattern count = 1  
 No match  
 Partial matching not supported  
 No match  
1411  No options  No options
 No match  
1412  First char = '"'  First char = '"'
 No match  
1413  Need char = '"'  Need char = '"'
 No match  
1414    
1415  /(abc|ab[cd])/I  /(abc|ab[cd])/I
1416  Capturing subpattern count = 1  Capturing subpattern count = 1
1417  No options  No options
1418  First char = 'a'  First char = 'a'
1419  No need char  No need char
 Capturing subpattern count = 1  
 No match  
 No options  
 No match  
 First char = 'a'  
 No match  
 No need char  
 No match  
1420    
1421  /(a|.)/I  /(a|.)/I
1422  Capturing subpattern count = 1  Capturing subpattern count = 1
1423  No options  No options
1424  No first char  No first char
1425  No need char  No need char
 Capturing subpattern count = 1  
  0: C  
  1: C  
 No options  
  0: N  
  1: N  
 No first char  
  0: N  
  1: N  
 No need char  
  0: N  
  1: N  
1426    
1427  /a|ba|\w/I  /a|ba|\w/I
1428  Capturing subpattern count = 0  Capturing subpattern count = 0
1429  No options  No options
1430  No first char  No first char
1431  No need char  No need char
 Capturing subpattern count = 0  
  0: C  
 No options  
  0: N  
 No first char  
  0: N  
 No need char  
  0: N  
1432    
1433  /abc(?=pqr)/I  /abc(?=pqr)/I
1434  Capturing subpattern count = 0  Capturing subpattern count = 0
1435  No options  No options
1436  First char = 'a'  First char = 'a'
1437  Need char = 'r'  Need char = 'r'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'a'  
 No match  
 Need char = 'r'  
 No match  
1438    
1439  /...(?<=abc)/I  /...(?<=abc)/I
1440  Capturing subpattern count = 0  Capturing subpattern count = 0
1441  No options  No options
1442  No first char  No first char
1443  No need char  No need char
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 No first char  
 No match  
 No need char  
 No match  
1444    
1445  /abc(?!pqr)/I  /abc(?!pqr)/I
1446  Capturing subpattern count = 0  Capturing subpattern count = 0
1447  No options  No options
1448  First char = 'a'  First char = 'a'
1449  Need char = 'c'  Need char = 'c'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'a'  
 No match  
 Need char = 'c'  
 No match  
1450    
1451  /ab./I  /ab./I
1452  Capturing subpattern count = 0  Capturing subpattern count = 0
1453  No options  No options
1454  First char = 'a'  First char = 'a'
1455  Need char = 'b'  Need char = 'b'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'a'  
 No match  
 Need char = 'b'  
 No match  
1456    
1457  /ab[xyz]/I  /ab[xyz]/I
1458  Capturing subpattern count = 0  Capturing subpattern count = 0
1459  No options  No options
1460  First char = 'a'  First char = 'a'
1461  Need char = 'b'  Need char = 'b'
1462    
1463    /abc*/I
1464  Capturing subpattern count = 0  Capturing subpattern count = 0
 No match  
1465  No options  No options
 No match  
1466  First char = 'a'  First char = 'a'
 No match  
1467  Need char = 'b'  Need char = 'b'
 No match  
1468    
1469  /abc*/I  /ab.c*/I
1470  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1471  No options  No options
1472  First char = 'a'  First char = 'a'
1473  Need char = 'b'  Need char = 'b'
1474    
1475    /a.c*/I
1476  Capturing subpattern count = 0  Capturing subpattern count = 0
 No match  
 Partial matching not supported  
 No match  
1477  No options  No options
 No match  
1478  First char = 'a'  First char = 'a'
1479  No match  No need char
 Need char = 'b'  
 No match  
1480    
1481  /ab.c*/I  /.c*/I
1482  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1483  No options  No options
 First char = 'a'  
 Need char = 'b'  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
 No options  
 No match  
 First char = 'a'  
 No match  
 Need char = 'b'  
 No match  
   
 /a.c*/I  
 Capturing subpattern count = 0  
 Partial matching not supported  
 No options  
 First char = 'a'  
 No need char  
 Capturing subpattern count = 0  
  0: ap  
 Partial matching not supported  
  0: ar  
 No options  
 No match  
 First char = 'a'  
  0: ar  
 No need char  
  0: ar  
   
 /.c*/I  
 Capturing subpattern count = 0  
 Partial matching not supported  
 No options  
 No first char  
 No need char  
 Capturing subpattern count = 0  
  0: C  
 Partial matching not supported  
  0: P  
 No options  
  0: N  
1484  No first char  No first char
  0: N  
1485  No need char  No need char
  0: N  
1486    
1487  /ac*/I  /ac*/I
1488  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 First char = 'a'  
 No need char  
 Capturing subpattern count = 0  
  0: a  
 Partial matching not supported  
  0: a  
1489  No options  No options
 No match  
1490  First char = 'a'  First char = 'a'
  0: a  
1491  No need char  No need char
  0: a  
1492    
1493  /(a.c*|b.c*)/I  /(a.c*|b.c*)/I
1494  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
 No options  
 No first char  
 No need char  
 Capturing subpattern count = 1  
  0: ap  
  1: ap  
 Partial matching not supported  
  0: ar  
  1: ar  
1495  No options  No options
 No match  
1496  No first char  No first char
  0: ar  
  1: ar  
1497  No need char  No need char
  0: ar  
  1: ar  
1498    
1499  /a.c*|aba/I  /a.c*|aba/I
1500  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 First char = 'a'  
 No need char  
 Capturing subpattern count = 0  
  0: ap  
 Partial matching not supported  
  0: ar  
1501  No options  No options
 No match  
1502  First char = 'a'  First char = 'a'
  0: ar  
1503  No need char  No need char
  0: ar  
1504    
1505  /.+a/I  /.+a/I
1506  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 No first char  
 Need char = 'a'  
 Capturing subpattern count = 0  
  0: Capturing subpa  
 Partial matching not supported  
  0: Partial ma  
1507  No options  No options
 No match  
1508  No first char  No first char
  0: No first cha  
1509  Need char = 'a'  Need char = 'a'
  0: Need char = 'a  
1510    
1511  /(?=abcda)a.*/I  /(?=abcda)a.*/I
1512  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 First char = 'a'  
 Need char = 'a'  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
1513  No options  No options
 No match  
1514  First char = 'a'  First char = 'a'
 No match  
1515  Need char = 'a'  Need char = 'a'
 No match  
1516    
1517  /(?=a)a.*/I  /(?=a)a.*/I
1518  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 First char = 'a'  
 No need char  
 Capturing subpattern count = 0  
  0: apturing subpattern count = 0  
 Partial matching not supported  
  0: artial matching not supported  
1519  No options  No options
 No match  
1520  First char = 'a'  First char = 'a'
  0: ar = 'a'  
1521  No need char  No need char
  0: ar  
1522    
1523  /a(b)*/I  /a(b)*/I
1524  Capturing subpattern count = 1  Capturing subpattern count = 1
1525  No options  No options
1526  First char = 'a'  First char = 'a'
1527  No need char  No need char
 Capturing subpattern count = 1  
  0: a  
 No options  
 No match  
 First char = 'a'  
  0: a  
 No need char  
  0: a  
1528    
1529  /a\d*/I  /a\d*/I
1530  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 First char = 'a'  
 No need char  
 Capturing subpattern count = 0  
  0: a  
 Partial matching not supported  
  0: a  
1531  No options  No options
 No match  
1532  First char = 'a'  First char = 'a'
  0: a  
1533  No need char  No need char
  0: a  
1534    
1535  /ab\d*/I  /ab\d*/I
1536  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 First char = 'a'  
 Need char = 'b'  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
1537  No options  No options
 No match  
1538  First char = 'a'  First char = 'a'
 No match  
1539  Need char = 'b'  Need char = 'b'
 No match  
1540    
1541  /a(\d)*/I  /a(\d)*/I
1542  Capturing subpattern count = 1  Capturing subpattern count = 1
1543  No options  No options
1544  First char = 'a'  First char = 'a'
1545  No need char  No need char
 Capturing subpattern count = 1  
  0: a  
 No options  
 No match  
 First char = 'a'  
  0: a  
 No need char  
  0: a  
1546    
1547  /abcde{0,0}/I  /abcde{0,0}/I
1548  Capturing subpattern count = 0  Capturing subpattern count = 0
1549  No options  No options
1550  First char = 'a'  First char = 'a'
1551  Need char = 'd'  Need char = 'd'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'a'  
 No match  
 Need char = 'd'  
 No match  
1552    
1553  /ab\d+/I  /ab\d+/I
1554  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 No options  
 First char = 'a'  
 Need char = 'b'  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
1555  No options  No options
 No match  
1556  First char = 'a'  First char = 'a'
 No match  
1557  Need char = 'b'  Need char = 'b'
 No match  
1558    
1559  /a(?(1)b)/I  /a(?(1)b)(.)/I
1560  Capturing subpattern count = 0  Capturing subpattern count = 1
 No options  
 First char = 'a'  
 No need char  
 Capturing subpattern count = 0  
  0: a  
1561  No options  No options
 No match  
1562  First char = 'a'  First char = 'a'
  0: a  
1563  No need char  No need char
  0: a  
1564    
1565  /a(?(1)bag|big)/I  /a(?(1)bag|big)(.)/I
1566  Capturing subpattern count = 0  Capturing subpattern count = 1
 No options  
 First char = 'a'  
 Need char = 'g'  
 Capturing subpattern count = 0  
 No match  
1567  No options  No options
 No match  
1568  First char = 'a'  First char = 'a'
 No match  
1569  Need char = 'g'  Need char = 'g'
 No match  
1570    
1571  /a(?(1)bag|big)*/I  /a(?(1)bag|big)*(.)/I
1572  Capturing subpattern count = 0  Capturing subpattern count = 1
 No options  
 First char = 'a'  
 No need char  
 Capturing subpattern count = 0  
  0: a  
1573  No options  No options
 No match  
1574  First char = 'a'  First char = 'a'
  0: a  
1575  No need char  No need char
  0: a  
1576    
1577  /a(?(1)bag|big)+/I  /a(?(1)bag|big)+(.)/I
1578  Capturing subpattern count = 0  Capturing subpattern count = 1
 No options  
 First char = 'a'  
 Need char = 'g'  
 Capturing subpattern count = 0  
 No match  
1579  No options  No options
 No match  
1580  First char = 'a'  First char = 'a'
 No match  
1581  Need char = 'g'  Need char = 'g'
 No match  
1582    
1583  /a(?(1)b..|b..)/I  /a(?(1)b..|b..)(.)/I
1584  Capturing subpattern count = 0  Capturing subpattern count = 1
 No options  
 First char = 'a'  
 Need char = 'b'  
 Capturing subpattern count = 0  
 No match  
1585  No options  No options
 No match  
1586  First char = 'a'  First char = 'a'
 No match  
1587  Need char = 'b'  Need char = 'b'
 No match  
1588    
1589  /ab\d{0}e/I  /ab\d{0}e/I
1590  Capturing subpattern count = 0  Capturing subpattern count = 0
1591  No options  No options
1592  First char = 'a'  First char = 'a'
1593  Need char = 'e'  Need char = 'e'
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'a'  
 No match  
 Need char = 'e'  
 No match  
1594    
1595  /a?b?/I  /a?b?/I
1596  Capturing subpattern count = 0  Capturing subpattern count = 0
1597  No options  No options
1598  No first char  No first char
1599  No need char  No need char
 Capturing subpattern count = 0  
  0:  
 No options  
  0:  
 No first char  
  0:  
 No need char  
  0:  
1600      a      a
1601   0: a   0: a
  0: a  
  0:  
1602      b      b
1603   0: b   0: b
  0: b  
  0:  
1604      ab      ab
1605   0: ab   0: ab
  0: ab  
  0:  
1606      \      \
1607   0:   0:
  0:  
  0:  
1608      *** Failers      *** Failers
1609   0:   0:
  0:  
  0:  
1610      \N      \N
1611  No match  No match
 No match  
  0:  
1612    
1613  /|-/I  /|-/I
1614  Capturing subpattern count = 0  Capturing subpattern count = 0
1615  No options  No options
1616  No first char  No first char
1617  No need char  No need char
 Capturing subpattern count = 0  
  0:  
 No options  
  0:  
 No first char  
  0:  
 No need char  
  0:  
1618      abcd      abcd
1619   0:   0:
  0:  
  0:  
1620      -abc      -abc
1621   0:   0:
  0:  
  0:  
1622      \Nab-c      \Nab-c
1623   0: -   0: -
  0: -  
  0:  
1624      *** Failers      *** Failers
1625   0:   0:
  0:  
  0:  
1626      \Nabc      \Nabc
1627  No match  No match
 No match  
  0:  
1628    
1629  /a*(b+)(z)(z)/IP  /a*(b+)(z)(z)/P
1630      aaaabbbbzzzz      aaaabbbbzzzz
1631   0: aaaabbbbzz   0: aaaabbbbzz
1632   1: bbbb   1: bbbb
1633   2: z   2: z
1634   3: z   3: z
  0: aaaabbbbzz  
  0: aaaabbbbzz  
  1: bbbb  
  2: z  
  3: z  
  1: bbbb  
 No match: POSIX code 17: match failed  
  2: z  
 No match: POSIX code 17: match failed  
  3: z  
 No match: POSIX code 17: match failed  
1635      aaaabbbbzzzz\O0      aaaabbbbzzzz\O0
1636      aaaabbbbzzzz\O1      aaaabbbbzzzz\O1
1637   0: aaaabbbbzz   0: aaaabbbbzz
  0: aaaabbbbzz  
  0: aaaabbbbzz  
  1: bbbb  
  2: z  
  3: z  
1638      aaaabbbbzzzz\O2      aaaabbbbzzzz\O2
1639   0: aaaabbbbzz   0: aaaabbbbzz
1640   1: bbbb   1: bbbb
  0: aaaabbbbzz  
  0: aaaabbbbzz  
  1: bbbb  
  2: z  
  3: z  
  1: bbbb  
 No match: POSIX code 17: match failed  
1641      aaaabbbbzzzz\O3      aaaabbbbzzzz\O3
1642   0: aaaabbbbzz   0: aaaabbbbzz
1643   1: bbbb   1: bbbb
1644   2: z   2: z
  0: aaaabbbbzz  
  0: aaaabbbbzz  
  1: bbbb  
  2: z  
  3: z  
  1: bbbb  
 No match: POSIX code 17: match failed  
  2: z  
 No match: POSIX code 17: match failed  
1645      aaaabbbbzzzz\O4      aaaabbbbzzzz\O4
1646   0: aaaabbbbzz   0: aaaabbbbzz
1647   1: bbbb   1: bbbb
1648   2: z   2: z
1649   3: z   3: z
1650        aaaabbbbzzzz\O5
1651   0: aaaabbbbzz   0: aaaabbbbzz
  0: aaaabbbbzz  
  1: bbbb  
  2: z  
  3: z  
1652   1: bbbb   1: bbbb
 No match: POSIX code 17: match failed  
1653   2: z   2: z
 No match: POSIX code 17: match failed  
1654   3: z   3: z
 No match: POSIX code 17: match failed  
     aaaabbbbzzzz\O5  
  0: aaaabbbbzz  
  1: bbbb  
  2: z  
  3: z  
  0: aaaabbbbzz  
  0: aaaabbbbzz  
  1: bbbb  
  2: z  
  3: z  
  1: bbbb  
 No match: POSIX code 17: match failed  
  2: z  
 No match: POSIX code 17: match failed  
  3: z  
 No match: POSIX code 17: match failed  
1655    
1656  /^.?abcd/IS  /^.?abcd/IS
1657  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 3953  Options: anchored Line 1659  Options: anchored
1659  No first char  No first char
1660  Need char = 'd'  Need char = 'd'
1661  Study returned NULL  Study returned NULL
 Capturing subpattern count = 0  
 No match  
 Options: anchored  
 No match  
 No first char  
 No match  
 Need char = 'd'  
 No match  
 Study returned NULL  
 No match  
1662    
1663  /\(             # ( at start  /\(             # ( at start
1664    (?:           # Non-capturing bracket    (?:           # Non-capturing bracket
# Line 3973  No match Line 1669  No match
1669    \)            # Closing )    \)            # Closing )
1670    /Ix    /Ix
1671  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 Options: extended  
 First char = '('  
 Need char = ')'  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
1672  Options: extended  Options: extended
 No match  
1673  First char = '('  First char = '('
 No match  
1674  Need char = ')'  Need char = ')'
 No match  
1675      (abcd)      (abcd)
1676   0: (abcd)   0: (abcd)
  0: (abcd)  
  0: (abcd)  
1677      (abcd)xyz      (abcd)xyz
1678   0: (abcd)   0: (abcd)
  0: (abcd)  
  0: (abcd)  
1679      xyz(abcd)      xyz(abcd)
1680   0: (abcd)   0: (abcd)
  0: (abcd)  
  0: (abcd)  
1681      (ab(xy)cd)pqr      (ab(xy)cd)pqr
1682   0: (ab(xy)cd)   0: (ab(xy)cd)
  0: (ab(xy)cd)  
  0: (ab(xy)cd)  
1683      (ab(xycd)pqr      (ab(xycd)pqr
1684   0: (xycd)   0: (xycd)
  0: (xycd)  
  0: (xycd)  
1685      () abc ()      () abc ()
1686   0: ()   0: ()
  0: ()  
  0: ()  
1687      12(abcde(fsh)xyz(foo(bar))lmno)89      12(abcde(fsh)xyz(foo(bar))lmno)89
1688   0: (abcde(fsh)xyz(foo(bar))lmno)   0: (abcde(fsh)xyz(foo(bar))lmno)
  0: (abcde(fsh)xyz(foo(bar))lmno)  
  0: (abcde(fsh)xyz(foo(bar))lmno)  
1689      *** Failers      *** Failers
1690  No match  No match
 No match  
 No match  
1691      abcd      abcd
1692  No match  No match
 No match  
 No match  
1693      abcd)      abcd)
1694  No match  No match
 No match  
 No match  
1695      (abcd      (abcd
1696  No match  No match
 No match  
 No match  
1697    
1698  /\(  ( (?>[^()]+) | (?R) )* \) /Ixg  /\(  ( (?>[^()]+) | (?R) )* \) /Ixg
1699  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1700  Options: extended  Options: extended
1701  First char = '('  First char = '('
1702  Need char = ')'  Need char = ')'
 Capturing subpattern count = 1  
 No match  
 Partial matching not supported  
 No match  
 Options: extended  
 No match  
 First char = '('  
 No match  
 Need char = ')'  
 No match  
1703      (ab(xy)cd)pqr      (ab(xy)cd)pqr
1704   0: (ab(xy)cd)   0: (ab(xy)cd)
1705   1: cd   1: cd
  0: (ab(xy)cd)  
  0: (ab(xy)cd)  
  1: cd  
  1: cd  
 No match  
1706      1(abcd)(x(y)z)pqr      1(abcd)(x(y)z)pqr
1707   0: (abcd)   0: (abcd)
1708   1: abcd   1: abcd
1709   0: (x(y)z)   0: (x(y)z)
1710   1: z   1: z
  0: (abcd)  
  0: (abcd)  
  1: abcd  
  1: abcd  
 No match  
  0: (x(y)z)  
  0: (x(y)z)  
  1: z  
  1: z  
 No match  
1711    
1712  /\(  (?: (?>[^()]+) | (?R) ) \) /Ix  /\(  (?: (?>[^()]+) | (?R) ) \) /Ix
1713  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1714  Options: extended  Options: extended
1715  First char = '('  First char = '('
1716  Need char = ')'  Need char = ')'
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
 Options: extended  
 No match  
 First char = '('  
 No match  
 Need char = ')'  
 No match  
1717      (abcd)      (abcd)
1718   0: (abcd)   0: (abcd)
  0: (abcd)  
  0: (abcd)  
1719      (ab(xy)cd)      (ab(xy)cd)
1720   0: (xy)   0: (xy)
  0: (xy)  
  0: (xy)  
1721      (a(b(c)d)e)      (a(b(c)d)e)
1722   0: (c)   0: (c)
  0: (c)  
  0: (c)  
1723      ((ab))      ((ab))
1724   0: ((ab))   0: ((ab))
  0: ((ab))  
  0: ((ab))  
1725      *** Failers      *** Failers
1726  No match  No match
 No match  
 No match  
1727      ()      ()
1728  No match  No match
 No match  
 No match  
1729    
1730  /\(  (?: (?>[^()]+) | (?R) )? \) /Ix  /\(  (?: (?>[^()]+) | (?R) )? \) /Ix
1731  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 Options: extended  
 First char = '('  
 Need char = ')'  
 Capturing subpattern count = 0  
 No match  
 Partial matching not supported  
 No match  
1732  Options: extended  Options: extended
 No match  
1733  First char = '('  First char = '('
 No match  
1734  Need char = ')'  Need char = ')'
 No match  
1735      ()      ()
1736   0: ()   0: ()
  0: ()  
  0: ()  
1737      12(abcde(fsh)xyz(foo(bar))lmno)89      12(abcde(fsh)xyz(foo(bar))lmno)89
1738   0: (fsh)   0: (fsh)
  0: (fsh)  
  0: (fsh)  
1739    
1740  /\(  ( (?>[^()]+) | (?R) )* \) /Ix  /\(  ( (?>[^()]+) | (?R) )* \) /Ix
1741  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
 Options: extended  
 First char = '('  
 Need char = ')'  
 Capturing subpattern count = 1  
 No match  
 Partial matching not supported  
 No match  
1742  Options: extended  Options: extended
 No match  
1743  First char = '('  First char = '('
 No match  
1744  Need char = ')'  Need char = ')'
 No match  
1745      (ab(xy)cd)      (ab(xy)cd)
1746   0: (ab(xy)cd)   0: (ab(xy)cd)
1747   1: cd   1: cd
  0: (ab(xy)cd)  
  0: (ab(xy)cd)  
  1: cd  
  1: cd  
 No match  
1748    
1749  /\( ( ( (?>[^()]+) | (?R) )* ) \) /Ix  /\( ( ( (?>[^()]+) | (?R) )* ) \) /Ix
1750  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
1751  Options: extended  Options: extended
1752  First char = '('  First char = '('
1753  Need char = ')'  Need char = ')'
 Capturing subpattern count = 2  
 No match  
 Partial matching not supported  
 No match  
 Options: extended  
 No match  
 First char = '('  
 No match  
 Need char = ')'  
 No match  
1754      (ab(xy)cd)      (ab(xy)cd)
1755   0: (ab(xy)cd)   0: (ab(xy)cd)
1756   1: ab(xy)cd   1: ab(xy)cd
1757   2: cd   2: cd
  0: (ab(xy)cd)  
  0: (ab(xy)cd)  
  1: ab(xy)cd  
  2: cd  
  1: ab(xy)cd  
  0: (xy)  
  1: xy  
  2: xy  
  2: cd  
 No match  
1758    
1759  /\( (123)? ( ( (?>[^()]+) | (?R) )* ) \) /Ix  /\( (123)? ( ( (?>[^()]+) | (?R) )* ) \) /Ix
1760  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
 Options: extended  
 First char = '('  
 Need char = ')'  
 Capturing subpattern count = 3  
 No match  
 Partial matching not supported  
 No match  
1761  Options: extended  Options: extended
 No match  
1762  First char = '('  First char = '('
 No match  
1763  Need char = ')'  Need char = ')'
 No match  
1764      (ab(xy)cd)      (ab(xy)cd)
1765   0: (ab(xy)cd)   0: (ab(xy)cd)
1766   1: <unset>   1: <unset>
1767   2: ab(xy)cd   2: ab(xy)cd
1768   3: cd   3: cd
  0: (ab(xy)cd)  
  0: (ab(xy)cd)  
  1: <unset>  
  2: ab(xy)cd  
  3: cd  
  1: <unset>  
 No match  
  2: ab(xy)cd  
  0: (xy)  
  1: <unset>  
  2: xy  
  3: xy  
  3: cd  
 No match  
1769      (123ab(xy)cd)      (123ab(xy)cd)
1770   0: (123ab(xy)cd)   0: (123ab(xy)cd)
1771   1: 123   1: 123
1772   2: ab(xy)cd   2: ab(xy)cd
1773   3: cd   3: cd
  0: (123ab(xy)cd)  
  0: (123ab(xy)cd)  
  1: 123  
  2: ab(xy)cd  
  3: cd  
  1: 123  
 No match  
  2: ab(xy)cd  
  0: (xy)  
  1: <unset>  
  2: xy  
  3: xy  
  3: cd  
 No match  
1774    
1775  /\( ( (123)? ( (?>[^()]+) | (?R) )* ) \) /Ix  /\( ( (123)? ( (?>[^()]+) | (?R) )* ) \) /Ix
1776  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
 Options: extended  
 First char = '('  
 Need char = ')'  
 Capturing subpattern count = 3  
 No match  
 Partial matching not supported  
 No match  
1777  Options: extended  Options: extended
 No match  
1778  First char = '('  First char = '('
 No match  
1779  Need char = ')'  Need char = ')'
 No match  
1780      (ab(xy)cd)      (ab(xy)cd)
1781   0: (ab(xy)cd)   0: (ab(xy)cd)
1782   1: ab(xy)cd   1: ab(xy)cd
1783   2: <unset>   2: <unset>
1784   3: cd   3: cd
  0: (ab(xy)cd)  
  0: (ab(xy)cd)  
  1: ab(xy)cd  
  2: <unset>  
  3: cd  
  1: ab(xy)cd  
  0: (xy)  
  1: xy  
  2: <unset>  
  3: xy  
  2: <unset>  
 No match  
  3: cd  
 No match  
1785      (123ab(xy)cd)      (123ab(xy)cd)
1786   0: (123ab(xy)cd)   0: (123ab(xy)cd)
1787   1: 123ab(xy)cd   1: 123ab(xy)cd
1788   2: 123   2: 123
1789   3: cd   3: cd
  0: (123ab(xy)cd)  
  0: (123ab(xy)cd)  
  1: 123ab(xy)cd  
  2: 123  
  3: cd  
  1: 123ab(xy)cd  
  0: (xy)  
  1: xy  
  2: <unset>  
  3: xy  
  2: 123  
 No match  
  3: cd  
 No match  
1790    
1791  /\( (((((((((( ( (?>[^()]+) | (?R) )* )))))))))) \) /Ix  /\( (((((((((( ( (?>[^()]+) | (?R) )* )))))))))) \) /Ix
1792  Capturing subpattern count = 11  Capturing subpattern count = 11
 Partial matching not supported  
 Options: extended  
 First char = '('  
 Need char = ')'  
 Capturing subpattern count = 11  
 No match  
 Partial matching not supported  
 No match  
1793  Options: extended  Options: extended
 No match  
1794  First char = '('  First char = '('
 No match  
1795  Need char = ')'  Need char = ')'
 No match  
1796      (ab(xy)cd)      (ab(xy)cd)
1797   0: (ab(xy)cd)   0: (ab(xy)cd)
1798   1: ab(xy)cd   1: ab(xy)cd
# Line 4333  No match Line 1806  No match
1806   9: ab(xy)cd   9: ab(xy)cd
1807  10: ab(xy)cd  10: ab(xy)cd
1808  11: cd  11: cd
  0: (ab(xy)cd)  
  0: (ab(xy)cd)  
  1: ab(xy)cd  
  2: ab(xy)cd  
  3: ab(xy)cd  
  4: ab(xy)cd  
  5: ab(xy)cd  
  6: ab(xy)cd  
  7: ab(xy)cd  
  8: ab(xy)cd  
  9: ab(xy)cd  
 10: ab(xy)cd  
 11: cd  
  1: ab(xy)cd  
  0: (xy)  
  1: xy  
  2: xy  
  3: xy  
  4: xy  
  5: xy  
  6: xy  
  7: xy  
  8: xy  
  9: xy  
 10: xy  
 11: xy  
  2: ab(xy)cd  
  0: (xy)  
  1: xy  
  2: xy  
  3: xy  
  4: xy  
  5: xy  
  6: xy  
  7: xy  
  8: xy  
  9: xy  
 10: xy  
 11: xy  
  3: ab(xy)cd  
  0: (xy)  
  1: xy  
  2: xy  
  3: xy  
  4: xy  
  5: xy  
  6: xy  
  7: xy  
  8: xy  
  9: xy  
 10: xy  
 11: xy  
  4: ab(xy)cd  
  0: (xy)  
  1: xy  
  2: xy  
  3: xy  
  4: xy  
  5: xy  
  6: xy  
  7: xy  
  8: xy  
  9: xy  
 10: xy  
 11: xy  
  5: ab(xy)cd  
  0: (xy)  
  1: xy  
  2: xy  
  3: xy  
  4: xy  
  5: xy  
  6: xy  
  7: xy  
  8: xy  
  9: xy  
 10: xy  
 11: xy  
  6: ab(xy)cd  
  0: (xy)  
  1: xy  
  2: xy  
  3: xy  
  4: xy  
  5: xy  
  6: xy  
  7: xy  
  8: xy  
  9: xy  
 10: xy  
 11: xy  
  7: ab(xy)cd  
  0: (xy)  
  1: xy  
  2: xy  
  3: xy  
  4: xy  
  5: xy  
  6: xy  
  7: xy  
  8: xy  
  9: xy  
 10: xy  
 11: xy  
  8: ab(xy)cd  
  0: (xy)  
  1: xy  
  2: xy  
  3: xy  
  4: xy  
  5: xy  
  6: xy  
  7: xy  
  8: xy  
  9: xy  
 10: xy  
 11: xy  
  9: ab(xy)cd  
  0: (xy)  
  1: xy  
  2: xy  
  3: xy  
  4: xy  
  5: xy  
  6: xy  
  7: xy  
  8: xy  
  9: xy  
 10: xy  
 11: xy  
 10: ab(xy)cd  
  0: (xy)  
  1: xy  
  2: xy  
  3: xy  
  4: xy  
  5: xy  
  6: xy  
  7: xy  
  8: xy  
  9: xy  
 10: xy  
 11: xy  
 11: cd  
 No match  
1809    
1810  /\( ( ( (?>[^()<>]+) | ((?>[^()]+)) | (?R) )* ) \) /Ix  /\( ( ( (?>[^()<>]+) | ((?>[^()]+)) | (?R) )* ) \) /Ix
1811  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
1812  Options: extended  Options: extended
1813  First char = '('  First char = '('
1814  Need char = ')'  Need char = ')'
 Capturing subpattern count = 3  
 No match  
 Partial matching not supported  
 No match  
 Options: extended  
 No match  
 First char = '('  
 No match  
 Need char = ')'  
 No match  
1815      (abcd(xyz<p>qrs)123)      (abcd(xyz<p>qrs)123)
1816   0: (abcd(xyz<p>qrs)123)   0: (abcd(xyz<p>qrs)123)
1817   1: abcd(xyz<p>qrs)123   1: abcd(xyz<p>qrs)123
1818   2: 123   2: 123
  3: <unset>  
  0: (abcd(xyz<p>qrs)123)  
  0: (abcd(xyz<p>qrs)123)  
  1: abcd(xyz<p>qrs)123  
  2: 123  
  3: <unset>  
  1: abcd(xyz<p>qrs)123  
  0: (xyz<p>qrs)  
  1: xyz<p>qrs  
  2: <p>qrs  
  3: <p>qrs  
  2: 123  
 No match  
  3: <unset>  
 No match  
1819    
1820  /\( ( ( (?>[^()]+) | ((?R)) )* ) \) /Ix  /\( ( ( (?>[^()]+) | ((?R)) )* ) \) /Ix
1821  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
 Options: extended  
 First char = '('  
 Need char = ')'  
 Capturing subpattern count = 3  
 No match  
 Partial matching not supported  
 No match  
1822  Options: extended  Options: extended
 No match  
1823  First char = '('  First char = '('
 No match  
1824  Need char = ')'  Need char = ')'
 No match  
1825      (ab(cd)ef)      (ab(cd)ef)
1826   0: (ab(cd)ef)   0: (ab(cd)ef)
1827   1: ab(cd)ef   1: ab(cd)ef
1828   2: ef   2: ef
1829   3: (cd)   3: (cd)
  0: (ab(cd)ef)  
  0: (ab(cd)ef)  
  1: ab(cd)ef  
  2: ef  
  3: (cd)  
  1: ab(cd)ef  
  0: (cd)  
  1: cd  
  2: cd  
  2: ef  
 No match  
  3: (cd)  
  0: (cd)  
  1: cd  
  2: cd  
1830      (ab(cd(ef)gh)ij)      (ab(cd(ef)gh)ij)
1831   0: (ab(cd(ef)gh)ij)   0: (ab(cd(ef)gh)ij)
1832   1: ab(cd(ef)gh)ij   1: ab(cd(ef)gh)ij
1833   2: ij   2: ij
1834   3: (cd(ef)gh)   3: (cd(ef)gh)
  0: (ab(cd(ef)gh)ij)  
  0: (ab(cd(ef)gh)ij)  
  1: ab(cd(ef)gh)ij  
  2: ij  
  3: (cd(ef)gh)  
  1: ab(cd(ef)gh)ij  
  0: (cd(ef)gh)  
  1: cd(ef)gh  
  2: gh  
  3: (ef)  
  2: ij  
 No match  
  3: (cd(ef)gh)  
  0: (cd(ef)gh)  
  1: cd(ef)gh  
  2: gh  
  3: (ef)  
1835    
1836  /^[[:alnum:]]/DZ  /^[[:alnum:]]/DZ
1837  ------------------------------------------------------------------  ------------------------------------------------------------------
1838          Bra 0          Bra
1839          ^          ^
1840          [0-9A-Za-z]          [0-9A-Za-z]
1841          Ket          Ket
# Line 4586  Capturing subpattern count = 0 Line 1845  Capturing subpattern count = 0
1845  Options: anchored  Options: anchored
1846  No first char  No first char
1847  No need char  No need char
1848    
1849    /^[[:^alnum:]]/DZ
1850  ------------------------------------------------------------------  ------------------------------------------------------------------
1851  No match          Bra
         Bra 0  
  0: B  
1852          ^          ^
1853  No match          [\x00-/:-@[-`{-\xff] (neg)
         [0-9A-Za-z]  
 No match  
1854          Ket          Ket
  0: K  
1855          End          End
  0: E  
1856  ------------------------------------------------------------------  ------------------------------------------------------------------
 No match  
1857  Capturing subpattern count = 0  Capturing subpattern count = 0
  0: C  
1858  Options: anchored  Options: anchored
  0: O  
1859  No first char  No first char
  0: N  
1860  No need char  No need char
  0: N  
1861    
1862  /^[[:^alnum:]]/DZ  /^[[:alpha:]]/DZ
1863  ------------------------------------------------------------------  ------------------------------------------------------------------
1864          Bra 0          Bra
1865          ^          ^
1866          [\x00-/:-@[-`{-\xff]          [A-Za-z]
1867          Ket          Ket
1868          End          End
1869  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 4621  Capturing subpattern count = 0 Line 1871  Capturing subpattern count = 0
1871  Options: anchored  Options: anchored
1872  No first char  No first char
1873  No need char  No need char
1874    
1875    /^[[:^alpha:]]/DZ
1876  ------------------------------------------------------------------  ------------------------------------------------------------------
1877   0: -          Bra
         Bra 0  
 No match  
1878          ^          ^
1879   0: ^          [\x00-@[-`{-\xff] (neg)
         [\x00-/:-@[-`{-\xff]  
  0: [  
1880          Ket          Ket
 No match  
1881          End          End
 No match  
1882  ------------------------------------------------------------------  ------------------------------------------------------------------
  0: -  
1883  Capturing subpattern count = 0  Capturing subpattern count = 0
 No match  
1884  Options: anchored  Options: anchored
 No match  
1885  No first char  No first char
 No match  
1886  No need char  No need char
 No match  
1887    
1888  /^[[:alpha:]]/DZ  /[_[:alpha:]]/IS
1889    Capturing subpattern count = 0
1890    No options
1891    No first char
1892    No need char
1893    Starting byte set: 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 Z
1894      _ 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 z
1895    
1896    /^[[:ascii:]]/DZ
1897  ------------------------------------------------------------------  ------------------------------------------------------------------
1898          Bra 0          Bra
1899          ^          ^
1900          [A-Za-z]          [\x00-\x7f]
1901          Ket          Ket
1902          End          End
1903  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 4656  Capturing subpattern count = 0 Line 1905  Capturing subpattern count = 0
1905  Options: anchored  Options: anchored
1906  No first char  No first char
1907  No need char  No need char
1908    
1909    /^[[:^ascii:]]/DZ
1910  ------------------------------------------------------------------  ------------------------------------------------------------------
1911  No match          Bra
         Bra 0  
  0: B  
1912          ^          ^
1913  No match          [\x80-\xff] (neg)
         [A-Za-z]  
 No match  
1914          Ket          Ket
  0: K  
1915          End          End
  0: E  
1916  ------------------------------------------------------------------  ------------------------------------------------------------------
 No match  
1917  Capturing subpattern count = 0  Capturing subpattern count = 0
  0: C  
1918  Options: anchored  Options: anchored
  0: O  
1919  No first char  No first char
  0: N  
1920  No need char  No need char
  0: N  
1921    
1922  /^[[:^alpha:]]/DZ  /^[[:blank:]]/DZ
1923  ------------------------------------------------------------------  ------------------------------------------------------------------
1924          Bra 0          Bra
1925          ^          ^
1926          [\x00-@[-`{-\xff]          [\x09 ]
1927          Ket          Ket
1928          End          End
1929  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 4691  Capturing subpattern count = 0 Line 1931  Capturing subpattern count = 0
1931  Options: anchored  Options: anchored
1932  No first char  No first char
1933  No need char  No need char
1934    
1935    /^[[:^blank:]]/DZ
1936  ------------------------------------------------------------------  ------------------------------------------------------------------
1937   0: -          Bra
         Bra 0  
 No match  
1938          ^          ^
1939   0: ^          [\x00-\x08\x0a-\x1f!-\xff] (neg)
         [\x00-@[-`{-\xff]  
  0: [  
1940          Ket          Ket
 No match  
1941          End          End
 No match  
1942  ------------------------------------------------------------------  ------------------------------------------------------------------
  0: -  
1943  Capturing subpattern count = 0  Capturing subpattern count = 0
 No match  
1944  Options: anchored  Options: anchored
 No match  
1945  No first char  No first char
 No match  
1946  No need char  No need char
 No match  
1947    
1948  /[_[:alpha:]]/IS  /[\n\x0b\x0c\x0d[:blank:]]/IS
 Capturing subpattern count = 0  
 No options  
 No first char  
 No need char  
 Starting byte set: 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 Z  
   _ 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 z  
1949  Capturing subpattern count = 0  Capturing subpattern count = 0
1950   0: C  Contains explicit CR or LF match
1951  No options  No options
  0: N  
1952  No first char  No first char
  0: N  
1953  No need char  No need char
1954   0: N  Starting byte set: \x09 \x0a \x0b \x0c \x0d \x20
 Starting byte set: 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 Z  
  0: S  
   _ 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 z  
  0: _  
1955    
1956  /^[[:ascii:]]/DZ  /^[[:cntrl:]]/DZ
1957  ------------------------------------------------------------------  ------------------------------------------------------------------
1958          Bra 0          Bra
1959          ^          ^
1960          [\x00-\x7f]          [\x00-\x1f\x7f]
1961          Ket          Ket
1962          End          End
1963  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 4746  Capturing subpattern count = 0 Line 1965  Capturing subpattern count = 0
1965  Options: anchored  Options: anchored
1966  No first char  No first char
1967  No need char  No need char
1968    
1969    /^[[:digit:]]/DZ
1970  ------------------------------------------------------------------  ------------------------------------------------------------------
1971   0: -          Bra
         Bra 0  
  0: B  
1972          ^          ^
1973   0: ^          [0-9]
         [\x00-\x7f]  
  0: [  
1974          Ket          Ket
  0: K  
1975          End          End
  0: E  
1976  ------------------------------------------------------------------  ------------------------------------------------------------------
  0: -  
1977  Capturing subpattern count = 0  Capturing subpattern count = 0
  0: C  
1978  Options: anchored  Options: anchored
  0: O  
1979  No first char  No first char
  0: N  
1980  No need char  No need char
  0: N  
1981    
1982  /^[[:^ascii:]]/DZ  /^[[:graph:]]/DZ
1983  ------------------------------------------------------------------  ------------------------------------------------------------------
1984          Bra 0          Bra
1985          ^          ^
1986          [\x80-\xff]          [!-~]
1987          Ket          Ket
1988          End          End
1989  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 4781  Capturing subpattern count = 0 Line 1991  Capturing subpattern count = 0
1991  Options: anchored  Options: anchored
1992  No first char  No first char
1993  No need char  No need char
1994    
1995    /^[[:lower:]]/DZ
1996  ------------------------------------------------------------------  ------------------------------------------------------------------
1997  No match          Bra
         Bra 0  
 No match  
1998          ^          ^
1999  No match          [a-z]
         [\x80-\xff]  
 No match  
2000          Ket          Ket
 No match  
2001          End          End
 No match  
2002  ------------------------------------------------------------------  ------------------------------------------------------------------
 No match  
2003  Capturing subpattern count = 0  Capturing subpattern count = 0
 No match  
2004  Options: anchored  Options: anchored
 No match  
2005  No first char  No first char
 No match  
2006  No need char  No need char
 No match  
2007    
2008  /^[[:blank:]]/DZ  /^[[:print:]]/DZ
2009  ------------------------------------------------------------------  ------------------------------------------------------------------
2010          Bra 0          Bra
2011          ^          ^
2012          [\x09 ]          [ -~]
2013          Ket          Ket
2014          End          End
2015  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 4816  Capturing subpattern count = 0 Line 2017  Capturing subpattern count = 0
2017  Options: anchored  Options: anchored
2018  No first char  No first char
2019  No need char  No need char
2020    
2021    /^[[:punct:]]/DZ
2022  ------------------------------------------------------------------  ------------------------------------------------------------------
2023  No match          Bra
         Bra 0  
 No match  
2024          ^          ^
2025  No match          [!-/:-@[-`{-~]
         [\x09 ]  
 No match  
2026          Ket          Ket
 No match  
2027          End          End
 No match  
2028  ------------------------------------------------------------------  ------------------------------------------------------------------
 No match  
2029  Capturing subpattern count = 0  Capturing subpattern count = 0
 No match  
2030  Options: anchored  Options: anchored
 No match  
2031  No first char  No first char
 No match  
2032  No need char  No need char
 No match  
2033    
2034  /^[[:^blank:]]/DZ  /^[[:space:]]/DZ
2035  ------------------------------------------------------------------  ------------------------------------------------------------------
2036          Bra 0          Bra
2037          ^          ^
2038          [\x00-\x08\x0a-\x1f!-\xff]          [\x09-\x0d ]
2039          Ket          Ket
2040          End          End
2041  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 4851  Capturing subpattern count = 0 Line 2043  Capturing subpattern count = 0
2043  Options: anchored  Options: anchored
2044  No first char  No first char
2045  No need char  No need char
2046    
2047    /^[[:upper:]]/DZ
2048  ------------------------------------------------------------------  ------------------------------------------------------------------
2049   0: -          Bra
         Bra 0  
  0: B  
2050          ^          ^
2051   0: ^          [A-Z]
         [\x00-\x08\x0a-\x1f!-\xff]  
  0: [  
2052          Ket          Ket
  0: K  
2053          End          End
  0: E  
2054  ------------------------------------------------------------------  ------------------------------------------------------------------
  0: -  
2055  Capturing subpattern count = 0  Capturing subpattern count = 0
  0: C  
2056  Options: anchored  Options: anchored
  0: O  
 No first char  
  0: N  
 No need char  
  0: N  
   
 /[\n\x0b\x0c\x0d[:blank:]]/IS  
 Capturing subpattern count = 0  
 No options  
 No first char  
 No need char  
 Starting byte set: \x09 \x0a \x0b \x0c \x0d \x20  
 Capturing subpattern count = 0  
  0:  
 No options  
  0:  
2057  No first char  No first char
  0:  
2058  No need char  No need char
  0:  
 Starting byte set: \x09 \x0a \x0b \x0c \x0d \x20  
  0:  
2059    
2060  /^[[:cntrl:]]/DZ  /^[[:xdigit:]]/DZ
2061  ------------------------------------------------------------------  ------------------------------------------------------------------
2062          Bra 0          Bra
2063          ^          ^
2064          [\x00-\x1f\x7f]          [0-9A-Fa-f]
2065          Ket          Ket
2066          End          End
2067  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 4903  Capturing subpattern count = 0 Line 2069  Capturing subpattern count = 0
2069  Options: anchored  Options: anchored
2070  No first char  No first char
2071  No need char  No need char
2072    
2073    /^[[:word:]]/DZ
2074  ------------------------------------------------------------------  ------------------------------------------------------------------
2075  No match          Bra
         Bra 0  
 No match  
2076          ^          ^
2077  No match          [0-9A-Z_a-z]
         [\x00-\x1f\x7f]  
 No match  
2078          Ket          Ket
 No match  
2079          End          End
 No match  
2080  ------------------------------------------------------------------  ------------------------------------------------------------------
 No match  
2081  Capturing subpattern count = 0  Capturing subpattern count = 0
 No match  
2082  Options: anchored  Options: anchored
 No match  
2083  No first char  No first char
 No match  
2084  No need char  No need char
 No match  
2085    
2086  /^[[:digit:]]/DZ  /^[[:^cntrl:]]/DZ
2087  ------------------------------------------------------------------  ------------------------------------------------------------------
2088          Bra 0          Bra
2089          ^          ^
2090          [0-9]          [ -~\x80-\xff] (neg)
2091          Ket          Ket
2092          End          End
2093  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 4938  Capturing subpattern count = 0 Line 2095  Capturing subpattern count = 0
2095  Options: anchored  Options: anchored
2096  No first char  No first char
2097  No need char  No need char
2098    
2099    /^[12[:^digit:]]/DZ
2100  ------------------------------------------------------------------  ------------------------------------------------------------------
2101  No match          Bra
         Bra 0  
 No match  
2102          ^          ^
2103  No match          [\x00-/12:-\xff] (neg)
         [0-9]  
 No match  
2104          Ket          Ket
 No match  
2105          End          End
 No match  
2106  ------------------------------------------------------------------  ------------------------------------------------------------------
 No match  
2107  Capturing subpattern count = 0  Capturing subpattern count = 0
 No match  
2108  Options: anchored  Options: anchored
 No match  
2109  No first char  No first char
 No match  
2110  No need char  No need char
 No match  
2111    
2112  /^[[:graph:]]/DZ  /^[[:^blank:]]/DZ
2113  ------------------------------------------------------------------  ------------------------------------------------------------------
2114          Bra 0          Bra
2115          ^          ^
2116          [!-~]          [\x00-\x08\x0a-\x1f!-\xff] (neg)
2117          Ket          Ket
2118          End          End
2119  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 4973  Capturing subpattern count = 0 Line 2121  Capturing subpattern count = 0
2121  Options: anchored  Options: anchored
2122  No first char  No first char
2123  No need char  No need char
2124    
2125    /[01[:alpha:]%]/DZ
2126  ------------------------------------------------------------------  ------------------------------------------------------------------
2127   0: -          Bra
2128          Bra 0          [%01A-Za-z]
  0: B  
         ^  
  0: ^  
         [!-~]  
  0: [  
2129          Ket          Ket
  0: K  
2130          End          End
  0: E  
2131  ------------------------------------------------------------------  ------------------------------------------------------------------
  0: -  
2132  Capturing subpattern count = 0  Capturing subpattern count = 0
2133   0: C  No options
 Options: anchored  
  0: O  
2134  No first char  No first char
  0: N  
2135  No need char  No need char
  0: N  
2136    
2137  /^[[:lower:]]/DZ  /[[.ch.]]/I
2138  ------------------------------------------------------------------  Failed: POSIX collating elements are not supported at offset 1
2139          Bra 0  
2140          ^  /[[=ch=]]/I
2141          [a-z]  Failed: POSIX collating elements are not supported at offset 1
2142          Ket  
2143          End  /[[:rhubarb:]]/I
2144  ------------------------------------------------------------------  Failed: unknown POSIX class name at offset 3
2145    
2146    /[[:upper:]]/Ii
2147  Capturing subpattern count = 0  Capturing subpattern count = 0
2148  Options: anchored  Options: caseless
2149  No first char  No first char
2150  No need char  No need char
2151  ------------------------------------------------------------------      A
2152  No match   0: A
2153          Bra 0      a
2154  No match   0: a
         ^  
 No match  
         [a-z]  
 No match  
         Ket  
 No match  
         End  
 No match  
 ------------------------------------------------------------------  
 No match  
 Capturing subpattern count = 0  
 No match  
 Options: anchored  
 No match  
 No first char  
 No match  
 No need char  
 No match  
   
 /^[[:print:]]/DZ  
 ------------------------------------------------------------------  
         Bra 0  
         ^  
         [ -~]  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: anchored  
 No first char  
 No need char  
 ------------------------------------------------------------------  
  0: -  
         Bra 0  
  0: B  
         ^  
  0: ^  
         [ -~]  
  0: [  
         Ket  
  0: K  
         End  
  0: E  
 ------------------------------------------------------------------  
  0: -  
 Capturing subpattern count = 0  
  0: C  
 Options: anchored  
  0: O  
 No first char  
  0: N  
 No need char  
  0: N  
   
 /^[[:punct:]]/DZ  
 ------------------------------------------------------------------  
         Bra 0  
         ^  
         [!-/:-@[-`{-~]  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: anchored  
 No first char  
 No need char  
 ------------------------------------------------------------------  
  0: -  
         Bra 0  
 No match  
         ^  
  0: ^  
         [!-/:-@[-`{-~]  
  0: [  
         Ket  
 No match  
         End  
 No match  
 ------------------------------------------------------------------  
  0: -  
 Capturing subpattern count = 0  
 No match  
 Options: anchored  
 No match  
 No first char  
 No match  
 No need char  
 No match  
2155    
2156  /^[[:space:]]/DZ  /[[:lower:]]/Ii
 ------------------------------------------------------------------  
         Bra 0  
         ^  
         [\x09-\x0d ]  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: anchored  
 No first char  
 No need char  
 ------------------------------------------------------------------  
 No match  
         Bra 0  
 No match  
         ^  
 No match  
         [\x09-\x0d ]  
 No match  
         Ket  
 No match  
         End  
 No match  
 ------------------------------------------------------------------  
 No match  
2157  Capturing subpattern count = 0  Capturing subpattern count = 0
2158  No match  Options: caseless
 Options: anchored  
 No match  
2159  No first char  No first char
 No match  
2160  No need char  No need char
2161  No match      A
2162     0: A
2163        a
2164     0: a
2165    
2166  /^[[:upper:]]/DZ  /((?-i)[[:lower:]])[[:lower:]]/Ii
2167  ------------------------------------------------------------------  Capturing subpattern count = 1
2168          Bra 0  Options: caseless
         ^  
         [A-Z]  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: anchored  
2169  No first char  No first char
2170  No need char  No need char
2171  ------------------------------------------------------------------      ab
2172  No match   0: ab
2173          Bra 0   1: a
2174   0: B      aB
2175          ^   0: aB
2176  No match   1: a
2177          [A-Z]      *** Failers
2178     0: ai
2179     1: a
2180        Ab
2181  No match  No match
2182          Ket      AB
  0: K  
         End  
  0: E  
 ------------------------------------------------------------------  
2183  No match  No match
 Capturing subpattern count = 0  
  0: C  
 Options: anchored  
  0: O  
 No first char  
  0: N  
 No need char  
  0: N  
2184    
2185  /^[[:xdigit:]]/DZ  /[\200-\110]/I
2186  ------------------------------------------------------------------  Failed: range out of order in character class at offset 9
         Bra 0  
         ^  
         [0-9A-Fa-f]  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: anchored  
 No first char  
 No need char  
 ------------------------------------------------------------------  
 No match  
         Bra 0  
  0: B  
         ^  
 No match  
         [0-9A-Fa-f]  
 No match  
         Ket  
 No match  
         End  
  0: E  
 ------------------------------------------------------------------  
 No match  
 Capturing subpattern count = 0  
  0: C  
 Options: anchored  
 No match  
 No first char  
 No match  
 No need char  
 No match  
2187    
2188  /^[[:word:]]/DZ  /^(?(0)f|b)oo/I
2189  ------------------------------------------------------------------  Failed: invalid condition (?(0) at offset 6
         Bra 0  
         ^  
         [0-9A-Z_a-z]  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: anchored  
 No first char  
 No need char  
 ------------------------------------------------------------------  
 No match  
         Bra 0  
  0: B  
         ^  
 No match  
         [0-9A-Z_a-z]  
 No match  
         Ket  
  0: K  
         End  
  0: E  
 ------------------------------------------------------------------  
 No match  
 Capturing subpattern count = 0  
  0: C  
 Options: anchored  
  0: O  
 No first char  
  0: N  
 No need char  
  0: N  
2190    
2191  /^[[:^cntrl:]]/DZ  /This one's here because of the large output vector needed/I
 ------------------------------------------------------------------  
         Bra 0  
         ^  
         [ -~\x80-\xff]  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: anchored  
 No first char  
 No need char  
 ------------------------------------------------------------------  
  0: -  
         Bra 0  
  0: B  
         ^  
  0: ^  
         [ -~\x80-\xff]  
  0: [  
         Ket  
  0: K  
         End  
  0: E  
 ------------------------------------------------------------------  
  0: -  
2192  Capturing subpattern count = 0  Capturing subpattern count = 0
2193   0: C  No options
2194  Options: anchored  First char = 'T'
2195   0: O  Need char = 'd'
 No first char  
  0: N  
 No need char  
  0: N  
2196    
2197  /^[12[:^digit:]]/DZ  /(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\w+)\s+(\270)/I
2198  ------------------------------------------------------------------  Capturing subpattern count = 271
2199          Bra 0  Max back reference = 270
2200          ^  No options
         [\x00-/12:-\xff]  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: anchored  
 No first char  
 No need char  
 ------------------------------------------------------------------  
  0: -  
         Bra 0  
  0: B  
         ^  
  0: ^  
         [\x00-/12:-\xff]  
  0: [  
         Ket  
  0: K  
         End  
  0: E  
 ------------------------------------------------------------------  
  0: -  
 Capturing subpattern count = 0  
  0: C  
 Options: anchored  
  0: O  
2201  No first char  No first char
  0: N  
2202  No need char  No need char
  0: N  
   
 /^[[:^blank:]]/DZ  
 ------------------------------------------------------------------  
         Bra 0  
         ^  
         [\x00-\x08\x0a-\x1f!-\xff]  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: anchored  
 No first char  
 No need char  
 ------------------------------------------------------------------  
  0: -  
         Bra 0  
  0: B  
         ^  
  0: ^  
         [\x00-\x08\x0a-\x1f!-\xff]  
  0: [  
         Ket  
  0: K  
         End  
  0: E  
 ------------------------------------------------------------------  
  0: -  
 Capturing subpattern count = 0  
  0: C  
 Options: anchored  
  0: O  
 No first char  
  0: N  
 No need char  
  0: N  
   
 /[01[:alpha:]%]/DZ  
 ------------------------------------------------------------------  
         Bra 0  
         [%01A-Za-z]  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 No options  
 No first char  
 No need char  
 ------------------------------------------------------------------  
 No match  
         Bra 0  
  0: B  
         [%01A-Za-z]  
  0: %  
         Ket  
  0: K  
         End  
  0: E  
 ------------------------------------------------------------------  
 No match  
 Capturing subpattern count = 0  
  0: C  
 No options  
  0: N  
 No first char  
  0: N  
 No need char  
  0: N  
   
 /[[.ch.]]/I  
 Failed: POSIX collating elements are not supported at offset 1  
   
 /[[=ch=]]/I  
 Failed: POSIX collating elements are not supported at offset 1  
   
 /[[:rhubarb:]]/I  
 Failed: unknown POSIX class name at offset 3  
   
 /[[:upper:]]/Ii  
 Capturing subpattern count = 0  
 Options: caseless  
 No first char  
 No need char  
 Capturing subpattern count = 0  
  0: C  
 Options: caseless  
  0: O  
 No first char  
  0: N  
 No need char  
  0: N  
     A  
  0: A  
  0: A  
  0: A  
     a  
  0: a  
  0: a  
  0: a  
   
 /[[:lower:]]/Ii  
 Capturing subpattern count = 0  
 Options: caseless  
 No first char  
 No need char  
 Capturing subpattern count = 0  
  0: C  
 Options: caseless  
  0: O  
 No first char  
  0: N  
 No need char  
  0: N  
     A  
  0: A  
  0: A  
  0: A  
     a  
  0: a  
  0: a  
  0: a  
   
 /((?-i)[[:lower:]])[[:lower:]]/Ii  
 Capturing subpattern count = 1  
 Options: caseless  
 No first char  
 No need char  
 Capturing subpattern count = 1  
  0: ap  
  1: a  
 Options: caseless  
  0: pt  
  1: p  
 No first char  
  0: fi  
  1: f  
 No need char  
  0: ne  
  1: n  
     ab  
  0: ab  
  1: a  
  0: ab  
  0: ab  
  1: a  
  1: a  
 No match  
     aB  
  0: aB  
  1: a  
  0: aB  
  0: aB  
  1: a  
  1: a  
 No match  
     *** Failers  
  0: ai  
  1: a  
  0: ai  
  0: ai  
  1: a  
  1: a  
 No match  
     Ab  
 No match  
 No match  
  0: ma  
  1: m  
     AB  
 No match  
 No match  
  0: ma  
  1: m  
   
 /[\200-\110]/I  
 Failed: range out of order in character class at offset 9  
   
 /^(?(0)f|b)oo/I  
 Failed: invalid condition (?(0) at offset 6  
   
 /This one's here because of the large output vector needed/I  
 Capturing subpattern count = 0  
 No options  
 First char = 'T'  
 Need char = 'd'  
 Capturing subpattern count = 0  
 No match  
 No options  
 No match  
 First char = 'T'  
 No match  
 Need char = 'd'  
 No match  
   
 /(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\w+)\s+(\270)/I  
 Capturing subpattern count = 271  
 Max back reference = 270  
 Partial matching not supported  
 No options  
 No first char  
 No need char  
 Capturing subpattern count = 271  
 No match  
 Max back reference = 270  
 No match  
 Partial matching not supported  
 No match  
 No options  
 No match  
 No first char  
 No match  
 No need char  
 No match  
2203      \O900 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 ABC ABC      \O900 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 ABC ABC
2204   0: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 ABC ABC   0: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 ABC ABC
2205   1: 1   1: 1
# Line 5795  No match Line 2473  No match
2473  269: 269  269: 269
2474  270: ABC  270: ABC
2475  271: ABC  271: ABC
2476   0: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 ABC ABC  
2477  Matched, but too many substrings  /This one's here because Perl does this differently and PCRE can't at present/I
2478   0: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 ABC ABC  Capturing subpattern count = 0
2479   1: 1  No options
2480   2: 2  First char = 'T'
2481   3: 3  Need char = 't'
2482   4: 4  
2483   5: 5  /(main(O)?)+/I
2484   6: 6  Capturing subpattern count = 2
2485   7: 7  No options
2486   8: 8  First char = 'm'
2487   9: 9  Need char = 'n'
2488  10: 10      mainmain
2489  11: 11   0: mainmain
2490  12: 12   1: main
2491  13: 13      mainOmain
2492  14: 14   0: mainOmain
2493   1: 1   1: main
2494  No match   2: O
2495   2: 2  
2496  No match  /These are all cases where Perl does it differently (nested captures)/I
2497   3: 3  Capturing subpattern count = 1
2498  No match  No options
2499   4: 4  First char = 'T'
2500  No match  Need char = 's'
2501   5: 5  
2502  No match  /^(a(b)?)+$/I
2503   6: 6  Capturing subpattern count = 2
2504  No match  Options: anchored
2505   7: 7  No first char
2506  No match  No need char
2507   8: 8      aba
2508  No match   0: aba
2509   9: 9   1: a
2510  No match   2: b
2511  10: 10  
2512  No match  /^(aa(bb)?)+$/I
2513  11: 11  Capturing subpattern count = 2
2514  No match  Options: anchored
2515  12: 12  No first char
2516  No match  No need char
2517  13: 13      aabbaa
2518  No match   0: aabbaa
2519  14: 14   1: aa
2520  No match   2: bb
2521  15: 15  
2522  No match  /^(aa|aa(bb))+$/I
2523  16: 16  Capturing subpattern count = 2
2524  No match  Options: anchored
2525  17: 17  No first char
2526  No match  No need char
2527  18: 18      aabbaa
2528  No match   0: aabbaa
2529  19: 19   1: aa
2530  No match   2: bb
2531  20: 20  
2532  No match  /^(aa(bb)??)+$/I
2533  21: 21  Capturing subpattern count = 2
2534  No match  Options: anchored
2535  22: 22  No first char
2536  No match  No need char
2537  23: 23      aabbaa
2538  No match   0: aabbaa
2539  24: 24   1: aa
2540  No match   2: bb
2541  25: 25  
2542  No match  /^(?:aa(bb)?)+$/I
2543  26: 26  Capturing subpattern count = 1
2544  No match  Options: anchored
2545  27: 27  No first char
2546  No match  No need char
2547  28: 28      aabbaa
2548  No match   0: aabbaa
2549  29: 29   1: bb
2550  No match  
2551  30: 30  /^(aa(b(b))?)+$/I
2552  No match  Capturing subpattern count = 3
2553  31: 31  Options: anchored
2554  No match  No first char
2555  32: 32  No need char
2556  No match      aabbaa
2557  33: 33   0: aabbaa
2558  No match   1: aa
2559  34: 34   2: bb
2560  No match   3: b
2561  35: 35  
2562  No match  /^(?:aa(b(b))?)+$/I
2563  36: 36  Capturing subpattern count = 2
2564  No match  Options: anchored
2565  37: 37  No first char
2566  No match  No need char
2567  38: 38      aabbaa
2568  No match   0: aabbaa
2569  39: 39   1: bb
2570  No match   2: b
2571  40: 40  
2572    /^(?:aa(b(?:b))?)+$/I
2573    Capturing subpattern count = 1
2574    Options: anchored
2575    No first char
2576    No need char
2577        aabbaa
2578     0: aabbaa
2579     1: bb
2580    
2581    /^(?:aa(bb(?:b))?)+$/I
2582    Capturing subpattern count = 1
2583    Options: anchored
2584    No first char
2585    No need char
2586        aabbbaa
2587     0: aabbbaa
2588     1: bbb
2589    
2590    /^(?:aa(b(?:bb))?)+$/I
2591    Capturing subpattern count = 1
2592    Options: anchored
2593    No first char
2594    No need char
2595        aabbbaa
2596     0: aabbbaa
2597     1: bbb
2598    
2599    /^(?:aa(?:b(b))?)+$/I
2600    Capturing subpattern count = 1
2601    Options: anchored
2602    No first char
2603    No need char
2604        aabbaa
2605     0: aabbaa
2606     1: b
2607    
2608    /^(?:aa(?:b(bb))?)+$/I
2609    Capturing subpattern count = 1
2610    Options: anchored
2611    No first char
2612    No need char
2613        aabbbaa
2614     0: aabbbaa
2615     1: bb
2616    
2617    /^(aa(b(bb))?)+$/I
2618    Capturing subpattern count = 3
2619    Options: anchored
2620    No first char
2621    No need char
2622        aabbbaa
2623     0: aabbbaa
2624     1: aa
2625     2: bbb
2626     3: bb
2627    
2628    /^(aa(bb(bb))?)+$/I
2629    Capturing subpattern count = 3
2630    Options: anchored
2631    No first char
2632    No need char
2633        aabbbbaa
2634     0: aabbbbaa
2635     1: aa
2636     2: bbbb
2637     3: bb
2638    
2639    /--------------------------------------------------------------------/I
2640    Capturing subpattern count = 0
2641    No options
2642    First char = '-'
2643    Need char = '-'
2644    
2645    /#/IxDZ
2646    ------------------------------------------------------------------
2647            Bra
2648            Ket
2649            End
2650    ------------------------------------------------------------------