/[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 227 by ph10, Tue Aug 21 15:00:15 2007 UTC revision 621 by ph10, Mon Jul 18 10:14:09 2011 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 a possible Perl
6        bug. --/
7    
8    /-- Originally, the Perl >= 5.10 things were in here too, but now I have
9        separated many (most?) of them out into test 11. However, there may still
10        be some 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
# Line 40  No match Line 51  No match
51    
52  /a+bc/I  /a+bc/I
53  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
54  No options  No options
55  First char = 'a'  First char = 'a'
56  Need char = 'c'  Need char = 'c'
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'
63    
64  /a{3}bc/I  /a{3}bc/I
65  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
66  No options  No options
67  First char = 'a'  First char = 'a'
68  Need char = 'c'  Need char = 'c'
69    
70  /(abc|a+z)/I  /(abc|a+z)/I
71  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
72  No options  No options
73  First char = 'a'  First char = 'a'
74  No need char  No need char
# Line 96  Failed: missing terminating ] for charac Line 103  Failed: missing terminating ] for charac
103  /(?X)[\B]/  /(?X)[\B]/
104  Failed: invalid escape sequence in character class at offset 6  Failed: invalid escape sequence in character class at offset 6
105    
106    /(?X)[\R]/
107    Failed: invalid escape sequence in character class at offset 6
108    
109    /(?X)[\X]/
110    Failed: invalid escape sequence in character class at offset 6
111    
112    /[\B]/BZ
113    ------------------------------------------------------------------
114            Bra
115            B
116            Ket
117            End
118    ------------------------------------------------------------------
119    
120    /[\R]/BZ
121    ------------------------------------------------------------------
122            Bra
123            R
124            Ket
125            End
126    ------------------------------------------------------------------
127    
128    /[\X]/BZ
129    ------------------------------------------------------------------
130            Bra
131            X
132            Ket
133            End
134    ------------------------------------------------------------------
135    
136  /[z-a]/  /[z-a]/
137  Failed: range out of order in character class at offset 3  Failed: range out of order in character class at offset 3
138    
# Line 109  Failed: missing ) at offset 4 Line 146  Failed: missing ) at offset 4
146  Failed: missing ) after comment at offset 7  Failed: missing ) after comment at offset 7
147    
148  /(?z)abc/  /(?z)abc/
149  Failed: unrecognized character after (? at offset 2  Failed: unrecognized character after (? or (?- at offset 2
150    
151  /.*b/I  /.*b/I
152  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
153  No options  No options
154  First char at start or follows newline  First char at start or follows newline
155  Need char = 'b'  Need char = 'b'
156    
157  /.*?b/I  /.*?b/I
158  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
159  No options  No options
160  First char at start or follows newline  First char at start or follows newline
161  Need char = 'b'  Need char = 'b'
# Line 140  Capturing subpattern count = 0 Line 175  Capturing subpattern count = 0
175  No options  No options
176  No first char  No first char
177  No need char  No need char
178    Subject length lower bound = 3
179  Starting byte set: c d e  Starting byte set: c d e
180      this sentence eventually mentions a cat      this sentence eventually mentions a cat
181   0: cat   0: cat
# Line 151  Capturing subpattern count = 0 Line 187  Capturing subpattern count = 0
187  Options: caseless  Options: caseless
188  No first char  No first char
189  No need char  No need char
190    Subject length lower bound = 3
191  Starting byte set: C D E c d e  Starting byte set: C D E c d e
192      this sentence eventually mentions a CAT cat      this sentence eventually mentions a CAT cat
193   0: CAT   0: CAT
# Line 162  Capturing subpattern count = 0 Line 199  Capturing subpattern count = 0
199  No options  No options
200  No first char  No first char
201  No need char  No need char
202    Subject length lower bound = 1
203  Starting byte set: a b c d  Starting byte set: a b c d
204    
205  /(a|[^\dZ])/IS  /(a|[^\dZ])/IS
206  Capturing subpattern count = 1  Capturing subpattern count = 1
 Contains explicit CR or LF match  
207  No options  No options
208  No first char  No first char
209  No need char  No need char
210    Subject length lower bound = 1
211  Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a  Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
212    \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19    \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19
213    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / : ; < = >    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / : ; < = >
# Line 190  Capturing subpattern count = 1 Line 228  Capturing subpattern count = 1
228  No options  No options
229  No first char  No first char
230  No need char  No need char
231    Subject length lower bound = 1
232  Starting byte set: \x09 \x0a \x0c \x0d \x20 a b  Starting byte set: \x09 \x0a \x0c \x0d \x20 a b
233    
234  /(ab\2)/  /(ab\2)/
# Line 311  No match Line 350  No match
350  No match  No match
351    
352  /ab(?z)cd/  /ab(?z)cd/
353  Failed: unrecognized character after (? at offset 4  Failed: unrecognized character after (? or (?- at offset 4
354    
355  /^abc|def/I  /^abc|def/I
356  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 325  No need char Line 364  No need char
364    
365  /.*((abc)$|(def))/I  /.*((abc)$|(def))/I
366  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
367  No options  No options
368  First char at start or follows newline  First char at start or follows newline
369  No need char  No need char
# Line 339  No need char Line 377  No need char
377   2: <unset>   2: <unset>
378   3: def   3: def
379    
380  /abc/IP  /abc/P
381      abc      abc
382   0: abc   0: abc
383      *** Failers      *** Failers
384  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
385    
386  /^abc|def/IP  /^abc|def/P
387      abcdef      abcdef
388   0: abc   0: abc
389      abcdef\B      abcdef\B
390   0: def   0: def
391    
392  /.*((abc)$|(def))/IP  /.*((abc)$|(def))/P
393      defabc      defabc
394   0: defabc   0: defabc
395   1: abc   1: abc
# Line 361  No match: POSIX code 17: match failed Line 399  No match: POSIX code 17: match failed
399   1: def   1: def
400   3: def   3: def
401    
402  /the quick brown fox/IP  /the quick brown fox/P
403      the quick brown fox      the quick brown fox
404   0: the quick brown fox   0: the quick brown fox
405      *** Failers      *** Failers
# Line 369  No match: POSIX code 17: match failed Line 407  No match: POSIX code 17: match failed
407      The Quick Brown Fox      The Quick Brown Fox
408  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
409    
410  /the quick brown fox/IPi  /the quick brown fox/Pi
411      the quick brown fox      the quick brown fox
412   0: the quick brown fox   0: the quick brown fox
413      The Quick Brown Fox      The Quick Brown Fox
414   0: The Quick Brown Fox   0: The Quick Brown Fox
415    
416  /abc.def/IP  /abc.def/P
417      *** Failers      *** Failers
418  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
419      abc\ndef      abc\ndef
420  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
421    
422  /abc$/IP  /abc$/P
423      abc      abc
424   0: abc   0: abc
425      abc\n      abc\n
426   0: abc   0: abc
427    
428  /(abc)\2/IP  /(abc)\2/P
429  Failed: POSIX code 15: bad back reference at offset 7  Failed: POSIX code 15: bad back reference at offset 7
430    
431  /(abc\1)/IP  /(abc\1)/P
432      abc      abc
433  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
434    
# Line 402  Failed: missing terminating ] for charac Line 440  Failed: missing terminating ] for charac
440    
441  /[^aeiou ]{3,}/I  /[^aeiou ]{3,}/I
442  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 Contains explicit CR or LF match  
443  No options  No options
444  No first char  No first char
445  No need char  No need char
# Line 412  No need char Line 448  No need char
448    
449  /<.*>/I  /<.*>/I
450  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
451  No options  No options
452  First char = '<'  First char = '<'
453  Need char = '>'  Need char = '>'
# Line 421  Need char = '>' Line 456  Need char = '>'
456    
457  /<.*?>/I  /<.*?>/I
458  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
459  No options  No options
460  First char = '<'  First char = '<'
461  Need char = '>'  Need char = '>'
# Line 430  Need char = '>' Line 464  Need char = '>'
464    
465  /<.*>/IU  /<.*>/IU
466  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
467  Options: ungreedy  Options: ungreedy
468  First char = '<'  First char = '<'
469  Need char = '>'  Need char = '>'
# Line 439  Need char = '>' Line 472  Need char = '>'
472    
473  /(?U)<.*>/I  /(?U)<.*>/I
474  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
475  Options: ungreedy  Options: ungreedy
476  First char = '<'  First char = '<'
477  Need char = '>'  Need char = '>'
# Line 448  Need char = '>' Line 480  Need char = '>'
480    
481  /<.*?>/IU  /<.*?>/IU
482  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
483  Options: ungreedy  Options: ungreedy
484  First char = '<'  First char = '<'
485  Need char = '>'  Need char = '>'
# Line 457  Need char = '>' Line 488  Need char = '>'
488    
489  /={3,}/IU  /={3,}/IU
490  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
491  Options: ungreedy  Options: ungreedy
492  First char = '='  First char = '='
493  Need char = '='  Need char = '='
# Line 466  Need char = '=' Line 496  Need char = '='
496    
497  /(?U)={3,}?/I  /(?U)={3,}?/I
498  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
499  Options: ungreedy  Options: ungreedy
500  First char = '='  First char = '='
501  Need char = '='  Need char = '='
# Line 524  No need char Line 553  No need char
553    
554  /(?s).*/I  /(?s).*/I
555  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
556  Options: anchored dotall  Options: anchored dotall
557  No first char  No first char
558  No need char  No need char
# Line 534  Capturing subpattern count = 0 Line 562  Capturing subpattern count = 0
562  No options  No options
563  No first char  No first char
564  No need char  No need char
565    Subject length lower bound = 1
566  Starting byte set: a b c d  Starting byte set: a b c d
567    
568  /(?i)[abcd]/IS  /(?i)[abcd]/IS
# Line 541  Capturing subpattern count = 0 Line 570  Capturing subpattern count = 0
570  Options: caseless  Options: caseless
571  No first char  No first char
572  No need char  No need char
573    Subject length lower bound = 1
574  Starting byte set: A B C D a b c d  Starting byte set: A B C D a b c d
575    
576  /(?m)[xy]|(b|c)/IS  /(?m)[xy]|(b|c)/IS
# Line 548  Capturing subpattern count = 1 Line 578  Capturing subpattern count = 1
578  Options: multiline  Options: multiline
579  No first char  No first char
580  No need char  No need char
581    Subject length lower bound = 1
582  Starting byte set: b c x y  Starting byte set: b c x y
583    
584  /(^a|^b)/Im  /(^a|^b)/Im
# Line 586  Failed: syntax error in subpattern name Line 617  Failed: syntax error in subpattern name
617  /((?s)blah)\s+\1/I  /((?s)blah)\s+\1/I
618  Capturing subpattern count = 1  Capturing subpattern count = 1
619  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
620  No options  No options
621  First char = 'b'  First char = 'b'
622  Need char = 'h'  Need char = 'h'
# Line 594  Need char = 'h' Line 624  Need char = 'h'
624  /((?i)blah)\s+\1/I  /((?i)blah)\s+\1/I
625  Capturing subpattern count = 1  Capturing subpattern count = 1
626  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
627  No options  No options
628  First char = 'b' (caseless)  First char = 'b' (caseless)
629  Need char = 'h' (caseless)  Need char = 'h' (caseless)
# Line 603  Need char = 'h' (caseless) Line 632  Need char = 'h' (caseless)
632  ------------------------------------------------------------------  ------------------------------------------------------------------
633          Bra          Bra
634          CBra 1          CBra 1
635       01 Opt       /i b
      NC b  
636          Ket          Ket
      00 Opt  
637          Ket          Ket
638          End          End
639  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 614  Capturing subpattern count = 1 Line 641  Capturing subpattern count = 1
641  No options  No options
642  First char = 'b' (caseless)  First char = 'b' (caseless)
643  No need char  No need char
644  Study returned NULL  Subject length lower bound = 1
645    No set of starting bytes
646    
647  /(a*b|(?i:c*(?-i)d))/IS  /(a*b|(?i:c*(?-i)d))/IS
648  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
649  No options  No options
650  No first char  No first char
651  No need char  No need char
652    Subject length lower bound = 1
653  Starting byte set: C a b c d  Starting byte set: C a b c d
654    
655  /a$/I  /a$/I
# Line 670  Need char = 'c' Line 698  Need char = 'c'
698    
699  /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/I  /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/I
700  Capturing subpattern count = 5  Capturing subpattern count = 5
 Partial matching not supported  
701  Options: anchored  Options: anchored
702  No first char  No first char
703  No need char  No need char
# Line 687  Capturing subpattern count = 0 Line 714  Capturing subpattern count = 0
714  No options  No options
715  No first char  No first char
716  No need char  No need char
717    Subject length lower bound = 1
718  Starting byte set: a b  Starting byte set: a b
719    
720  /(?<!foo)(alpha|omega)/IS  /(?<!foo)(alpha|omega)/IS
# Line 694  Capturing subpattern count = 1 Line 722  Capturing subpattern count = 1
722  No options  No options
723  No first char  No first char
724  Need char = 'a'  Need char = 'a'
725    Subject length lower bound = 5
726  Starting byte set: a o  Starting byte set: a o
727    
728  /(?!alphabet)[ab]/IS  /(?!alphabet)[ab]/IS
# Line 701  Capturing subpattern count = 0 Line 730  Capturing subpattern count = 0
730  No options  No options
731  No first char  No first char
732  No need char  No need char
733    Subject length lower bound = 1
734  Starting byte set: a b  Starting byte set: a b
735    
736  /(?<=foo\n)^bar/Im  /(?<=foo\n)^bar/Im
# Line 786  No need char Line 816  No need char
816    
817  /(?>.*)(?<=(abcd)|(xyz))/I  /(?>.*)(?<=(abcd)|(xyz))/I
818  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
819  No options  No options
820  First char at start or follows newline  First char at start or follows newline
821  No need char  No need char
# Line 856  No match Line 885  No match
885      a      a
886  No match  No match
887    
888  /This one is here because I think Perl 5.005_02 gets the setting of $1 wrong/I  /This one is here because Perl behaves differently; see also the following/I
889  Capturing subpattern count = 0  Capturing subpattern count = 0
890  No options  No options
891  First char = 'T'  First char = 'T'
# Line 868  Max back reference = 1 Line 897  Max back reference = 1
897  Options: anchored  Options: anchored
898  No first char  No first char
899  No need char  No need char
900        aaaa
901    No match
902      aaaaaa      aaaaaa
903   0: aaaaaa  No match
904   1: aa  
905    /Perl does not fail these two for the final subjects. Neither did PCRE until/
906    /release 8.01. The problem is in backtracking into a subpattern that contains/
907    No match
908    /a recursive reference to itself. PCRE has now made these into atomic patterns./
909    No match
910    
911    /^(xa|=?\1a){2}$/
912        xa=xaa
913     0: xa=xaa
914     1: =xaa
915        ** Failers
916    No match
917        xa=xaaa
918    No match
919    
920    /^(xa|=?\1a)+$/
921        xa=xaa
922     0: xa=xaa
923     1: =xaa
924        ** Failers
925    No match
926        xa=xaaa
927    No match
928    
929  /These are syntax tests from Perl 5.005/I  /These are syntax tests from Perl 5.005/I
930  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 948  Failed: missing ) at offset 4 Line 1002  Failed: missing ) at offset 4
1002  Failed: unrecognized character after (?< at offset 3  Failed: unrecognized character after (?< at offset 3
1003    
1004  /a(?{)b/  /a(?{)b/
1005  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
1006    
1007  /a(?{{})b/  /a(?{{})b/
1008  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
1009    
1010  /a(?{}})b/  /a(?{}})b/
1011  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
1012    
1013  /a(?{"{"})b/  /a(?{"{"})b/
1014  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
1015    
1016  /a(?{"{"}})b/  /a(?{"{"}})b/
1017  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
1018    
1019  /(?(1?)a|b)/  /(?(1?)a|b)/
1020  Failed: malformed number or name after (?( at offset 4  Failed: malformed number or name after (?( at offset 4
1021    
 /(?(1)a|b|c)/  
 Failed: conditional group contains more than two branches at offset 10  
   
1022  /[a[:xyz:/  /[a[:xyz:/
1023  Failed: missing terminating ] for character class at offset 8  Failed: missing terminating ] for character class at offset 8
1024    
# Line 1008  copy substring 5 failed -7 Line 1059  copy substring 5 failed -7
1059    
1060  /(.{20})/I  /(.{20})/I
1061  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1062  No options  No options
1063  No first char  No first char
1064  No need char  No need char
# Line 1026  No need char Line 1076  No need char
1076    
1077  /(.{15})/I  /(.{15})/I
1078  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1079  No options  No options
1080  No first char  No first char
1081  No need char  No need char
# Line 1041  No need char Line 1090  No need char
1090    
1091  /(.{16})/I  /(.{16})/I
1092  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1093  No options  No options
1094  No first char  No first char
1095  No need char  No need char
# Line 1108  No need char Line 1156  No need char
1156  )((?:[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]+
1157  )?)?)?)?)?)?)?)?)?otherword/I  )?)?)?)?)?)?)?)?)?otherword/I
1158  Capturing subpattern count = 8  Capturing subpattern count = 8
 Partial matching not supported  
1159  Contains explicit CR or LF match  Contains explicit CR or LF match
1160  No options  No options
1161  First char = 'w'  First char = 'w'
# Line 1123  Need char = 'd' Line 1170  Need char = 'd'
1170          End          End
1171  ------------------------------------------------------------------  ------------------------------------------------------------------
1172  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1173  No options  No options
1174  First char at start or follows newline  First char at start or follows newline
1175  Need char = 'X'  Need char = 'X'
# Line 1131  Need char = 'X' Line 1177  Need char = 'X'
1177  /.*X/IDZs  /.*X/IDZs
1178  ------------------------------------------------------------------  ------------------------------------------------------------------
1179          Bra          Bra
1180          Any*          AllAny*
1181          X          X
1182          Ket          Ket
1183          End          End
1184  ------------------------------------------------------------------  ------------------------------------------------------------------
1185  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1186  Options: anchored dotall  Options: anchored dotall
1187  No first char  No first char
1188  Need char = 'X'  Need char = 'X'
# Line 1156  Need char = 'X' Line 1201  Need char = 'X'
1201          End          End
1202  ------------------------------------------------------------------  ------------------------------------------------------------------
1203  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1204  No options  No options
1205  First char at start or follows newline  First char at start or follows newline
1206  No need char  No need char
# Line 1165  No need char Line 1209  No need char
1209  ------------------------------------------------------------------  ------------------------------------------------------------------
1210          Bra          Bra
1211          CBra 1          CBra 1
1212          Any*          AllAny*
1213          X          X
1214          Alt          Alt
1215          ^          ^
# Line 1175  No need char Line 1219  No need char
1219          End          End
1220  ------------------------------------------------------------------  ------------------------------------------------------------------
1221  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1222  Options: anchored dotall  Options: anchored dotall
1223  No first char  No first char
1224  No need char  No need char
# Line 1184  No need char Line 1227  No need char
1227  ------------------------------------------------------------------  ------------------------------------------------------------------
1228          Bra          Bra
1229          CBra 1          CBra 1
1230          Any*          AllAny*
1231          X          X
1232          Alt          Alt
1233          ^          ^
# Line 1194  No need char Line 1237  No need char
1237          End          End
1238  ------------------------------------------------------------------  ------------------------------------------------------------------
1239  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1240  Options: anchored dotall  Options: anchored dotall
1241  No first char  No first char
1242  No need char  No need char
# Line 1203  No need char Line 1245  No need char
1245  ------------------------------------------------------------------  ------------------------------------------------------------------
1246          Bra          Bra
1247          Bra          Bra
1248       04 Opt          AllAny*
         Any*  
1249          X          X
1250          Alt          Alt
      04 Opt  
1251          ^          ^
1252          B          B
1253          Ket          Ket
      00 Opt  
1254          Ket          Ket
1255          End          End
1256  ------------------------------------------------------------------  ------------------------------------------------------------------
1257  Capturing subpattern count = 0  Capturing subpattern count = 0
1258  Partial matching not supported  Options: anchored
1259  No options  No first char
 First char at start or follows newline  
1260  No need char  No need char
1261    
1262  /\Biss\B/I+  /\Biss\B/I+
# Line 1301  No need char Line 1339  No need char
1339    
1340  /.*iss/Ig+  /.*iss/Ig+
1341  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1342  No options  No options
1343  First char at start or follows newline  First char at start or follows newline
1344  Need char = 's'  Need char = 's'
# Line 1404  Need char = 'c' Line 1441  Need char = 'c'
1441    
1442  /a*/I  /a*/I
1443  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1444  No options  No options
1445  No first char  No first char
1446  No need char  No need char
1447    
1448  /a+/I  /a+/I
1449  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1450  No options  No options
1451  First char = 'a'  First char = 'a'
1452  No need char  No need char
1453    
1454  /(baa|a+)/I  /(baa|a+)/I
1455  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1456  No options  No options
1457  No first char  No first char
1458  Need char = 'a'  Need char = 'a'
1459    
1460  /a{0,3}/I  /a{0,3}/I
1461  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1462  No options  No options
1463  No first char  No first char
1464  No need char  No need char
1465    
1466  /baa{3,}/I  /baa{3,}/I
1467  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1468  No options  No options
1469  First char = 'b'  First char = 'b'
1470  Need char = 'a'  Need char = 'a'
1471    
1472  /"([^\\"]+|\\.)*"/I  /"([^\\"]+|\\.)*"/I
1473  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
 Contains explicit CR or LF match  
1474  No options  No options
1475  First char = '"'  First char = '"'
1476  Need char = '"'  Need char = '"'
# Line 1495  Need char = 'b' Line 1525  Need char = 'b'
1525    
1526  /abc*/I  /abc*/I
1527  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1528  No options  No options
1529  First char = 'a'  First char = 'a'
1530  Need char = 'b'  Need char = 'b'
1531    
1532  /ab.c*/I  /ab.c*/I
1533  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1534  No options  No options
1535  First char = 'a'  First char = 'a'
1536  Need char = 'b'  Need char = 'b'
1537    
1538  /a.c*/I  /a.c*/I
1539  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1540  No options  No options
1541  First char = 'a'  First char = 'a'
1542  No need char  No need char
1543    
1544  /.c*/I  /.c*/I
1545  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1546  No options  No options
1547  No first char  No first char
1548  No need char  No need char
1549    
1550  /ac*/I  /ac*/I
1551  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1552  No options  No options
1553  First char = 'a'  First char = 'a'
1554  No need char  No need char
1555    
1556  /(a.c*|b.c*)/I  /(a.c*|b.c*)/I
1557  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1558  No options  No options
1559  No first char  No first char
1560  No need char  No need char
1561    
1562  /a.c*|aba/I  /a.c*|aba/I
1563  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1564  No options  No options
1565  First char = 'a'  First char = 'a'
1566  No need char  No need char
1567    
1568  /.+a/I  /.+a/I
1569  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1570  No options  No options
1571  No first char  No first char
1572  Need char = 'a'  Need char = 'a'
1573    
1574  /(?=abcda)a.*/I  /(?=abcda)a.*/I
1575  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1576  No options  No options
1577  First char = 'a'  First char = 'a'
1578  Need char = 'a'  Need char = 'a'
1579    
1580  /(?=a)a.*/I  /(?=a)a.*/I
1581  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1582  No options  No options
1583  First char = 'a'  First char = 'a'
1584  No need char  No need char
# Line 1571  No need char Line 1591  No need char
1591    
1592  /a\d*/I  /a\d*/I
1593  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1594  No options  No options
1595  First char = 'a'  First char = 'a'
1596  No need char  No need char
1597    
1598  /ab\d*/I  /ab\d*/I
1599  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1600  No options  No options
1601  First char = 'a'  First char = 'a'
1602  Need char = 'b'  Need char = 'b'
# Line 1597  Need char = 'd' Line 1615  Need char = 'd'
1615    
1616  /ab\d+/I  /ab\d+/I
1617  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1618  No options  No options
1619  First char = 'a'  First char = 'a'
1620  Need char = 'b'  Need char = 'b'
1621    
1622  /a(?(1)b)/I  /a(?(1)b)(.)/I
1623  Capturing subpattern count = 0  Capturing subpattern count = 1
1624  No options  No options
1625  First char = 'a'  First char = 'a'
1626  No need char  No need char
1627    
1628  /a(?(1)bag|big)/I  /a(?(1)bag|big)(.)/I
1629  Capturing subpattern count = 0  Capturing subpattern count = 1
1630  No options  No options
1631  First char = 'a'  First char = 'a'
1632  Need char = 'g'  Need char = 'g'
1633    
1634  /a(?(1)bag|big)*/I  /a(?(1)bag|big)*(.)/I
1635  Capturing subpattern count = 0  Capturing subpattern count = 1
1636  No options  No options
1637  First char = 'a'  First char = 'a'
1638  No need char  No need char
1639    
1640  /a(?(1)bag|big)+/I  /a(?(1)bag|big)+(.)/I
1641  Capturing subpattern count = 0  Capturing subpattern count = 1
1642  No options  No options
1643  First char = 'a'  First char = 'a'
1644  Need char = 'g'  Need char = 'g'
1645    
1646  /a(?(1)b..|b..)/I  /a(?(1)b..|b..)(.)/I
1647  Capturing subpattern count = 0  Capturing subpattern count = 1
1648  No options  No options
1649  First char = 'a'  First char = 'a'
1650  Need char = 'b'  Need char = 'b'
# Line 1672  No need char Line 1689  No need char
1689      \Nabc      \Nabc
1690  No match  No match
1691    
1692  /a*(b+)(z)(z)/IP  /a*(b+)(z)(z)/P
1693      aaaabbbbzzzz      aaaabbbbzzzz
1694   0: aaaabbbbzz   0: aaaabbbbzz
1695   1: bbbb   1: bbbb
# Line 1704  Capturing subpattern count = 0 Line 1721  Capturing subpattern count = 0
1721  Options: anchored  Options: anchored
1722  No first char  No first char
1723  Need char = 'd'  Need char = 'd'
1724  Study returned NULL  Subject length lower bound = 4
1725    No set of starting bytes
1726    
1727  /\(             # ( at start  /\(             # ( at start
1728    (?:           # Non-capturing bracket    (?:           # Non-capturing bracket
# Line 1715  Study returned NULL Line 1733  Study returned NULL
1733    \)            # Closing )    \)            # Closing )
1734    /Ix    /Ix
1735  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 Contains explicit CR or LF match  
1736  Options: extended  Options: extended
1737  First char = '('  First char = '('
1738  Need char = ')'  Need char = ')'
# Line 1745  No match Line 1761  No match
1761    
1762  /\(  ( (?>[^()]+) | (?R) )* \) /Ixg  /\(  ( (?>[^()]+) | (?R) )* \) /Ixg
1763  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
 Contains explicit CR or LF match  
1764  Options: extended  Options: extended
1765  First char = '('  First char = '('
1766  Need char = ')'  Need char = ')'
# Line 1761  Need char = ')' Line 1775  Need char = ')'
1775    
1776  /\(  (?: (?>[^()]+) | (?R) ) \) /Ix  /\(  (?: (?>[^()]+) | (?R) ) \) /Ix
1777  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 Contains explicit CR or LF match  
1778  Options: extended  Options: extended
1779  First char = '('  First char = '('
1780  Need char = ')'  Need char = ')'
# Line 1781  No match Line 1793  No match
1793    
1794  /\(  (?: (?>[^()]+) | (?R) )? \) /Ix  /\(  (?: (?>[^()]+) | (?R) )? \) /Ix
1795  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 Contains explicit CR or LF match  
1796  Options: extended  Options: extended
1797  First char = '('  First char = '('
1798  Need char = ')'  Need char = ')'
# Line 1793  Need char = ')' Line 1803  Need char = ')'
1803    
1804  /\(  ( (?>[^()]+) | (?R) )* \) /Ix  /\(  ( (?>[^()]+) | (?R) )* \) /Ix
1805  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
 Contains explicit CR or LF match  
1806  Options: extended  Options: extended
1807  First char = '('  First char = '('
1808  Need char = ')'  Need char = ')'
# Line 1804  Need char = ')' Line 1812  Need char = ')'
1812    
1813  /\( ( ( (?>[^()]+) | (?R) )* ) \) /Ix  /\( ( ( (?>[^()]+) | (?R) )* ) \) /Ix
1814  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
 Contains explicit CR or LF match  
1815  Options: extended  Options: extended
1816  First char = '('  First char = '('
1817  Need char = ')'  Need char = ')'
# Line 1816  Need char = ')' Line 1822  Need char = ')'
1822    
1823  /\( (123)? ( ( (?>[^()]+) | (?R) )* ) \) /Ix  /\( (123)? ( ( (?>[^()]+) | (?R) )* ) \) /Ix
1824  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
 Contains explicit CR or LF match  
1825  Options: extended  Options: extended
1826  First char = '('  First char = '('
1827  Need char = ')'  Need char = ')'
# Line 1834  Need char = ')' Line 1838  Need char = ')'
1838    
1839  /\( ( (123)? ( (?>[^()]+) | (?R) )* ) \) /Ix  /\( ( (123)? ( (?>[^()]+) | (?R) )* ) \) /Ix
1840  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
 Contains explicit CR or LF match  
1841  Options: extended  Options: extended
1842  First char = '('  First char = '('
1843  Need char = ')'  Need char = ')'
# Line 1852  Need char = ')' Line 1854  Need char = ')'
1854    
1855  /\( (((((((((( ( (?>[^()]+) | (?R) )* )))))))))) \) /Ix  /\( (((((((((( ( (?>[^()]+) | (?R) )* )))))))))) \) /Ix
1856  Capturing subpattern count = 11  Capturing subpattern count = 11
 Partial matching not supported  
 Contains explicit CR or LF match  
1857  Options: extended  Options: extended
1858  First char = '('  First char = '('
1859  Need char = ')'  Need char = ')'
# Line 1873  Need char = ')' Line 1873  Need char = ')'
1873    
1874  /\( ( ( (?>[^()<>]+) | ((?>[^()]+)) | (?R) )* ) \) /Ix  /\( ( ( (?>[^()<>]+) | ((?>[^()]+)) | (?R) )* ) \) /Ix
1875  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
 Contains explicit CR or LF match  
1876  Options: extended  Options: extended
1877  First char = '('  First char = '('
1878  Need char = ')'  Need char = ')'
# Line 1882  Need char = ')' Line 1880  Need char = ')'
1880   0: (abcd(xyz<p>qrs)123)   0: (abcd(xyz<p>qrs)123)
1881   1: abcd(xyz<p>qrs)123   1: abcd(xyz<p>qrs)123
1882   2: 123   2: 123
  3: <unset>  
1883    
1884  /\( ( ( (?>[^()]+) | ((?R)) )* ) \) /Ix  /\( ( ( (?>[^()]+) | ((?R)) )* ) \) /Ix
1885  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
 Contains explicit CR or LF match  
1886  Options: extended  Options: extended
1887  First char = '('  First char = '('
1888  Need char = ')'  Need char = ')'
# Line 1919  No need char Line 1914  No need char
1914  ------------------------------------------------------------------  ------------------------------------------------------------------
1915          Bra          Bra
1916          ^          ^
1917          [\x00-/:-@[-`{-\xff]          [\x00-/:-@[-`{-\xff] (neg)
1918          Ket          Ket
1919          End          End
1920  ------------------------------------------------------------------  ------------------------------------------------------------------
1921  Capturing subpattern count = 0  Capturing subpattern count = 0
 Contains explicit CR or LF match  
1922  Options: anchored  Options: anchored
1923  No first char  No first char
1924  No need char  No need char
# Line 1946  No need char Line 1940  No need char
1940  ------------------------------------------------------------------  ------------------------------------------------------------------
1941          Bra          Bra
1942          ^          ^
1943          [\x00-@[-`{-\xff]          [\x00-@[-`{-\xff] (neg)
1944          Ket          Ket
1945          End          End
1946  ------------------------------------------------------------------  ------------------------------------------------------------------
1947  Capturing subpattern count = 0  Capturing subpattern count = 0
 Contains explicit CR or LF match  
1948  Options: anchored  Options: anchored
1949  No first char  No first char
1950  No need char  No need char
# Line 1961  Capturing subpattern count = 0 Line 1954  Capturing subpattern count = 0
1954  No options  No options
1955  No first char  No first char
1956  No need char  No need char
1957    Subject length lower bound = 1
1958  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  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
1959    _ 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
1960    
# Line 1973  Starting byte set: A B C D E F G H I J K Line 1967  Starting byte set: A B C D E F G H I J K
1967          End          End
1968  ------------------------------------------------------------------  ------------------------------------------------------------------
1969  Capturing subpattern count = 0  Capturing subpattern count = 0
 Contains explicit CR or LF match  
1970  Options: anchored  Options: anchored
1971  No first char  No first char
1972  No need char  No need char
# Line 1982  No need char Line 1975  No need char
1975  ------------------------------------------------------------------  ------------------------------------------------------------------
1976          Bra          Bra
1977          ^          ^
1978          [\x80-\xff]          [\x80-\xff] (neg)
1979          Ket          Ket
1980          End          End
1981  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2008  No need char Line 2001  No need char
2001  ------------------------------------------------------------------  ------------------------------------------------------------------
2002          Bra          Bra
2003          ^          ^
2004          [\x00-\x08\x0a-\x1f!-\xff]          [\x00-\x08\x0a-\x1f!-\xff] (neg)
2005          Ket          Ket
2006          End          End
2007  ------------------------------------------------------------------  ------------------------------------------------------------------
2008  Capturing subpattern count = 0  Capturing subpattern count = 0
 Contains explicit CR or LF match  
2009  Options: anchored  Options: anchored
2010  No first char  No first char
2011  No need char  No need char
# Line 2024  Contains explicit CR or LF match Line 2016  Contains explicit CR or LF match
2016  No options  No options
2017  No first char  No first char
2018  No need char  No need char
2019    Subject length lower bound = 1
2020  Starting byte set: \x09 \x0a \x0b \x0c \x0d \x20  Starting byte set: \x09 \x0a \x0b \x0c \x0d \x20
2021    
2022  /^[[:cntrl:]]/DZ  /^[[:cntrl:]]/DZ
# Line 2035  Starting byte set: \x09 \x0a \x0b \x0c \ Line 2028  Starting byte set: \x09 \x0a \x0b \x0c \
2028          End          End
2029  ------------------------------------------------------------------  ------------------------------------------------------------------
2030  Capturing subpattern count = 0  Capturing subpattern count = 0
 Contains explicit CR or LF match  
2031  Options: anchored  Options: anchored
2032  No first char  No first char
2033  No need char  No need char
# Line 2114  No need char Line 2106  No need char
2106          End          End
2107  ------------------------------------------------------------------  ------------------------------------------------------------------
2108  Capturing subpattern count = 0  Capturing subpattern count = 0
 Contains explicit CR or LF match  
2109  Options: anchored  Options: anchored
2110  No first char  No first char
2111  No need char  No need char
# Line 2162  No need char Line 2153  No need char
2153  ------------------------------------------------------------------  ------------------------------------------------------------------
2154          Bra          Bra
2155          ^          ^
2156          [ -~\x80-\xff]          [ -~\x80-\xff] (neg)
2157          Ket          Ket
2158          End          End
2159  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2175  No need char Line 2166  No need char
2166  ------------------------------------------------------------------  ------------------------------------------------------------------
2167          Bra          Bra
2168          ^          ^
2169          [\x00-/12:-\xff]          [\x00-/12:-\xff] (neg)
2170          Ket          Ket
2171          End          End
2172  ------------------------------------------------------------------  ------------------------------------------------------------------
2173  Capturing subpattern count = 0  Capturing subpattern count = 0
 Contains explicit CR or LF match  
2174  Options: anchored  Options: anchored
2175  No first char  No first char
2176  No need char  No need char
# Line 2189  No need char Line 2179  No need char
2179  ------------------------------------------------------------------  ------------------------------------------------------------------
2180          Bra          Bra
2181          ^          ^
2182          [\x00-\x08\x0a-\x1f!-\xff]          [\x00-\x08\x0a-\x1f!-\xff] (neg)
2183          Ket          Ket
2184          End          End
2185  ------------------------------------------------------------------  ------------------------------------------------------------------
2186  Capturing subpattern count = 0  Capturing subpattern count = 0
 Contains explicit CR or LF match  
2187  Options: anchored  Options: anchored
2188  No first char  No first char
2189  No need char  No need char
# Line 2274  Need char = 'd' Line 2263  Need char = 'd'
2263  /(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\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  /(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\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
2264  Capturing subpattern count = 271  Capturing subpattern count = 271
2265  Max back reference = 270  Max back reference = 270
 Partial matching not supported  
2266  No options  No options
2267  No first char  No first char
2268  No need char  No need char
# Line 2758  No need char Line 2746  No need char
2746  /[\S]/DZ  /[\S]/DZ
2747  ------------------------------------------------------------------  ------------------------------------------------------------------
2748          Bra          Bra
2749          [\x00-\x08\x0b\x0e-\x1f!-\xff]          [\x00-\x08\x0b\x0e-\x1f!-\xff] (neg)
2750          Ket          Ket
2751          End          End
2752  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2771  No need char Line 2759  No need char
2759  ------------------------------------------------------------------  ------------------------------------------------------------------
2760          Bra          Bra
2761          a          a
2762       01 Opt       /i b
      NC b  
2763          Ket          Ket
2764          End          End
2765  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2794  No match Line 2781  No match
2781          Bra          Bra
2782          CBra 1          CBra 1
2783          a          a
2784       01 Opt       /i b
      NC b  
2785          Ket          Ket
      00 Opt  
2786          Ket          Ket
2787          End          End
2788  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2819  No match Line 2804  No match
2804  /   (?i)abc/IxDZ  /   (?i)abc/IxDZ
2805  ------------------------------------------------------------------  ------------------------------------------------------------------
2806          Bra          Bra
2807       NC abc       /i abc
2808          Ket          Ket
2809          End          End
2810  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2832  Need char = 'c' (caseless) Line 2817  Need char = 'c' (caseless)
2817    (?i)abc/IxDZ    (?i)abc/IxDZ
2818  ------------------------------------------------------------------  ------------------------------------------------------------------
2819          Bra          Bra
2820       NC abc       /i abc
2821          Ket          Ket
2822          End          End
2823  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2955  Need char = 'c' Line 2940  Need char = 'c'
2940          End          End
2941  ------------------------------------------------------------------  ------------------------------------------------------------------
2942  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
2943  No options  No options
2944  No first char  No first char
2945  No need char  No need char
# Line 2984  No need char Line 2968  No need char
2968          End          End
2969  ------------------------------------------------------------------  ------------------------------------------------------------------
2970  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
2971  No options  No options
2972  First char = 'x'  First char = 'x'
2973  No need char  No need char
# Line 3000  No need char Line 2983  No need char
2983          End          End
2984  ------------------------------------------------------------------  ------------------------------------------------------------------
2985  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
2986  No options  No options
2987  First char = 'x'  First char = 'x'
2988  No need char  No need char
# Line 3008  No need char Line 2990  No need char
2990  /(x)*+/DZ  /(x)*+/DZ
2991  ------------------------------------------------------------------  ------------------------------------------------------------------
2992          Bra          Bra
2993          Once          Braposzero
2994          Brazero          CBraPos 1
         CBra 1  
2995          x          x
2996          KetRmax          KetRpos
         Ket  
2997          Ket          Ket
2998          End          End
2999  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 3024  No need char Line 3004  No need char
3004    
3005  /^(\w++|\s++)*$/I  /^(\w++|\s++)*$/I
3006  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
3007  Options: anchored  Options: anchored
3008  No first char  No first char
3009  No need char  No need char
# Line 3038  No match Line 3017  No match
3017    
3018  /(\d++)(\w)/I  /(\d++)(\w)/I
3019  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
3020  No options  No options
3021  No first char  No first char
3022  No need char  No need char
# Line 3053  No match Line 3031  No match
3031    
3032  /a++b/I  /a++b/I
3033  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
3034  No options  No options
3035  First char = 'a'  First char = 'a'
3036  Need char = 'b'  Need char = 'b'
# Line 3062  Need char = 'b' Line 3039  Need char = 'b'
3039    
3040  /(a++b)/I  /(a++b)/I
3041  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
3042  No options  No options
3043  First char = 'a'  First char = 'a'
3044  Need char = 'b'  Need char = 'b'
# Line 3072  Need char = 'b' Line 3048  Need char = 'b'
3048    
3049  /(a++)b/I  /(a++)b/I
3050  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
3051  No options  No options
3052  First char = 'a'  First char = 'a'
3053  Need char = 'b'  Need char = 'b'
# Line 3082  Need char = 'b' Line 3057  Need char = 'b'
3057    
3058  /([^()]++|\([^()]*\))+/I  /([^()]++|\([^()]*\))+/I
3059  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
 Contains explicit CR or LF match  
3060  No options  No options
3061  No first char  No first char
3062  No need char  No need char
# Line 3093  No need char Line 3066  No need char
3066    
3067  /\(([^()]++|\([^()]+\))+\)/I  /\(([^()]++|\([^()]+\))+\)/I
3068  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
 Contains explicit CR or LF match  
3069  No options  No options
3070  First char = '('  First char = '('
3071  Need char = ')'  Need char = ')'
# Line 3157  Failed: nothing to repeat at offset 7 Line 3128  Failed: nothing to repeat at offset 7
3128          End          End
3129  ------------------------------------------------------------------  ------------------------------------------------------------------
3130  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
3131  No options  No options
3132  First char = 'x'  First char = 'x'
3133  Need char = 'b'  Need char = 'b'
# Line 3174  Need char = 'b' Line 3144  Need char = 'b'
3144          End          End
3145  ------------------------------------------------------------------  ------------------------------------------------------------------
3146  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
3147  Options: ungreedy  Options: ungreedy
3148  First char = 'x'  First char = 'x'
3149  Need char = 'b'  Need char = 'b'
# Line 3203  Need char = 'b' Line 3172  Need char = 'b'
3172          End          End
3173  ------------------------------------------------------------------  ------------------------------------------------------------------
3174  Capturing subpattern count = 5  Capturing subpattern count = 5
 Partial matching not supported  
3175  Options: anchored  Options: anchored
3176  No first char  No first char
3177  No need char  No need char
# Line 3219  No need char Line 3187  No need char
3187          End          End
3188  ------------------------------------------------------------------  ------------------------------------------------------------------
3189  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
3190  Options: anchored  Options: anchored
3191  No first char  No first char
3192  Need char = 'b'  Need char = 'b'
# Line 3237  Need char = 'b' Line 3204  Need char = 'b'
3204          End          End
3205  ------------------------------------------------------------------  ------------------------------------------------------------------
3206  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
3207  Options: anchored  Options: anchored
3208  No first char  No first char
3209  Need char = 'b'  Need char = 'b'
# Line 3252  Failed: POSIX collating elements are not Line 3218  Failed: POSIX collating elements are not
3218  Failed: POSIX named classes are supported only within a class at offset 0  Failed: POSIX named classes are supported only within a class at offset 0
3219    
3220  /\l/I  /\l/I
3221  Failed: PCRE does not support \L, \l, \N, \U, or \u at offset 1  Failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 1
3222    
3223  /\L/I  /\L/I
3224  Failed: PCRE does not support \L, \l, \N, \U, or \u at offset 1  Failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 1
3225    
3226  /\N{name}/I  /\N{name}/I
3227  Failed: PCRE does not support \L, \l, \N, \U, or \u at offset 1  Failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 1
3228    
3229  /\u/I  /\u/I
3230  Failed: PCRE does not support \L, \l, \N, \U, or \u at offset 1  Failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 1
3231    
3232  /\U/I  /\U/I
3233  Failed: PCRE does not support \L, \l, \N, \U, or \u at offset 1  Failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 1
3234    
3235  /[/I  /[/I
3236  Failed: missing terminating ] for character class at offset 1  Failed: missing terminating ] for character class at offset 1
# Line 3295  No need char Line 3261  No need char
3261          End          End
3262  ------------------------------------------------------------------  ------------------------------------------------------------------
3263  Capturing subpattern count = 0  Capturing subpattern count = 0
 Contains explicit CR or LF match  
3264  No options  No options
3265  No first char  No first char
3266  No need char  No need char
# Line 3308  No need char Line 3273  No need char
3273          End          End
3274  ------------------------------------------------------------------  ------------------------------------------------------------------
3275  Capturing subpattern count = 0  Capturing subpattern count = 0
 Contains explicit CR or LF match  
3276  No options  No options
3277  No first char  No first char
3278  No need char  No need char
3279    
3280  /< (?: (?(R) \d++  | [^<>]*+) | (?R)) * >/Ix  /< (?: (?(R) \d++  | [^<>]*+) | (?R)) * >/Ix
3281  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 Contains explicit CR or LF match  
3282  Options: extended  Options: extended
3283  First char = '<'  First char = '<'
3284  Need char = '>'  Need char = '>'
# Line 3366  Need char = 'X' Line 3328  Need char = 'X'
3328  /(.*)\d+\1/I  /(.*)\d+\1/I
3329  Capturing subpattern count = 1  Capturing subpattern count = 1
3330  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
3331  No options  No options
3332  No first char  No first char
3333  No need char  No need char
3334    
3335  /(.*)\d+/I  /(.*)\d+/I
3336  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
3337  No options  No options
3338  First char at start or follows newline  First char at start or follows newline
3339  No need char  No need char
# Line 3381  No need char Line 3341  No need char
3341  /(.*)\d+\1/Is  /(.*)\d+\1/Is
3342  Capturing subpattern count = 1  Capturing subpattern count = 1
3343  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
3344  Options: dotall  Options: dotall
3345  No first char  No first char
3346  No need char  No need char
3347    
3348  /(.*)\d+/Is  /(.*)\d+/Is
3349  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
3350  Options: anchored dotall  Options: anchored dotall
3351  No first char  No first char
3352  No need char  No need char
# Line 3396  No need char Line 3354  No need char
3354  /(.*(xyz))\d+\2/I  /(.*(xyz))\d+\2/I
3355  Capturing subpattern count = 2  Capturing subpattern count = 2
3356  Max back reference = 2  Max back reference = 2
 Partial matching not supported  
3357  No options  No options
3358  First char at start or follows newline  First char at start or follows newline
3359  Need char = 'z'  Need char = 'z'
# Line 3404  Need char = 'z' Line 3361  Need char = 'z'
3361  /((.*))\d+\1/I  /((.*))\d+\1/I
3362  Capturing subpattern count = 2  Capturing subpattern count = 2
3363  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
3364  No options  No options
3365  No first char  No first char
3366  No need char  No need char
# Line 3421  Need char = 'b' Line 3377  Need char = 'b'
3377    
3378  /(?=a).*/I  /(?=a).*/I
3379  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
3380  No options  No options
3381  First char = 'a'  First char = 'a'
3382  No need char  No need char
# Line 3468  No options Line 3423  No options
3423  No first char  No first char
3424  Need char = 'a'  Need char = 'a'
3425    
3426  /(?(1)ab|ac)/I  /(?(1)ab|ac)(.)/I
3427  Capturing subpattern count = 0  Capturing subpattern count = 1
3428  No options  No options
3429  First char = 'a'  First char = 'a'
3430  No need char  No need char
3431    
3432  /(?(1)abz|acz)/I  /(?(1)abz|acz)(.)/I
3433  Capturing subpattern count = 0  Capturing subpattern count = 1
3434  No options  No options
3435  First char = 'a'  First char = 'a'
3436  Need char = 'z'  Need char = 'z'
3437    
3438  /(?(1)abz)/I  /(?(1)abz)(.)/I
3439  Capturing subpattern count = 0  Capturing subpattern count = 1
3440  No options  No options
3441  No first char  No first char
3442  No need char  No need char
3443    
3444  /(?(1)abz)123/I  /(?(1)abz)(1)23/I
3445  Capturing subpattern count = 0  Capturing subpattern count = 1
3446  No options  No options
3447  No first char  No first char
3448  Need char = '3'  Need char = '3'
# Line 3527  Capturing subpattern count = 0 Line 3482  Capturing subpattern count = 0
3482  No options  No options
3483  No first char  No first char
3484  No need char  No need char
3485    Subject length lower bound = 1
3486  Starting byte set: a b  Starting byte set: a b
3487    
3488  /[^a]/I  /[^a]/I
3489  Capturing subpattern count = 0  Capturing subpattern count = 0
 Contains explicit CR or LF match  
3490  No options  No options
3491  No first char  No first char
3492  No need char  No need char
# Line 3547  Capturing subpattern count = 0 Line 3502  Capturing subpattern count = 0
3502  No options  No options
3503  No first char  No first char
3504  Need char = '6'  Need char = '6'
3505    Subject length lower bound = 4
3506  Starting byte set: 0 1 2 3 4 5 6 7 8 9  Starting byte set: 0 1 2 3 4 5 6 7 8 9
3507    
3508  /a^b/I  /a^b/I
# Line 3580  Capturing subpattern count = 0 Line 3536  Capturing subpattern count = 0
3536  Options: caseless  Options: caseless
3537  No first char  No first char
3538  No need char  No need char
3539    Subject length lower bound = 1
3540  Starting byte set: A B a b  Starting byte set: A B a b
3541    
3542  /[ab](?i)cd/IS  /[ab](?i)cd/IS
# Line 3587  Capturing subpattern count = 0 Line 3544  Capturing subpattern count = 0
3544  No options  No options
3545  No first char  No first char
3546  Need char = 'd' (caseless)  Need char = 'd' (caseless)
3547    Subject length lower bound = 3
3548  Starting byte set: a b  Starting byte set: a b
3549    
3550  /abc(?C)def/I  /abc(?C)def/I
# Line 3622  Need char = 'f' Line 3580  Need char = 'f'
3580    1    ^    ^     f    1    ^    ^     f
3581   0: abcdef   0: abcdef
3582    
3583  /(?C1)\dabc(?C2)def/I  /(?C1)\dabc(?C2)def/IS
3584    Capturing subpattern count = 0
3585    No options
3586    No first char
3587    Need char = 'f'
3588    Subject length lower bound = 7
3589    Starting byte set: 0 1 2 3 4 5 6 7 8 9
3590        1234abcdef
3591    --->1234abcdef
3592      1 ^              \d
3593      1  ^             \d
3594      1   ^            \d
3595      1    ^           \d
3596      2    ^   ^       d
3597     0: 4abcdef
3598        *** Failers
3599    No match
3600        abcdef
3601    No match
3602    
3603    /(?C1)\dabc(?C2)def/ISS
3604  Capturing subpattern count = 0  Capturing subpattern count = 0
3605  No options  No options
3606  No first char  No first char
# Line 3744  No need char Line 3722  No need char
3722    
3723  /(\d{3}(?C))*/I  /(\d{3}(?C))*/I
3724  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
3725  No options  No options
3726  No first char  No first char
3727  No need char  No need char
# Line 3873  Callout 0: last capture = 1 Line 3850  Callout 0: last capture = 1
3850    
3851  /a(b+)(c*)(?C1)/I  /a(b+)(c*)(?C1)/I
3852  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
3853  No options  No options
3854  First char = 'a'  First char = 'a'
3855  Need char = 'b'  Need char = 'b'
# Line 3899  No match Line 3875  No match
3875    
3876  /a(b+?)(c*?)(?C1)/I  /a(b+?)(c*?)(?C1)/I
3877  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
3878  No options  No options
3879  First char = 'a'  First char = 'a'
3880  Need char = 'b'  Need char = 'b'
# Line 3940  Capturing subpattern count = 0 Line 3915  Capturing subpattern count = 0
3915  No options  No options
3916  No first char  No first char
3917  No need char  No need char
3918    Subject length lower bound = 1
3919  Starting byte set: a b  Starting byte set: a b
3920    
3921  /(?R)/I  /(?R)/I
# Line 3991  Failed: recursive call could loop indefi Line 3967  Failed: recursive call could loop indefi
3967    
3968  /^([^()]|\((?1)*\))*$/I  /^([^()]|\((?1)*\))*$/I
3969  Capturing subpattern count = 1  Capturing subpattern count = 1
 Contains explicit CR or LF match  
3970  Options: anchored  Options: anchored
3971  No first char  No first char
3972  No need char  No need char
# Line 4011  No match Line 3986  No match
3986    
3987  /^>abc>([^()]|\((?1)*\))*<xyz<$/I  /^>abc>([^()]|\((?1)*\))*<xyz<$/I
3988  Capturing subpattern count = 1  Capturing subpattern count = 1
 Contains explicit CR or LF match  
3989  Options: anchored  Options: anchored
3990  No first char  No first char
3991  Need char = '<'  Need char = '<'
# Line 4030  Need char = '<' Line 4004  Need char = '<'
4004          Bra          Bra
4005          CBra 1          CBra 1
4006          a          a
         Once  
4007          Recurse          Recurse
         Ket  
4008          b          b
4009          Ket          Ket
4010          Ket          Ket
# Line 4061  No options Line 4033  No options
4033  First char = 'a'  First char = 'a'
4034  Need char = 'b'  Need char = 'b'
4035    
 /^\W*(?:((.)\W*(?1)\W*\2|)|((.)\W*(?3)\W*\4|\W*.\W*))\W*$/Ii  
 Capturing subpattern count = 4  
 Max back reference = 4  
 Partial matching not supported  
 Options: anchored caseless  
 No first char  
 No need char  
     1221  
  0: 1221  
  1: 1221  
  2: 1  
     Satan, oscillate my metallic sonatas!  
  0: Satan, oscillate my metallic sonatas!  
  1: <unset>  
  2: <unset>  
  3: Satan, oscillate my metallic sonatas  
  4: S  
     A man, a plan, a canal: Panama!  
  0: A man, a plan, a canal: Panama!  
  1: <unset>  
  2: <unset>  
  3: A man, a plan, a canal: Panama  
  4: A  
     Able was I ere I saw Elba.  
  0: Able was I ere I saw Elba.  
  1: <unset>  
  2: <unset>  
  3: Able was I ere I saw Elba  
  4: A  
     *** Failers  
 No match  
     The quick brown fox  
 No match  
   
4036  /^(\d+|\((?1)([+*-])(?1)\)|-(?1))$/I  /^(\d+|\((?1)([+*-])(?1)\)|-(?1))$/I
4037  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
4038  Options: anchored  Options: anchored
4039  No first char  No first char
4040  No need char  No need char
# Line 4138  No match Line 4075  No match
4075    
4076  /((< (?: (?(R) \d++  | [^<>]*+) | (?2)) * >))/Ix  /((< (?: (?(R) \d++  | [^<>]*+) | (?2)) * >))/Ix
4077  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
 Contains explicit CR or LF match  
4078  Options: extended  Options: extended
4079  First char = '<'  First char = '<'
4080  Need char = '>'  Need char = '>'
# Line 4290  Need char = 'a' Line 4225  Need char = 'a'
4225          Any          Any
4226          \1          \1
4227          bbb          bbb
         Once  
4228          Recurse          Recurse
         Ket  
4229          d          d
4230          Ket          Ket
4231          End          End
# Line 4313  Named capturing subpatterns: Line 4246  Named capturing subpatterns:
4246    one     1    one     1
4247    three   3    three   3
4248    two     2    two     2
 Partial matching not supported  
4249  Options: anchored caseless  Options: anchored caseless
4250  No first char  No first char
4251  No need char  No need char
# Line 4359  No need char Line 4291  No need char
4291    
4292  /(.*)a/Is  /(.*)a/Is
4293  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
4294  Options: anchored dotall  Options: anchored dotall
4295  No first char  No first char
4296  Need char = 'a'  Need char = 'a'
# Line 4367  Need char = 'a' Line 4298  Need char = 'a'
4298  /(.*)a\1/Is  /(.*)a\1/Is
4299  Capturing subpattern count = 1  Capturing subpattern count = 1
4300  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
4301  Options: dotall  Options: dotall
4302  No first char  No first char
4303  Need char = 'a'  Need char = 'a'
# Line 4375  Need char = 'a' Line 4305  Need char = 'a'
4305  /(.*)a(b)\2/Is  /(.*)a(b)\2/Is
4306  Capturing subpattern count = 2  Capturing subpattern count = 2
4307  Max back reference = 2  Max back reference = 2
 Partial matching not supported  
4308  Options: anchored dotall  Options: anchored dotall
4309  No first char  No first char
4310  Need char = 'b'  Need char = 'b'
4311    
4312  /((.*)a|(.*)b)z/Is  /((.*)a|(.*)b)z/Is
4313  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
4314  Options: anchored dotall  Options: anchored dotall
4315  No first char  No first char
4316  Need char = 'z'  Need char = 'z'
# Line 4390  Need char = 'z' Line 4318  Need char = 'z'
4318  /((.*)a|(.*)b)z\1/Is  /((.*)a|(.*)b)z\1/Is
4319  Capturing subpattern count = 3  Capturing subpattern count = 3
4320  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
4321  Options: dotall  Options: dotall
4322  No first char  No first char
4323  Need char = 'z'  Need char = 'z'
# Line 4398  Need char = 'z' Line 4325  Need char = 'z'
4325  /((.*)a|(.*)b)z\2/Is  /((.*)a|(.*)b)z\2/Is
4326  Capturing subpattern count = 3  Capturing subpattern count = 3
4327  Max back reference = 2  Max back reference = 2
 Partial matching not supported  
4328  Options: dotall  Options: dotall
4329  No first char  No first char
4330  Need char = 'z'  Need char = 'z'
# Line 4406  Need char = 'z' Line 4332  Need char = 'z'
4332  /((.*)a|(.*)b)z\3/Is  /((.*)a|(.*)b)z\3/Is
4333  Capturing subpattern count = 3  Capturing subpattern count = 3
4334  Max back reference = 3  Max back reference = 3
 Partial matching not supported  
4335  Options: dotall  Options: dotall
4336  No first char  No first char
4337  Need char = 'z'  Need char = 'z'
# Line 4414  Need char = 'z' Line 4339  Need char = 'z'
4339  /((.*)a|^(.*)b)z\3/Is  /((.*)a|^(.*)b)z\3/Is
4340  Capturing subpattern count = 3  Capturing subpattern count = 3
4341  Max back reference = 3  Max back reference = 3
 Partial matching not supported  
4342  Options: anchored dotall  Options: anchored dotall
4343  No first char  No first char
4344  Need char = 'z'  Need char = 'z'
4345    
4346  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a/Is  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a/Is
4347  Capturing subpattern count = 31  Capturing subpattern count = 31
 Partial matching not supported  
4348  Options: anchored dotall  Options: anchored dotall
4349  No first char  No first char
4350  No need char  No need char
# Line 4429  No need char Line 4352  No need char
4352  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\31/Is  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\31/Is
4353  Capturing subpattern count = 31  Capturing subpattern count = 31
4354  Max back reference = 31  Max back reference = 31
 Partial matching not supported  
4355  Options: dotall  Options: dotall
4356  No first char  No first char
4357  No need char  No need char
# Line 4437  No need char Line 4359  No need char
4359  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\32/Is  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\32/Is
4360  Capturing subpattern count = 32  Capturing subpattern count = 32
4361  Max back reference = 32  Max back reference = 32
 Partial matching not supported  
4362  Options: dotall  Options: dotall
4363  No first char  No first char
4364  No need char  No need char
# Line 4504  Need char = 'c' Line 4425  Need char = 'c'
4425    
4426  /(a+)*zz/I  /(a+)*zz/I
4427  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
4428  No options  No options
4429  No first char  No first char
4430  Need char = 'z'  Need char = 'z'
4431    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazzbbbbbb\M    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazzbbbbbb\M
4432  Minimum match() limit = 8  Minimum match() limit = 8
4433  Minimum match() recursion limit = 6  Minimum match() recursion limit = 7
4434   0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazz   0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazz
4435   1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa   1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
4436    aaaaaaaaaaaaaz\M    aaaaaaaaaaaaaz\M
4437  Minimum match() limit = 32768  Minimum match() limit = 32768
4438  Minimum match() recursion limit = 42  Minimum match() recursion limit = 43
4439  No match  No match
4440    
4441  /(aaa(?C1)bbb|ab)/I  /(aaa(?C1)bbb|ab)/I
# Line 4641  Failed: two named subpatterns have the s Line 4561  Failed: two named subpatterns have the s
4561  Capturing subpattern count = 3  Capturing subpattern count = 3
4562  Named capturing subpatterns:  Named capturing subpatterns:
4563    elem   2    elem   2
 Partial matching not supported  
4564  No options  No options
4565  First char = '['  First char = '['
4566  Need char = ']'  Need char = ']'
# Line 4659  No match Line 4578  No match
4578  Capturing subpattern count = 3  Capturing subpattern count = 3
4579  Named capturing subpatterns:  Named capturing subpatterns:
4580    elem   2    elem   2
 Partial matching not supported  
4581  No options  No options
4582  First char = '['  First char = '['
4583  Need char = ']'  Need char = ']'
# Line 4679  Need char = ']' Line 4597  Need char = ']'
4597          a          a
4598          CBra 2          CBra 2
4599          b          b
         Once  
4600          Recurse          Recurse
         Ket  
4601          c          c
4602          Ket          Ket
4603          Ket          Ket
# Line 4701  No need char Line 4617  No need char
4617          a          a
4618          CBra 2          CBra 2
4619          b          b
         Once  
4620          Recurse          Recurse
         Ket  
4621          c          c
4622          Ket          Ket
4623          KetRmax          KetRmax
# Line 4724  No need char Line 4638  No need char
4638          a          a
4639          CBra 2          CBra 2
4640          b          b
         Once  
4641          Recurse          Recurse
         Ket  
4642          c          c
4643          Ket          Ket
4644          Ket          Ket
# Line 4735  No need char Line 4647  No need char
4647          a          a
4648          CBra 2          CBra 2
4649          b          b
         Once  
4650          Recurse          Recurse
         Ket  
4651          c          c
4652          Ket          Ket
4653          Ket          Ket
# Line 4766  No need char Line 4676  No need char
4676    
4677  /((w\/|-|with)*(free|immediate)*.*?shipping\s*[!.-]*)/Ii  /((w\/|-|with)*(free|immediate)*.*?shipping\s*[!.-]*)/Ii
4678  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
4679  Options: caseless  Options: caseless
4680  No first char  No first char
4681  Need char = 'g' (caseless)  Need char = 'g' (caseless)
# Line 4776  Need char = 'g' (caseless) Line 4685  Need char = 'g' (caseless)
4685    
4686  /((w\/|-|with)*(free|immediate)*.*?shipping\s*[!.-]*)/IiS  /((w\/|-|with)*(free|immediate)*.*?shipping\s*[!.-]*)/IiS
4687  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
4688  Options: caseless  Options: caseless
4689  No first char  No first char
4690  Need char = 'g' (caseless)  Need char = 'g' (caseless)
4691  Study returned NULL  Subject length lower bound = 8
4692    No set of starting bytes
4693       Baby Bjorn Active Carrier - With free SHIPPING!!       Baby Bjorn Active Carrier - With free SHIPPING!!
4694   0: Baby Bjorn Active Carrier - With free SHIPPING!!   0: Baby Bjorn Active Carrier - With free SHIPPING!!
4695   1: Baby Bjorn Active Carrier - With free SHIPPING!!   1: Baby Bjorn Active Carrier - With free SHIPPING!!
# Line 4795  Study returned NULL Line 4704  Study returned NULL
4704          End          End
4705  ------------------------------------------------------------------  ------------------------------------------------------------------
4706  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
4707  No options  No options
4708  No first char  No first char
4709  Need char = 'b'  Need char = 'b'
4710  Study returned NULL  Subject length lower bound = 1
4711    No set of starting bytes
4712    
4713  /(a|b)*.?c/ISDZ  /(a|b)*.?c/ISDZ
4714  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 4819  Capturing subpattern count = 1 Line 4728  Capturing subpattern count = 1
4728  No options  No options
4729  No first char  No first char
4730  Need char = 'c'  Need char = 'c'
4731  Study returned NULL  Subject length lower bound = 1
4732    No set of starting bytes
4733    
4734  /abc(?C255)de(?C)f/DZ  /abc(?C255)de(?C)f/DZ
4735  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 4876  Need char = 'e' Line 4786  Need char = 'e'
4786   +4 ^   ^      e   +4 ^   ^      e
4787  No match  No match
4788    
4789  /a*b/ICDZ  /a*b/ICDZS
4790    ------------------------------------------------------------------
4791            Bra
4792            Callout 255 0 2
4793            a*+
4794            Callout 255 2 1
4795            b
4796            Callout 255 3 0
4797            Ket
4798            End
4799    ------------------------------------------------------------------
4800    Capturing subpattern count = 0
4801    Options:
4802    No first char
4803    Need char = 'b'
4804    Subject length lower bound = 1
4805    Starting byte set: a b
4806      ab
4807    --->ab
4808     +0 ^      a*
4809     +2 ^^     b
4810     +3 ^ ^
4811     0: ab
4812      aaaab
4813    --->aaaab
4814     +0 ^         a*
4815     +2 ^   ^     b
4816     +3 ^    ^
4817     0: aaaab
4818      aaaacb
4819    --->aaaacb
4820     +0 ^          a*
4821     +2 ^   ^      b
4822     +0  ^         a*
4823     +2  ^  ^      b
4824     +0   ^        a*
4825     +2   ^ ^      b
4826     +0    ^       a*
4827     +2    ^^      b
4828     +0      ^     a*
4829     +2      ^     b
4830     +3      ^^
4831     0: b
4832    
4833    /a*b/ICDZSS
4834  ------------------------------------------------------------------  ------------------------------------------------------------------
4835          Bra          Bra
4836          Callout 255 0 2          Callout 255 0 2
# Line 4888  No match Line 4842  No match
4842          End          End
4843  ------------------------------------------------------------------  ------------------------------------------------------------------
4844  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
4845  Options:  Options:
4846  No first char  No first char
4847  Need char = 'b'  Need char = 'b'
# Line 4933  Need char = 'b' Line 4886  Need char = 'b'
4886          End          End
4887  ------------------------------------------------------------------  ------------------------------------------------------------------
4888  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
4889  Options:  Options:
4890  First char = 'a'  First char = 'a'
4891  Need char = 'b'  Need char = 'b'
# Line 4961  Need char = 'b' Line 4913  Need char = 'b'
4913   +2    ^^      b   +2    ^^      b
4914  No match  No match
4915    
4916  /(abc|def)x/ICDZ  /(abc|def)x/ICDZS
4917  ------------------------------------------------------------------  ------------------------------------------------------------------
4918          Bra          Bra
4919          Callout 255 0 9          Callout 255 0 9
# Line 4992  Capturing subpattern count = 1 Line 4944  Capturing subpattern count = 1
4944  Options:  Options:
4945  No first char  No first char
4946  Need char = 'x'  Need char = 'x'
4947    Subject length lower bound = 4
4948    Starting byte set: a d
4949    abcx    abcx
4950  --->abcx  --->abcx
4951   +0 ^        (abc|def)   +0 ^        (abc|def)
# Line 5015  Need char = 'x' Line 4969  Need char = 'x'
4969  +10 ^   ^  +10 ^   ^
4970   0: defx   0: defx
4971   1: def   1: def
4972      ** Failers
4973    No match
4974    abcdefzx    abcdefzx
4975  --->abcdefzx  --->abcdefzx
4976   +0 ^            (abc|def)   +0 ^            (abc|def)
# Line 5024  Need char = 'x' Line 4980  Need char = 'x'
4980   +4 ^  ^         |   +4 ^  ^         |
4981   +9 ^  ^         x   +9 ^  ^         x
4982   +5 ^            d   +5 ^            d
  +0  ^           (abc|def)  
  +1  ^           a  
  +5  ^           d  
  +0   ^          (abc|def)  
  +1   ^          a  
  +5   ^          d  
4983   +0    ^         (abc|def)   +0    ^         (abc|def)
4984   +1    ^         a   +1    ^         a
4985   +5    ^         d   +5    ^         d
# Line 5037  Need char = 'x' Line 4987  Need char = 'x'
4987   +7    ^ ^       f   +7    ^ ^       f
4988   +8    ^  ^      )   +8    ^  ^      )
4989   +9    ^  ^      x   +9    ^  ^      x
  +0     ^        (abc|def)  
  +1     ^        a  
  +5     ^        d  
  +0      ^       (abc|def)  
  +1      ^       a  
  +5      ^       d  
  +0       ^      (abc|def)  
  +1       ^      a  
  +5       ^      d  
  +0        ^     (abc|def)  
  +1        ^     a  
  +5        ^     d  
4990  No match  No match
4991    
4992  /(ab|cd){3,4}/IC  /(abc|def)x/ICDZSS
4993    ------------------------------------------------------------------
4994            Bra
4995            Callout 255 0 9
4996            CBra 1
4997            Callout 255 1 1
4998            a
4999            Callout 255 2 1
5000            b
5001            Callout 255 3 1
5002            c
5003            Callout 255 4 0
5004            Alt
5005            Callout 255 5 1
5006            d
5007            Callout 255 6 1
5008            e
5009            Callout 255 7 1
5010            f
5011            Callout 255 8 0
5012            Ket
5013            Callout 255 9 1
5014            x
5015            Callout 255 10 0
5016            Ket
5017            End
5018    ------------------------------------------------------------------
5019  Capturing subpattern count = 1  Capturing subpattern count = 1
5020  Options:  Options:
5021  No first char  No first char
5022  No need char  Need char = 'x'
5023    ababab    abcx
5024  --->ababab  --->abcx
5025     +0 ^        (abc|def)
5026     +1 ^        a
5027     +2 ^^       b
5028     +3 ^ ^      c
5029     +4 ^  ^     |
5030     +9 ^  ^     x
5031    +10 ^   ^
5032     0: abcx
5033     1: abc
5034      defx
5035    --->defx
5036     +0 ^        (abc|def)
5037     +1 ^        a
5038     +5 ^        d
5039     +6 ^^       e
5040     +7 ^ ^      f
5041     +8 ^  ^     )
5042     +9 ^  ^     x
5043    +10 ^   ^
5044     0: defx
5045     1: def
5046      ** Failers
5047    No match
5048      abcdefzx
5049    --->abcdefzx
5050     +0 ^            (abc|def)
5051     +1 ^            a
5052     +2 ^^           b
5053     +3 ^ ^          c
5054     +4 ^  ^         |
5055     +9 ^  ^         x
5056     +5 ^            d
5057     +0  ^           (abc|def)
5058     +1  ^           a
5059     +5  ^           d
5060     +0   ^          (abc|def)
5061     +1   ^          a
5062     +5   ^          d
5063     +0    ^         (abc|def)
5064     +1    ^         a
5065     +5    ^         d
5066     +6    ^^        e
5067     +7    ^ ^       f
5068     +8    ^  ^      )
5069     +9    ^  ^      x
5070     +0     ^        (abc|def)
5071     +1     ^        a
5072     +5     ^        d
5073     +0      ^       (abc|def)
5074     +1      ^       a
5075     +5      ^       d
5076     +0       ^      (abc|def)
5077     +1       ^      a
5078     +5       ^      d
5079     +0        ^     (abc|def)
5080     +1        ^     a
5081     +5        ^     d
5082    No match
5083    
5084    /(ab|cd){3,4}/IC
5085    Capturing subpattern count = 1
5086    Options:
5087    No first char
5088    No need char
5089      ababab
5090    --->ababab
5091   +0 ^          (ab|cd){3,4}   +0 ^          (ab|cd){3,4}
5092   +1 ^          a   +1 ^          a
5093   +2 ^^         b   +2 ^^         b
# Line 5115  No need char Line 5145  No need char
5145   0: abcdcdcd   0: abcdcdcd
5146   1: cd   1: cd
5147    
5148  /([ab]{,4}c|xy)/ICDZ  /([ab]{,4}c|xy)/ICDZS
5149    ------------------------------------------------------------------
5150            Bra
5151            Callout 255 0 14
5152            CBra 1
5153            Callout 255 1 4
5154            [ab]
5155            Callout 255 5 1
5156            {
5157            Callout 255 6 1
5158            ,
5159            Callout 255 7 1
5160            4
5161            Callout 255 8 1
5162            }
5163            Callout 255 9 1
5164            c
5165            Callout 255 10 0
5166            Alt
5167            Callout 255 11 1
5168            x
5169            Callout 255 12 1
5170            y
5171            Callout 255 13 0
5172            Ket
5173            Callout 255 14 0
5174            Ket
5175            End
5176    ------------------------------------------------------------------
5177    Capturing subpattern count = 1
5178    Options:
5179    No first char
5180    No need char
5181    Subject length lower bound = 2
5182    Starting byte set: a b x
5183        Note: that { does NOT introduce a quantifier
5184    --->Note: that { does NOT introduce a quantifier
5185     +0         ^                                        ([ab]{,4}c|xy)
5186     +1         ^                                        [ab]
5187     +5         ^^                                       {
5188    +11         ^                                        x
5189     +0                                 ^                ([ab]{,4}c|xy)
5190     +1                                 ^                [ab]
5191     +5                                 ^^               {
5192    +11                                 ^                x
5193     +0                                     ^            ([ab]{,4}c|xy)
5194     +1                                     ^            [ab]
5195     +5                                     ^^           {
5196    +11                                     ^            x
5197    No match
5198    
5199    /([ab]{,4}c|xy)/ICDZSS
5200  ------------------------------------------------------------------  ------------------------------------------------------------------
5201          Bra          Bra
5202          Callout 255 0 14          Callout 255 0 14
# Line 5371  No match Line 5452  No match
5452          End          End
5453  ------------------------------------------------------------------  ------------------------------------------------------------------
5454  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
5455  Options:  Options:
5456  No first char  No first char
5457  Need char = '3'  Need char = '3'
# Line 5403  Need char = '3' Line 5483  Need char = '3'
5483    
5484  /\b.*/I  /\b.*/I
5485  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5486  No options  No options
5487  No first char  No first char
5488  No need char  No need char
# Line 5412  No need char Line 5491  No need char
5491    
5492  /\b.*/Is  /\b.*/Is
5493  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5494  Options: dotall  Options: dotall
5495  No first char  No first char
5496  No need char  No need char
# Line 5421  No need char Line 5499  No need char
5499    
5500  /(?!.bcd).*/I  /(?!.bcd).*/I
5501  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5502  No options  No options
5503  No first char  No first char
5504  No need char  No need char
# Line 5434  No options Line 5511  No options
5511  First char = 'a'  First char = 'a'
5512  Need char = 'e'  Need char = 'e'
5513      ab\P      ab\P
5514  Partial match  Partial match: ab
5515      abc\P      abc\P
5516  Partial match  Partial match: abc
5517      abcd\P      abcd\P
5518  Partial match  Partial match: abcd
5519      abcde\P      abcde\P
5520   0: abcde   0: abcde
5521      the quick brown abc\P      the quick brown abc\P
5522  Partial match  Partial match: abc
5523      ** Failers\P      ** Failers\P
5524  No match  No match
5525      the quick brown abxyz fox\P      the quick brown abxyz fox\P
# Line 5467  Need char = '/' Line 5544  Need char = '/'
5544   1: 02   1: 02
5545   2: 05   2: 05
5546      1\P      1\P
5547  Partial match  Partial match: 1
5548      1/2\P      1/2\P
5549  Partial match  Partial match: 1/2
5550      1/2/0\P      1/2/0\P
5551  Partial match  Partial match: 1/2/0
5552      1/2/04\P      1/2/04\P
5553   0: 1/2/04   0: 1/2/04
5554   1: 1   1: 1
5555   2: 2   2: 2
5556      0\P      0\P
5557  Partial match  Partial match: 0
5558      02/\P      02/\P
5559  Partial match  Partial match: 02/
5560      02/0\P      02/0\P
5561  Partial match  Partial match: 02/0
5562      02/1\P      02/1\P
5563  Partial match  Partial match: 02/1
5564      ** Failers\P      ** Failers\P
5565  No match  No match
5566      \P      \P
# Line 5505  No match Line 5582  No match
5582    
5583  /0{0,2}ABC/I  /0{0,2}ABC/I
5584  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5585  No options  No options
5586  No first char  No first char
5587  Need char = 'C'  Need char = 'C'
5588    
5589  /\d{3,}ABC/I  /\d{3,}ABC/I
5590  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5591  No options  No options
5592  No first char  No first char
5593  Need char = 'C'  Need char = 'C'
5594    
5595  /\d*ABC/I  /\d*ABC/I
5596  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5597  No options  No options
5598  No first char  No first char
5599  Need char = 'C'  Need char = 'C'
5600    
5601  /[abc]+DE/I  /[abc]+DE/I
5602  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5603  No options  No options
5604  No first char  No first char
5605  Need char = 'E'  Need char = 'E'
# Line 5539  Need char = '3' Line 5612  Need char = '3'
5612      123\P      123\P
5613   0: 123   0: 123
5614      a\P      a\P
5615  Partial match  Partial match: a
5616      b\P      b\P
5617  Partial match  Partial match: b
5618      c\P      c\P
5619  Partial match  Partial match: c
5620      c12\P      c12\P
5621  Partial match  Partial match: c12
5622      c123\P      c123\P
5623   0: c123   0: c123
5624    
# Line 5555  Options: anchored Line 5628  Options: anchored
5628  No first char  No first char
5629  Need char = 'X'  Need char = 'X'
5630      1\P      1\P
5631  Partial match  Partial match: 1
5632      123\P      123\P
5633  Partial match  Partial match: 123
5634      123X      123X
5635   0: 123X   0: 123X
5636      1234\P      1234\P
5637  Partial match  Partial match: 1234
5638      1234X      1234X
5639   0: 1234X   0: 1234X
5640      12345\P      12345\P
5641  Partial match  Partial match: 12345
5642      12345X      12345X
5643   0: 12345X   0: 12345X
5644      *** Failers      *** Failers
# Line 5575  No match Line 5648  No match
5648      123456\P      123456\P
5649  No match  No match
5650    
5651  /abc/I>testsavedregex  /abc/IS>testsavedregex
5652    Capturing subpattern count = 0
5653    No options
5654    First char = 'a'
5655    Need char = 'c'
5656    Subject length lower bound = 3
5657    No set of starting bytes
5658    Compiled pattern written to testsavedregex
5659    Study data written to testsavedregex
5660    <testsavedregex
5661    Compiled pattern loaded from testsavedregex
5662    Study data loaded from testsavedregex
5663        abc
5664     0: abc
5665        ** Failers
5666    No match
5667        bca
5668    No match
5669    
5670    /abc/ISS>testsavedregex
5671  Capturing subpattern count = 0  Capturing subpattern count = 0
5672  No options  No options
5673  First char = 'a'  First char = 'a'
5674  Need char = 'c'  Need char = 'c'
5675  Compiled regex written to testsavedregex  Compiled pattern written to testsavedregex
5676  <testsavedregex  <testsavedregex
5677  Compiled regex loaded from testsavedregex  Compiled pattern loaded from testsavedregex
5678  No study data  No study data
5679      abc      abc
5680   0: abc   0: abc
# Line 5591  No match Line 5683  No match
5683      bca      bca
5684  No match  No match
5685    
5686  /abc/IF>testsavedregex  /abc/IFS>testsavedregex
5687    Capturing subpattern count = 0
5688    No options
5689    First char = 'a'
5690    Need char = 'c'
5691    Subject length lower bound = 3
5692    No set of starting bytes
5693    Compiled pattern written to testsavedregex
5694    Study data written to testsavedregex
5695    <testsavedregex
5696    Compiled pattern (byte-inverted) loaded from testsavedregex
5697    Study data loaded from testsavedregex
5698        abc
5699     0: abc
5700        ** Failers
5701    No match
5702        bca
5703    No match
5704    
5705    /abc/IFSS>testsavedregex
5706  Capturing subpattern count = 0  Capturing subpattern count = 0
5707  No options  No options
5708  First char = 'a'  First char = 'a'
5709  Need char = 'c'  Need char = 'c'
5710  Compiled regex written to testsavedregex  Compiled pattern written to testsavedregex
5711  <testsavedregex  <testsavedregex
5712  Compiled regex (byte-inverted) loaded from testsavedregex  Compiled pattern (byte-inverted) loaded from testsavedregex
5713  No study data  No study data
5714      abc      abc
5715   0: abc   0: abc
# Line 5612  Capturing subpattern count = 1 Line 5723  Capturing subpattern count = 1
5723  No options  No options
5724  No first char  No first char
5725  No need char  No need char
5726    Subject length lower bound = 1
5727  Starting byte set: a b  Starting byte set: a b
5728  Compiled regex written to testsavedregex  Compiled pattern written to testsavedregex
5729  Study data written to testsavedregex  Study data written to testsavedregex
5730  <testsavedregex  <testsavedregex
5731  Compiled regex loaded from testsavedregex  Compiled pattern loaded from testsavedregex
5732  Study data loaded from testsavedregex  Study data loaded from testsavedregex
5733      abc      abc
5734   0: a   0: a
# Line 5627  Study data loaded from testsavedregex Line 5739  Study data loaded from testsavedregex
5739      def      def
5740  No match  No match
5741    
5742    /(a|b)/ISS>testsavedregex
5743    Capturing subpattern count = 1
5744    No options
5745    No first char
5746    No need char
5747    Compiled pattern written to testsavedregex
5748    <testsavedregex
5749    Compiled pattern loaded from testsavedregex
5750    No study data
5751        abc
5752     0: a
5753     1: a
5754        ** Failers
5755     0: a
5756     1: a
5757        def
5758    No match
5759    
5760  /(a|b)/ISF>testsavedregex  /(a|b)/ISF>testsavedregex
5761  Capturing subpattern count = 1  Capturing subpattern count = 1
5762  No options  No options
5763  No first char  No first char
5764  No need char  No need char
5765    Subject length lower bound = 1
5766  Starting byte set: a b  Starting byte set: a b
5767  Compiled regex written to testsavedregex  Compiled pattern written to testsavedregex
5768  Study data written to testsavedregex  Study data written to testsavedregex
5769  <testsavedregex  <testsavedregex
5770  Compiled regex (byte-inverted) loaded from testsavedregex  Compiled pattern (byte-inverted) loaded from testsavedregex
5771  Study data loaded from testsavedregex  Study data loaded from testsavedregex
5772      abc      abc
5773   0: a   0: a
# Line 5647  Study data loaded from testsavedregex Line 5778  Study data loaded from testsavedregex
5778      def      def
5779  No match  No match
5780    
5781    /(a|b)/ISSF>testsavedregex
5782    Capturing subpattern count = 1
5783    No options
5784    No first char
5785    No need char
5786    Compiled pattern written to testsavedregex
5787    <testsavedregex
5788    Compiled pattern (byte-inverted) loaded from testsavedregex
5789    No study data
5790        abc
5791     0: a
5792     1: a
5793        ** Failers
5794     0: a
5795     1: a
5796        def
5797    No match
5798    
5799  ~<(\w+)/?>(.)*</(\1)>~smgI  ~<(\w+)/?>(.)*</(\1)>~smgI
5800  Capturing subpattern count = 3  Capturing subpattern count = 3
5801  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
5802  Options: multiline dotall  Options: multiline dotall
5803  First char = '<'  First char = '<'
5804  Need char = '>'  Need char = '>'
# Line 5703  No match Line 5851  No match
5851      line one\nthis is a line\nbreak in the second line      line one\nthis is a line\nbreak in the second line
5852  No match  No match
5853    
5854  /ab.cd/IP  /ab.cd/P
5855      ab-cd      ab-cd
5856   0: ab-cd   0: ab-cd
5857      ab=cd      ab=cd
# Line 5713  No match: POSIX code 17: match failed Line 5861  No match: POSIX code 17: match failed
5861      ab\ncd      ab\ncd
5862  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
5863    
5864  /ab.cd/IPs  /ab.cd/Ps
5865      ab-cd      ab-cd
5866   0: ab-cd   0: ab-cd
5867      ab=cd      ab=cd
# Line 5957  Matched, but too many substrings Line 6105  Matched, but too many substrings
6105    
6106  /[^()]*(?:\((?R)\)[^()]*)*/I  /[^()]*(?:\((?R)\)[^()]*)*/I
6107  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 Contains explicit CR or LF match  
6108  No options  No options
6109  No first char  No first char
6110  No need char  No need char
# Line 5971  No need char Line 6117  No need char
6117    
6118  /[^()]*(?:\((?>(?R))\)[^()]*)*/I  /[^()]*(?:\((?>(?R))\)[^()]*)*/I
6119  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 Contains explicit CR or LF match  
6120  No options  No options
6121  No first char  No first char
6122  No need char  No need char
# Line 5983  No need char Line 6127  No need char
6127    
6128  /[^()]*(?:\((?R)\))*[^()]*/I  /[^()]*(?:\((?R)\))*[^()]*/I
6129  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 Contains explicit CR or LF match  
6130  No options  No options
6131  No first char  No first char
6132  No need char  No need char
# Line 5995  No need char Line 6137  No need char
6137    
6138  /(?:\((?R)\))*[^()]*/I  /(?:\((?R)\))*[^()]*/I
6139  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 Contains explicit CR or LF match  
6140  No options  No options
6141  No first char  No first char
6142  No need char  No need char
# Line 6009  No need char Line 6149  No need char
6149    
6150  /(?:\((?R)\))|[^()]*/I  /(?:\((?R)\))|[^()]*/I
6151  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
 Contains explicit CR or LF match  
6152  No options  No options
6153  No first char  No first char
6154  No need char  No need char
# Line 6023  No need char Line 6161  No need char
6161      ((this))      ((this))
6162   0: ((this))   0: ((this))
6163    
6164  /a(b)c/IPN  /a(b)c/PN
6165      abc      abc
6166  Matched with REG_NOSUB  Matched with REG_NOSUB
6167    
6168  /a(?P<name>b)c/IPN  /a(?P<name>b)c/PN
6169      abc      abc
6170  Matched with REG_NOSUB  Matched with REG_NOSUB
6171    
# Line 6205  Named capturing subpatterns: Line 6343  Named capturing subpatterns:
6343    A   2    A   2
6344    A   3    A   3
6345  Options: anchored dupnames  Options: anchored dupnames
6346    Duplicate name status changes
6347  No first char  No first char
6348  No need char  No need char
6349      a1b\CA      a1b\CA
# Line 6351  Failed: octal value is greater than \377 Line 6490  Failed: octal value is greater than \377
6490    
6491  /\s*,\s*/IS  /\s*,\s*/IS
6492  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
6493  No options  No options
6494  No first char  No first char
6495  Need char = ','  Need char = ','
6496    Subject length lower bound = 1
6497  Starting byte set: \x09 \x0a \x0c \x0d \x20 ,  Starting byte set: \x09 \x0a \x0c \x0d \x20 ,
6498      \x0b,\x0b      \x0b,\x0b
6499   0: ,   0: ,
# Line 6481  Unknown newline type at: <bad> Line 6620  Unknown newline type at: <bad>
6620    
6621  /.*/I<lf>  /.*/I<lf>
6622  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
6623  Options:  Options:
6624  Forced newline sequence: LF  Forced newline sequence: LF
6625  First char at start or follows newline  First char at start or follows newline
# Line 6507  No need char Line 6645  No need char
6645    
6646  /\w+(.)(.)?def/Is  /\w+(.)(.)?def/Is
6647  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
6648  Options: dotall  Options: dotall
6649  No first char  No first char
6650  Need char = 'f'  Need char = 'f'
# Line 6524  Need char = 'f' Line 6661  Need char = 'f'
6661    
6662  +((?:\s|//.*\\n|/[*](?:\\n|.)*?[*]/)*)+I  +((?:\s|//.*\\n|/[*](?:\\n|.)*?[*]/)*)+I
6663  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
6664  No options  No options
6665  No first char  No first char
6666  No need char  No need char
6667     /* this is a C style comment */\M     /* this is a C style comment */\M
6668  Minimum match() limit = 120  Minimum match() limit = 120
6669  Minimum match() recursion limit = 6  Minimum match() recursion limit = 35
6670   0: /* this is a C style comment */   0: /* this is a C style comment */
6671   1: /* this is a C style comment */   1: /* this is a C style comment */
6672    
# Line 6659  No need char Line 6795  No need char
6795    
6796  /(a*b|(?i:c*(?-i)d))/IS  /(a*b|(?i:c*(?-i)d))/IS
6797  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
6798  No options  No options
6799  No first char  No first char
6800  No need char  No need char
6801    Subject length lower bound = 1
6802  Starting byte set: C a b c d  Starting byte set: C a b c d
6803    
6804  /()[ab]xyz/IS  /()[ab]xyz/IS
# Line 6670  Capturing subpattern count = 1 Line 6806  Capturing subpattern count = 1
6806  No options  No options
6807  No first char  No first char
6808  Need char = 'z'  Need char = 'z'
6809    Subject length lower bound = 4
6810  Starting byte set: a b  Starting byte set: a b
6811    
6812  /(|)[ab]xyz/IS  /(|)[ab]xyz/IS
# Line 6677  Capturing subpattern count = 1 Line 6814  Capturing subpattern count = 1
6814  No options  No options
6815  No first char  No first char
6816  Need char = 'z'  Need char = 'z'
6817    Subject length lower bound = 4
6818  Starting byte set: a b  Starting byte set: a b
6819    
6820  /(|c)[ab]xyz/IS  /(|c)[ab]xyz/IS
# Line 6684  Capturing subpattern count = 1 Line 6822  Capturing subpattern count = 1
6822  No options  No options
6823  No first char  No first char
6824  Need char = 'z'  Need char = 'z'
6825    Subject length lower bound = 4
6826  Starting byte set: a b c  Starting byte set: a b c
6827    
6828  /(|c?)[ab]xyz/IS  /(|c?)[ab]xyz/IS
# Line 6691  Capturing subpattern count = 1 Line 6830  Capturing subpattern count = 1
6830  No options  No options
6831  No first char  No first char
6832  Need char = 'z'  Need char = 'z'
6833    Subject length lower bound = 4
6834  Starting byte set: a b c  Starting byte set: a b c
6835    
6836  /(d?|c?)[ab]xyz/IS  /(d?|c?)[ab]xyz/IS
# Line 6698  Capturing subpattern count = 1 Line 6838  Capturing subpattern count = 1
6838  No options  No options
6839  No first char  No first char
6840  Need char = 'z'  Need char = 'z'
6841    Subject length lower bound = 4
6842  Starting byte set: a b c d  Starting byte set: a b c d
6843    
6844  /(d?|c)[ab]xyz/IS  /(d?|c)[ab]xyz/IS
# Line 6705  Capturing subpattern count = 1 Line 6846  Capturing subpattern count = 1
6846  No options  No options
6847  No first char  No first char
6848  Need char = 'z'  Need char = 'z'
6849    Subject length lower bound = 4
6850  Starting byte set: a b c d  Starting byte set: a b c d
6851    
6852  /^a*b\d/DZ  /^a*b\d/DZ
# Line 6718  Starting byte set: a b c d Line 6860  Starting byte set: a b c d
6860          End          End
6861  ------------------------------------------------------------------  ------------------------------------------------------------------
6862  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
6863  Options: anchored  Options: anchored
6864  No first char  No first char
6865  Need char = 'b'  Need char = 'b'
# Line 6734  Need char = 'b' Line 6875  Need char = 'b'
6875          End          End
6876  ------------------------------------------------------------------  ------------------------------------------------------------------
6877  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
6878  Options: anchored  Options: anchored
6879  No first char  No first char
6880  Need char = 'b'  Need char = 'b'
# Line 6750  Need char = 'b' Line 6890  Need char = 'b'
6890          End          End
6891  ------------------------------------------------------------------  ------------------------------------------------------------------
6892  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
6893  Options: anchored  Options: anchored
6894  No first char  No first char
6895  Need char = 'b'  Need char = 'b'
# Line 6766  Need char = 'b' Line 6905  Need char = 'b'
6905          End          End
6906  ------------------------------------------------------------------  ------------------------------------------------------------------
6907  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
6908  Options: anchored  Options: anchored
6909  No first char  No first char
6910  Need char = 'A'  Need char = 'A'
# Line 6781  No match Line 6919  No match
6919  ------------------------------------------------------------------  ------------------------------------------------------------------
6920          Bra          Bra
6921          ^          ^
6922          a*       /i a*
6923       NC A       /i A
6924          \d          \d
6925          Ket          Ket
6926          End          End
6927  ------------------------------------------------------------------  ------------------------------------------------------------------
6928  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
6929  Options: anchored caseless  Options: anchored caseless
6930  No first char  No first char
6931  Need char = 'A' (caseless)  Need char = 'A' (caseless)
# Line 6799  Need char = 'A' (caseless) Line 6936  Need char = 'A' (caseless)
6936    
6937  /(a*|b*)[cd]/IS  /(a*|b*)[cd]/IS
6938  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
6939  No options  No options
6940  No first char  No first char
6941  No need char  No need char
6942    Subject length lower bound = 1
6943  Starting byte set: a b c d  Starting byte set: a b c d
6944    
6945  /(a+|b*)[cd]/IS  /(a+|b*)[cd]/IS
6946  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
6947  No options  No options
6948  No first char  No first char
6949  No need char  No need char
6950    Subject length lower bound = 1
6951  Starting byte set: a b c d  Starting byte set: a b c d
6952    
6953  /(a*|b+)[cd]/IS  /(a*|b+)[cd]/IS
6954  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
6955  No options  No options
6956  No first char  No first char
6957  No need char  No need char
6958    Subject length lower bound = 1
6959  Starting byte set: a b c d  Starting byte set: a b c d
6960    
6961  /(a+|b+)[cd]/IS  /(a+|b+)[cd]/IS
6962  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
6963  No options  No options
6964  No first char  No first char
6965  No need char  No need char
6966    Subject length lower bound = 2
6967  Starting byte set: a b  Starting byte set: a b
6968    
6969  /((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((  /((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
# Line 7411  Matched, but too many substrings Line 7548  Matched, but too many substrings
7548  /[^a]+a/BZi  /[^a]+a/BZi
7549  ------------------------------------------------------------------  ------------------------------------------------------------------
7550          Bra          Bra
7551          [^A]++       /i [^A]++
7552       NC a       /i a
7553          Ket          Ket
7554          End          End
7555  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 7420  Matched, but too many substrings Line 7557  Matched, but too many substrings
7557  /[^a]+A/BZi  /[^a]+A/BZi
7558  ------------------------------------------------------------------  ------------------------------------------------------------------
7559          Bra          Bra
7560          [^A]++       /i [^A]++
7561       NC A       /i A
7562          Ket          Ket
7563          End          End
7564  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 7616  No match Line 7753  No match
7753  ------------------------------------------------------------------  ------------------------------------------------------------------
7754          Bra          Bra
7755          ^          ^
         Once  
7756          Recurse          Recurse
         Ket  
7757          [()]          [()]
7758          CBra 1          CBra 1
7759          Ket          Ket
# Line 7632  No match Line 7767  No match
7767          ^          ^
7768          CBra 1          CBra 1
7769          Cond          Cond
7770        2 Cond ref        2 Cond nref
7771          y          y
7772          Ket          Ket
7773          [()]          [()]
# Line 7652  No match Line 7787  No match
7787  ------------------------------------------------------------------  ------------------------------------------------------------------
7788          Bra          Bra
7789          ^          ^
         Once  
7790          Recurse          Recurse
         Ket  
7791          ()          ()
7792          CBra 1          CBra 1
7793          Ket          Ket
# Line 7666  No match Line 7799  No match
7799  ------------------------------------------------------------------  ------------------------------------------------------------------
7800          Bra          Bra
7801          ^          ^
         Once  
7802          Recurse          Recurse
         Ket  
7803          [(\]a]          [(\]a]
7804          CBra 1          CBra 1
7805          Ket          Ket
# Line 7681  No match Line 7812  No match
7812  ------------------------------------------------------------------  ------------------------------------------------------------------
7813          Bra          Bra
7814          ^          ^
         Once  
7815          Recurse          Recurse
         Ket  
7816          CBra 1          CBra 1
7817          Ket          Ket
7818          Ket          Ket
# Line 7698  Named capturing subpatterns: Line 7827  Named capturing subpatterns:
7827    one     1    one     1
7828    three   3    three   3
7829    two     2    two     2
 Partial matching not supported  
7830  Options: anchored caseless  Options: anchored caseless
7831  No first char  No first char
7832  No need char  No need char
# Line 7732  No match Line 7860  No match
7860  /(?=(\w+))\1:/I  /(?=(\w+))\1:/I
7861  Capturing subpattern count = 1  Capturing subpattern count = 1
7862  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
7863  No options  No options
7864  No first char  No first char
7865  Need char = ':'  Need char = ':'
# Line 7745  Capturing subpattern count = 1 Line 7872  Capturing subpattern count = 1
7872  Max back reference = 1  Max back reference = 1
7873  Named capturing subpatterns:  Named capturing subpatterns:
7874    abc   1    abc   1
 Partial matching not supported  
7875  No options  No options
7876  No first char  No first char
7877  Need char = ':'  Need char = ':'
# Line 7753  Need char = ':' Line 7879  Need char = ':'
7879   0: abcd:   0: abcd:
7880   1: abcd   1: abcd
7881    
 /(?'abc'\w+):\k<abc>{2}/  
     a:aaxyz  
  0: a:aa  
  1: a  
     ab:ababxyz  
  0: ab:abab  
  1: ab  
     ** Failers  
 No match  
     a:axyz  
 No match  
     ab:abxyz  
 No match  
   
7882  /(?'abc'a|b)(?<abc>d|e)\k<abc>{2}/J  /(?'abc'a|b)(?<abc>d|e)\k<abc>{2}/J
7883      adaa      adaa
7884   0: adaa   0: adaa
# Line 7793  No match Line 7905  No match
7905      bddd      bddd
7906  No match  No match
7907    
 /^(?<ab>a)? (?(<ab>)b|c) (?('ab')d|e)/x  
     abd  
  0: abd  
  1: a  
     ce  
  0: ce  
   
7908  /(?(<bc))/  /(?(<bc))/
7909  Failed: malformed number or name after (?( at offset 6  Failed: malformed number or name after (?( at offset 6
7910    
# Line 7830  Failed: reference to non-existent subpat Line 7935  Failed: reference to non-existent subpat
7935   1: abcabc1Xabc2XabcX   1: abcabc1Xabc2XabcX
7936   2: abcabc1Xabc2XabcX   2: abcabc1Xabc2XabcX
7937    
 /^(?(DEFINE) (?<A> a) (?<B> b) )  (?&A) (?&B) /x  
     abcd  
  0: ab  
  1: <unset>  
  2: <unset>  
   
 /(?<NAME>(?&NAME_PAT))\s+(?<ADDR>(?&ADDRESS_PAT))  
   (?(DEFINE)  
   (?<NAME_PAT>[a-z]+)  
   (?<ADDRESS_PAT>\d+)  
   )/x  
     metcalfe 33  
  0: metcalfe 33  
  1: metcalfe  
  2: 33  
  3: <unset>  
  4: <unset>  
   
7938  /^(?(DEFINE) abc | xyz ) /x  /^(?(DEFINE) abc | xyz ) /x
7939  Failed: DEFINE group contains more than one branch at offset 22  Failed: DEFINE group contains more than one branch at offset 22
7940    
# Line 7889  No match Line 7976  No match
7976  No match  No match
7977    
7978  /^abc./mgx<any>  /^abc./mgx<any>
7979      abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x85abc7 \x{2028}abc8 \x{2029}abc9 JUNK      abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x85abc7 JUNK
7980   0: abc1   0: abc1
7981   0: abc2   0: abc2
7982   0: abc3   0: abc3
# Line 7899  No match Line 7986  No match
7986   0: abc7   0: abc7
7987    
7988  /abc.$/mgx<any>  /abc.$/mgx<any>
7989      abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x85 abc7\x{2028} abc8\x{2029} abc9      abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x85 abc7 abc9
7990   0: abc1   0: abc1
7991   0: abc2   0: abc2
7992   0: abc3   0: abc3
# Line 7913  No match Line 8000  No match
8000  /a/<any><crlf>  /a/<any><crlf>
8001  Failed: inconsistent NEWLINE options at offset 0  Failed: inconsistent NEWLINE options at offset 0
8002    
8003  /^a\Rb/  /^a\Rb/<bsr_unicode>
8004      a\nb      a\nb
8005   0: a\x0ab   0: a\x0ab
8006      a\rb      a\rb
# Line 7931  No match Line 8018  No match
8018      a\n\rb      a\n\rb
8019  No match  No match
8020    
8021  /^a\R*b/  /^a\R*b/<bsr_unicode>
8022      ab      ab
8023   0: ab   0: ab
8024      a\nb      a\nb
# Line 7951  No match Line 8038  No match
8038      a\n\r\x85\x0cb      a\n\r\x85\x0cb
8039   0: a\x0a\x0d\x85\x0cb   0: a\x0a\x0d\x85\x0cb
8040    
8041  /^a\R+b/  /^a\R+b/<bsr_unicode>
8042      a\nb      a\nb
8043   0: a\x0ab   0: a\x0ab
8044      a\rb      a\rb
# Line 7973  No match Line 8060  No match
8060      ab      ab
8061  No match  No match
8062    
8063  /^a\R{1,3}b/  /^a\R{1,3}b/<bsr_unicode>
8064      a\nb      a\nb
8065   0: a\x0ab   0: a\x0ab
8066      a\n\rb      a\n\rb
# Line 7995  No match Line 8082  No match
8082      a\r      a\r
8083  No match  No match
8084    
8085  /^a[\R]b/  /^a[\R]b/<bsr_unicode>
8086      aRb      aRb
8087   0: aRb   0: aRb
8088      ** Failers      ** Failers
# Line 8025  Need char = 'P' Line 8112  Need char = 'P'
8112   0: PXP   0: PXP
8113   1: P   1: P
8114    
 /(?(DEFINE)(?<byte>2[0-4]\d|25[0-5]|1\d\d|[1-9]?\d))\b(?&byte)(\.(?&byte)){3}/  
     1.2.3.4  
  0: 1.2.3.4  
  1: <unset>  
  2: .4  
     131.111.10.206  
  0: 131.111.10.206  
  1: <unset>  
  2: .206  
     10.0.0.0  
  0: 10.0.0.0  
  1: <unset>  
  2: .0  
     ** Failers  
 No match  
     10.6  
 No match  
     455.3.4.5  
 No match  
   
 /\b(?&byte)(\.(?&byte)){3}(?(DEFINE)(?<byte>2[0-4]\d|25[0-5]|1\d\d|[1-9]?\d))/  
     1.2.3.4  
  0: 1.2.3.4  
  1: .4  
  2: <unset>  
     131.111.10.206  
  0: 131.111.10.206  
  1: .206  
  2: <unset>  
     10.0.0.0  
  0: 10.0.0.0  
  1: .0  
  2: <unset>  
     ** Failers  
 No match  
     10.6  
 No match  
     455.3.4.5  
 No match  
   
8115  /(?:a(?&abc)b)*(?<abc>x)/  /(?:a(?&abc)b)*(?<abc>x)/
8116      123axbaxbaxbx456      123axbaxbaxbx456
8117   0: axbaxbaxbx   0: axbaxbaxbx
# Line 8102  No match Line 8149  No match
8149     DEFabcABCXYZ     DEFabcABCXYZ
8150  No match  No match
8151    
 /^(a(b))\1\g1\g{1}\g-1\g{-1}\g{-02}Z/  
     ababababbbabZXXXX  
  0: ababababbbabZ  
  1: ab  
  2: b  
   
8152  /^(a)\g-2/  /^(a)\g-2/
8153  Failed: reference to non-existent subpattern at offset 7  Failed: reference to non-existent subpattern at offset 7
8154    
8155  /^(a)\g/  /^(a)\g/
8156  Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 5  Failed: a numbered reference must not be zero at offset 5
8157    
8158  /^(a)\g{0}/  /^(a)\g{0}/
8159  Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 7  Failed: a numbered reference must not be zero at offset 8
8160    
8161  /^(a)\g{3/  /^(a)\g{3/
8162  Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 8  Failed: \g is not followed by a braced, angle-bracketed, or quoted name/number or by a plain number at offset 8
8163    
8164  /^(a)\g{4a}/  /^(a)\g{4a}/
8165  Failed: reference to non-existent subpattern at offset 9  Failed: reference to non-existent subpattern at offset 9
# Line 8201  No match Line 8242  No match
8242   0+   0+
8243    
8244  /abc.$/mgx<anycrlf>  /abc.$/mgx<anycrlf>
8245      abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x85 abc7\x{2028} abc8\x{2029} abc9      abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x85 abc9
8246   0: abc1   0: abc1
8247   0: abc4   0: abc4
8248   0: abc5   0: abc5
# Line 8223  No match Line 8264  No match
8264          Alt          Alt
8265          c          c
8266          Ket          Ket
         Once  
8267          Recurse          Recurse
8268          Ket          Ket
         Ket  
8269          End          End
8270  ------------------------------------------------------------------  ------------------------------------------------------------------
8271      abc      abc
# Line 8237  No match Line 8276  No match
8276  ------------------------------------------------------------------  ------------------------------------------------------------------
8277          Bra          Bra
8278          xy          xy
         Once  
8279          Recurse          Recurse
         Ket  
8280          CBra 1          CBra 1
8281          abc          abc
8282          Ket          Ket
# Line 8255  No match Line 8292  No match
8292  No match  No match
8293    
8294  /x(?-0)y/  /x(?-0)y/
8295  Failed: (?+ or (?- or (?(+ or (?(- must be followed by a non-zero number at offset 5  Failed: a numbered reference must not be zero at offset 5
8296    
8297  /x(?-1)y/  /x(?-1)y/
8298  Failed: reference to non-existent subpattern at offset 5  Failed: reference to non-existent subpattern at offset 5
8299    
8300  /x(?+0)y/  /x(?+0)y/
8301  Failed: (?+ or (?- or (?(+ or (?(- must be followed by a non-zero number at offset 5  Failed: a numbered reference must not be zero at offset 5
8302    
8303  /x(?+1)y/  /x(?+1)y/
8304  Failed: reference to non-existent subpattern at offset 5  Failed: reference to non-existent subpattern at offset 5
# Line 8343  Failed: reference to non-existent subpat Line 8380  Failed: reference to non-existent subpat
8380  /((?(-2)a))/BZ  /((?(-2)a))/BZ
8381  Failed: reference to non-existent subpattern at offset 7  Failed: reference to non-existent subpattern at offset 7
8382    
8383  /^(?(+1)X|Y)/BZ  /^(?(+1)X|Y)(.)/BZ
8384  ------------------------------------------------------------------  ------------------------------------------------------------------
8385          Bra          Bra
8386          ^          ^
# Line 8353  Failed: reference to non-existent subpat Line 8390  Failed: reference to non-existent subpat
8390          Alt          Alt
8391          Y          Y
8392          Ket          Ket
8393            CBra 1
8394            Any
8395            Ket
8396          Ket          Ket
8397          End          End
8398  ------------------------------------------------------------------  ------------------------------------------------------------------
8399      Y      Y!
8400   0: Y   0: Y!
8401     1: !
 /(foo)\Kbar/  
     foobar  
  0: bar  
  1: foo  
   
 /(foo)(\Kbar|baz)/  
     foobar  
  0: bar  
  1: foo  
  2: bar  
     foobaz  
  0: foobaz  
  1: foo  
  2: baz  
   
 /(foo\Kbar)baz/  
     foobarbaz  
  0: barbaz  
  1: foobar  
8402    
8403  /(?<A>tom|bon)-\k{A}/  /(?<A>tom|bon)-\k{A}/
8404      tom-tom      tom-tom
# Line 8391  No match Line 8412  No match
8412      tom-bon      tom-bon
8413  No match  No match
8414    
 /(?<A>tom|bon)-\g{A}/  
     tom-tom  
  0: tom-tom  
  1: tom  
     bon-bon  
  0: bon-bon  
  1: bon  
   
8415  /\g{A/  /\g{A/
8416  Failed: syntax error in subpattern name (missing terminator) at offset 4  Failed: syntax error in subpattern name (missing terminator) at offset 4
8417    
# Line 8493  Failed: syntax error in subpattern name Line 8506  Failed: syntax error in subpattern name
8506   3: <unset>   3: <unset>
8507   4: x   4: x
8508    
 /(?|(abc)|(xyz))\1/  
     abcabc  
  0: abcabc  
  1: abc  
     xyzxyz  
  0: xyzxyz  
  1: xyz  
     ** Failers  
 No match  
     abcxyz  
 No match  
     xyzabc  
 No match  
   
 /(?|(abc)|(xyz))(?1)/  
     abcabc  
  0: abcabc  
  1: abc  
     xyzabc  
  0: xyzabc  
  1: xyz  
     ** Failers  
 No match  
     xyzxyz  
 No match  
   
 /\H\h\V\v/  
     X X\x0a  
  0: X X\x0a  
     X\x09X\x0b  
  0: X\x09X\x0b  
     ** Failers  
 No match  
     \xa0 X\x0a  
 No match  
   
 /\H*\h+\V?\v{3,4}/  
     \x09\x20\xa0X\x0a\x0b\x0c\x0d\x0a  
  0: \x09 \xa0X\x0a\x0b\x0c\x0d  
     \x09\x20\xa0\x0a\x0b\x0c\x0d\x0a  
  0: \x09 \xa0\x0a\x0b\x0c\x0d  
     \x09\x20\xa0\x0a\x0b\x0c  
  0: \x09 \xa0\x0a\x0b\x0c  
     ** Failers  
 No match  
     \x09\x20\xa0\x0a\x0b  
 No match  
   
 /\H{3,4}/  
     XY  ABCDE  
  0: ABCD  
     XY  PQR ST  
  0: PQR  
   
 /.\h{3,4}./  
     XY  AB    PQRS  
  0: B    P  
   
 /\h*X\h?\H+Y\H?Z/  
     >XNNNYZ  
  0: XNNNYZ  
     >  X NYQZ  
  0:   X NYQZ  
     ** Failers  
 No match  
     >XYZ  
 No match  
     >  X NY Z  
 No match  
   
 /\v*X\v?Y\v+Z\V*\x0a\V+\x0b\V{2,3}\x0c/  
     >XY\x0aZ\x0aA\x0bNN\x0c  
  0: XY\x0aZ\x0aA\x0bNN\x0c  
     >\x0a\x0dX\x0aY\x0a\x0bZZZ\x0aAAA\x0bNNN\x0c  
  0: \x0a\x0dX\x0aY\x0a\x0bZZZ\x0aAAA\x0bNNN\x0c  
   
8509  /[\h]/BZ  /[\h]/BZ
8510  ------------------------------------------------------------------  ------------------------------------------------------------------
8511          Bra          Bra
# Line 8865  Failed: missing terminating ] for charac Line 8802  Failed: missing terminating ] for charac
8802          End          End
8803  ------------------------------------------------------------------  ------------------------------------------------------------------
8804    
 /^a+(*FAIL)/  
     aaaaaa  
 No match  
   
 /a+b?c+(*FAIL)/  
     aaabccc  
 No match  
   
 /a+b?(*PRUNE)c+(*FAIL)/  
     aaabccc  
 No match  
   
 /a+b?(*COMMIT)c+(*FAIL)/  
     aaabccc  
 No match  
   
 /a+b?(*SKIP)c+(*FAIL)/  
     aaabcccaaabccc  
 No match  
   
 /^(?:aaa(*THEN)\w{6}|bbb(*THEN)\w{5}|ccc(*THEN)\w{4}|\w{3})/  
     aaaxxxxxx  
  0: aaaxxxxxx  
     aaa++++++  
  0: aaa  
     bbbxxxxx  
  0: bbbxxxxx  
     bbb+++++  
  0: bbb  
     cccxxxx  
  0: cccxxxx  
     ccc++++  
  0: ccc  
     dddddddd  
  0: ddd  
   
 /^(aaa(*THEN)\w{6}|bbb(*THEN)\w{5}|ccc(*THEN)\w{4}|\w{3})/  
     aaaxxxxxx  
  0: aaaxxxxxx  
  1: aaaxxxxxx  
     aaa++++++  
  0: aaa  
  1: aaa  
     bbbxxxxx  
  0: bbbxxxxx  
  1: bbbxxxxx  
     bbb+++++  
  0: bbb  
  1: bbb  
     cccxxxx  
  0: cccxxxx  
  1: cccxxxx  
     ccc++++  
  0: ccc  
  1: ccc  
     dddddddd  
  0: ddd  
  1: ddd  
   
 /a+b?(*THEN)c+(*FAIL)/  
     aaabccc  
 No match  
   
 /(A (A|B(*ACCEPT)|C) D)(E)/x  
     ABX  
  0: AB  
     AADE  
  0: AADE  
  1: AAD  
  2: A  
  3: E  
     ACDE  
  0: ACDE  
  1: ACD  
  2: C  
  3: E  
     ** Failers  
 No match  
     AD  
 No match  
   
8805  /^a+(*FAIL)/C  /^a+(*FAIL)/C
8806      aaaaaa      aaaaaa
8807  --->aaaaaa  --->aaaaaa
# Line 9074  No match Line 8930  No match
8930  +13   ^  ^      (*FAIL)  +13   ^  ^      (*FAIL)
8931  No match  No match
8932    
 /a(*PRUNE:XXX)b/  
 Failed: (*VERB) with an argument is not supported at offset 8  
   
8933  /a(*MARK)b/  /a(*MARK)b/
8934  Failed: (*VERB) not recognized at offset 7  Failed: (*MARK) must have an argument at offset 7
8935    
8936  /(?i:A{1,}\6666666666)/  /(?i:A{1,}\6666666666)/
8937  Failed: number is too big at offset 19  Failed: number is too big at offset 19
# Line 9167  No match Line 9020  No match
9020  No match  No match
9021      a\x85b      a\x85b
9022  No match  No match
9023    
9024    /(*ANY).*/g
9025        abc\r\ndef
9026     0: abc
9027     0:
9028     0: def
9029     0:
9030    
9031    /(*ANYCRLF).*/g
9032        abc\r\ndef
9033     0: abc
9034     0:
9035     0: def
9036     0:
9037    
9038    /(*CRLF).*/g
9039        abc\r\ndef
9040     0: abc
9041     0:
9042     0: def
9043     0:
9044    
9045    /a\Rb/I<bsr_anycrlf>
9046    Capturing subpattern count = 0
9047    Options: bsr_anycrlf
9048    First char = 'a'
9049    Need char = 'b'
9050        a\rb
9051     0: a\x0db
9052        a\nb
9053     0: a\x0ab
9054        a\r\nb
9055     0: a\x0d\x0ab
9056        ** Failers
9057    No match
9058        a\x85b
9059    No match
9060        a\x0bb
9061    No match
9062    
9063    /a\Rb/I<bsr_unicode>
9064    Capturing subpattern count = 0
9065    Options: bsr_unicode
9066    First char = 'a'
9067    Need char = 'b'
9068        a\rb
9069     0: a\x0db
9070        a\nb
9071     0: a\x0ab
9072        a\r\nb
9073     0: a\x0d\x0ab
9074        a\x85b
9075     0: a\x85b
9076        a\x0bb
9077     0: a\x0bb
9078        ** Failers
9079    No match
9080        a\x85b\<bsr_anycrlf>
9081    No match
9082        a\x0bb\<bsr_anycrlf>
9083    No match
9084    
9085    /a\R?b/I<bsr_anycrlf>
9086    Capturing subpattern count = 0
9087    Options: bsr_anycrlf
9088    First char = 'a'
9089    Need char = 'b'
9090        a\rb
9091     0: a\x0db
9092        a\nb
9093     0: a\x0ab
9094        a\r\nb
9095     0: a\x0d\x0ab
9096        ** Failers
9097    No match
9098        a\x85b
9099    No match
9100        a\x0bb
9101    No match
9102    
9103    /a\R?b/I<bsr_unicode>
9104    Capturing subpattern count = 0
9105    Options: bsr_unicode
9106    First char = 'a'
9107    Need char = 'b'
9108        a\rb
9109     0: a\x0db
9110        a\nb
9111     0: a\x0ab
9112        a\r\nb
9113     0: a\x0d\x0ab
9114        a\x85b
9115     0: a\x85b
9116        a\x0bb
9117     0: a\x0bb
9118        ** Failers
9119    No match
9120        a\x85b\<bsr_anycrlf>
9121    No match
9122        a\x0bb\<bsr_anycrlf>
9123    No match
9124    
9125    /a\R{2,4}b/I<bsr_anycrlf>
9126    Capturing subpattern count = 0
9127    Options: bsr_anycrlf
9128    First char = 'a'
9129    Need char = 'b'
9130        a\r\n\nb
9131     0: a\x0d\x0a\x0ab
9132        a\n\r\rb
9133     0: a\x0a\x0d\x0db
9134        a\r\n\r\n\r\n\r\nb
9135     0: a\x0d\x0a\x0d\x0a\x0d\x0a\x0d\x0ab
9136        ** Failers
9137    No match
9138        a\x85\85b
9139    No match
9140        a\x0b\0bb
9141    No match
9142    
9143    /a\R{2,4}b/I<bsr_unicode>
9144    Capturing subpattern count = 0
9145    Options: bsr_unicode
9146    First char = 'a'
9147    Need char = 'b'
9148        a\r\rb
9149     0: a\x0d\x0db
9150        a\n\n\nb
9151     0: a\x0a\x0a\x0ab
9152        a\r\n\n\r\rb
9153     0: a\x0d\x0a\x0a\x0d\x0db
9154        a\x85\85b
9155    No match
9156        a\x0b\0bb
9157    No match
9158        ** Failers
9159    No match
9160        a\r\r\r\r\rb
9161    No match
9162        a\x85\85b\<bsr_anycrlf>
9163    No match
9164        a\x0b\0bb\<bsr_anycrlf>
9165    No match
9166    
9167    /(*BSR_ANYCRLF)a\Rb/I
9168    Capturing subpattern count = 0
9169    Options: bsr_anycrlf
9170    First char = 'a'
9171    Need char = 'b'
9172        a\nb
9173     0: a\x0ab
9174        a\rb
9175     0: a\x0db
9176    
9177    /(*BSR_UNICODE)a\Rb/I
9178    Capturing subpattern count = 0
9179    Options: bsr_unicode
9180    First char = 'a'
9181    Need char = 'b'
9182        a\x85b
9183     0: a\x85b
9184    
9185    /(*BSR_ANYCRLF)(*CRLF)a\Rb/I
9186    Capturing subpattern count = 0
9187    Options: bsr_anycrlf
9188    Forced newline sequence: CRLF
9189    First char = 'a'
9190    Need char = 'b'
9191        a\nb
9192     0: a\x0ab
9193        a\rb
9194     0: a\x0db
9195    
9196    /(*CRLF)(*BSR_UNICODE)a\Rb/I
9197    Capturing subpattern count = 0
9198    Options: bsr_unicode
9199    Forced newline sequence: CRLF
9200    First char = 'a'
9201    Need char = 'b'
9202        a\x85b
9203     0: a\x85b
9204    
9205    /(*CRLF)(*BSR_ANYCRLF)(*CR)ab/I
9206    Capturing subpattern count = 0
9207    Options: bsr_anycrlf
9208    Forced newline sequence: CR
9209    First char = 'a'
9210    Need char = 'b'
9211    
9212    /(?<a>)(?&)/
9213    Failed: subpattern name expected at offset 9
9214    
9215    /(?<abc>)(?&a)/
9216    Failed: reference to non-existent subpattern at offset 12
9217    
9218    /(?<a>)(?&aaaaaaaaaaaaaaaaaaaaaaa)/
9219    Failed: reference to non-existent subpattern at offset 32
9220    
9221    /(?+-a)/
9222    Failed: digit expected after (?+ at offset 3
9223    
9224    /(?-+a)/
9225    Failed: unrecognized character after (? or (?- at offset 3
9226    
9227    /(?(-1))/
9228    Failed: reference to non-existent subpattern at offset 6
9229    
9230    /(?(+10))/
9231    Failed: reference to non-existent subpattern at offset 7
9232    
9233    /(?(10))/
9234    Failed: reference to non-existent subpattern at offset 6
9235    
9236    /(?(+2))()()/
9237    
9238    /(?(2))()()/
9239    
9240    /\k''/
9241    Failed: subpattern name expected at offset 3
9242    
9243    /\k<>/
9244    Failed: subpattern name expected at offset 3
9245    
9246    /\k{}/
9247    Failed: subpattern name expected at offset 3
9248    
9249    /(?P=)/
9250    Failed: subpattern name expected at offset 4
9251    
9252    /(?P>)/
9253    Failed: subpattern name expected at offset 4
9254    
9255    /(?!\w)(?R)/
9256    Failed: recursive call could loop indefinitely at offset 9
9257    
9258    /(?=\w)(?R)/
9259    Failed: recursive call could loop indefinitely at offset 9
9260    
9261    /(?<!\w)(?R)/
9262    Failed: recursive call could loop indefinitely at offset 10
9263    
9264    /(?<=\w)(?R)/
9265    Failed: recursive call could loop indefinitely at offset 10
9266    
9267    /[[:foo:]]/
9268    Failed: unknown POSIX class name at offset 3
9269    
9270    /[[:1234:]]/
9271    Failed: unknown POSIX class name at offset 3
9272    
9273    /[[:f\oo:]]/
9274    Failed: unknown POSIX class name at offset 3
9275    
9276    /[[: :]]/
9277    Failed: unknown POSIX class name at offset 3
9278    
9279    /[[:...:]]/
9280    Failed: unknown POSIX class name at offset 3
9281    
9282    /[[:l\ower:]]/
9283    Failed: unknown POSIX class name at offset 3
9284    
9285    /[[:abc\:]]/
9286    Failed: unknown POSIX class name at offset 3
9287    
9288    /[abc[:x\]pqr:]]/
9289    Failed: unknown POSIX class name at offset 6
9290    
9291    /[[:a\dz:]]/
9292    Failed: unknown POSIX class name at offset 3
9293    
9294    /(^(a|b\g<-1'c))/
9295    Failed: \g is not followed by a braced, angle-bracketed, or quoted name/number or by a plain number at offset 15
9296    
9297    /^(?+1)(?<a>x|y){0}z/
9298        xzxx
9299     0: xz
9300        yzyy
9301     0: yz
9302        ** Failers
9303    No match
9304        xxz
9305    No match
9306    
9307    /(\3)(\1)(a)/
9308        cat
9309    No match
9310    
9311    /(\3)(\1)(a)/<JS>
9312        cat
9313     0: a
9314     1:
9315     2:
9316     3: a
9317    
9318    /TA]/
9319        The ACTA] comes
9320     0: TA]
9321    
9322    /TA]/<JS>
9323    Failed: ] is an invalid data character in JavaScript compatibility mode at offset 2
9324    
9325    /(?2)[]a()b](abc)/
9326    Failed: reference to non-existent subpattern at offset 3
9327    
9328    /(?2)[^]a()b](abc)/
9329    Failed: reference to non-existent subpattern at offset 3
9330    
9331    /(?1)[]a()b](abc)/
9332        abcbabc
9333     0: abcbabc
9334     1: abc
9335        ** Failers
9336    No match
9337        abcXabc
9338    No match
9339    
9340    /(?1)[^]a()b](abc)/
9341        abcXabc
9342     0: abcXabc
9343     1: abc
9344        ** Failers
9345    No match
9346        abcbabc
9347    No match
9348    
9349    /(?2)[]a()b](abc)(xyz)/
9350        xyzbabcxyz
9351     0: xyzbabcxyz
9352     1: abc
9353     2: xyz
9354    
9355    /(?&N)[]a(?<N>)](?<M>abc)/
9356    Failed: reference to non-existent subpattern at offset 4
9357    
9358    /(?&N)[]a(?<N>)](abc)/
9359    Failed: reference to non-existent subpattern at offset 4
9360    
9361    /a[]b/
9362    Failed: missing terminating ] for character class at offset 4
9363    
9364    /a[^]b/
9365    Failed: missing terminating ] for character class at offset 5
9366    
9367    /a[]b/<JS>
9368        ** Failers
9369    No match
9370        ab
9371    No match
9372    
9373    /a[]+b/<JS>
9374        ** Failers
9375    No match
9376        ab
9377    No match
9378    
9379    /a[]*+b/<JS>
9380        ** Failers
9381    No match
9382        ab
9383    No match
9384    
9385    /a[^]b/<JS>
9386        aXb
9387     0: aXb
9388        a\nb
9389     0: a\x0ab
9390        ** Failers
9391    No match
9392        ab
9393    No match
9394    
9395    /a[^]+b/<JS>
9396        aXb
9397     0: aXb
9398        a\nX\nXb
9399     0: a\x0aX\x0aXb
9400        ** Failers
9401    No match
9402        ab
9403    No match
9404    
9405    /a(?!)+b/
9406    Failed: nothing to repeat at offset 5
9407    
9408    /a(*FAIL)+b/
9409    Failed: nothing to repeat at offset 8
9410    
9411    /(abc|pqr|123){0}[xyz]/SI
9412    Capturing subpattern count = 1
9413    No options
9414    No first char
9415    No need char
9416    Subject length lower bound = 1
9417    Starting byte set: x y z
9418    
9419    /(?(?=.*b)b|^)/CI
9420    Capturing subpattern count = 0
9421    Options:
9422    No first char
9423    No need char
9424       adc
9425    --->adc
9426     +0 ^       (?(?=.*b)b|^)
9427     +2 ^       (?=.*b)
9428     +5 ^       .*
9429     +7 ^  ^    b
9430     +7 ^ ^     b
9431     +7 ^^      b
9432     +7 ^       b
9433    +12 ^       )
9434    +13 ^
9435     0:
9436       abc
9437    --->abc
9438     +0 ^       (?(?=.*b)b|^)
9439     +2 ^       (?=.*b)
9440     +5 ^       .*
9441     +7 ^  ^    b
9442     +7 ^ ^     b
9443     +7 ^^      b
9444     +8 ^ ^     )
9445     +9 ^       b
9446     +0  ^      (?(?=.*b)b|^)
9447     +2  ^      (?=.*b)
9448     +5  ^      .*
9449     +7  ^ ^    b
9450     +7  ^^     b
9451     +7  ^      b
9452     +8  ^^     )
9453     +9  ^      b
9454    +10  ^^     |
9455    +13  ^^
9456     0: b
9457    
9458    /(?(?=b).*b|^d)/I
9459    Capturing subpattern count = 0
9460    No options
9461    No first char
9462    No need char
9463    
9464    /(?(?=.*b).*b|^d)/I
9465    Capturing subpattern count = 0
9466    No options
9467    First char at start or follows newline
9468    No need char
9469    
9470    /a?|b?/P
9471        abc
9472     0: a
9473        ** Failers
9474     0:
9475        ddd\N
9476    No match: POSIX code 17: match failed
9477    
9478    /xyz/C
9479      xyz
9480    --->xyz
9481     +0 ^       x
9482     +1 ^^      y
9483     +2 ^ ^     z
9484     +3 ^  ^
9485     0: xyz
9486      abcxyz
9487    --->abcxyz
9488     +0    ^       x
9489     +1    ^^      y
9490     +2    ^ ^     z
9491     +3    ^  ^
9492     0: xyz
9493      abcxyz\Y
9494    --->abcxyz
9495     +0 ^          x
9496     +0  ^         x
9497     +0   ^        x
9498     +0    ^       x
9499     +1    ^^      y
9500     +2    ^ ^     z
9501     +3    ^  ^
9502     0: xyz
9503      ** Failers
9504    No match
9505      abc
9506    No match
9507      abc\Y
9508    --->abc
9509     +0 ^       x
9510     +0  ^      x
9511     +0   ^     x
9512     +0    ^    x
9513    No match
9514      abcxypqr
9515    No match
9516      abcxypqr\Y
9517    --->abcxypqr
9518     +0 ^            x
9519     +0  ^           x
9520     +0   ^          x
9521     +0    ^         x
9522     +1    ^^        y
9523     +2    ^ ^       z
9524     +0     ^        x
9525     +0      ^       x
9526     +0       ^      x
9527     +0        ^     x
9528     +0         ^    x
9529    No match
9530    
9531    /(*NO_START_OPT)xyz/C
9532      abcxyz
9533    --->abcxyz
9534    +15 ^          x
9535    +15  ^         x
9536    +15   ^        x
9537    +15    ^       x
9538    +16    ^^      y
9539    +17    ^ ^     z
9540    +18    ^  ^
9541     0: xyz
9542    
9543    /xyz/CY
9544      abcxyz
9545    --->abcxyz
9546     +0 ^          x
9547     +0  ^         x
9548     +0   ^        x
9549     +0    ^       x
9550     +1    ^^      y
9551     +2    ^ ^     z
9552     +3    ^  ^
9553     0: xyz
9554    
9555    /^"((?(?=[a])[^"])|b)*"$/C
9556        "ab"
9557    --->"ab"
9558     +0 ^        ^
9559     +1 ^        "
9560     +2 ^^       ((?(?=[a])[^"])|b)*
9561     +3 ^^       (?(?=[a])[^"])
9562     +5 ^^       (?=[a])
9563     +8 ^^       [a]
9564    +11 ^ ^      )
9565    +12 ^^       [^"]
9566    +16 ^ ^      )
9567    +17 ^ ^      |
9568     +3 ^ ^      (?(?=[a])[^"])
9569     +5 ^ ^      (?=[a])
9570     +8 ^ ^      [a]
9571    +21 ^ ^      "
9572    +18 ^ ^      b
9573    +19 ^  ^     )
9574     +3 ^  ^     (?(?=[a])[^"])
9575     +5 ^  ^     (?=[a])
9576     +8 ^  ^     [a]
9577    +21 ^  ^     "
9578    +22 ^   ^    $
9579    +23 ^   ^
9580     0: "ab"
9581     1:
9582    
9583    /^"((?(?=[a])[^"])|b)*"$/
9584        "ab"
9585     0: "ab"
9586     1:
9587    
9588    /^X(?5)(a)(?|(b)|(q))(c)(d)Y/
9589    Failed: reference to non-existent subpattern at offset 5
9590    
9591    /^X(?&N)(a)(?|(b)|(q))(c)(d)(?<N>Y)/
9592        XYabcdY
9593     0: XYabcdY
9594     1: a
9595     2: b
9596     3: c
9597     4: d
9598     5: Y
9599    
9600    /Xa{2,4}b/
9601        X\P
9602    Partial match: X
9603        Xa\P
9604    Partial match: Xa
9605        Xaa\P
9606    Partial match: Xaa
9607        Xaaa\P
9608    Partial match: Xaaa
9609        Xaaaa\P
9610    Partial match: Xaaaa
9611    
9612    /Xa{2,4}?b/
9613        X\P
9614    Partial match: X
9615        Xa\P
9616    Partial match: Xa
9617        Xaa\P
9618    Partial match: Xaa
9619        Xaaa\P
9620    Partial match: Xaaa
9621        Xaaaa\P
9622    Partial match: Xaaaa
9623    
9624    /Xa{2,4}+b/
9625        X\P
9626    Partial match: X
9627        Xa\P
9628    Partial match: Xa
9629        Xaa\P
9630    Partial match: Xaa
9631        Xaaa\P
9632    Partial match: Xaaa
9633        Xaaaa\P
9634    Partial match: Xaaaa
9635    
9636    /X\d{2,4}b/
9637        X\P
9638    Partial match: X
9639        X3\P
9640    Partial match: X3
9641        X33\P
9642    Partial match: X33
9643        X333\P
9644    Partial match: X333
9645        X3333\P
9646    Partial match: X3333
9647    
9648    /X\d{2,4}?b/
9649        X\P
9650    Partial match: X
9651        X3\P
9652    Partial match: X3
9653        X33\P
9654    Partial match: X33
9655        X333\P
9656    Partial match: X333
9657        X3333\P
9658    Partial match: X3333
9659    
9660    /X\d{2,4}+b/
9661        X\P
9662    Partial match: X
9663