/[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 162 by ph10, Thu May 3 10:47:48 2007 UTC revision 467 by ph10, Mon Oct 19 11:43:18 2009 UTC
# Line 1  Line 1 
1    /-- This set of tests is not Perl-compatible. It checks on special features
2        of PCRE's API, error diagnostics, and the compiled code of some patterns.
3        It also checks the non-Perl syntax the PCRE supports (Python, .NET,
4        Oniguruma). Finally, there are some tests where PCRE and Perl differ,
5        either because PCRE can't be compatible, or there is potential Perl
6        bug. --/
7    
8    /-- Originally, the Perl 5.10 things were in here too, but now I have separated
9        many (most?) of them out into test 11. However, there may still be some
10        that were overlooked. --/
11    
12  /(a)b|/I  /(a)b|/I
13  Capturing subpattern count = 1  Capturing subpattern count = 1
14  No options  No options
# 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 78  No match Line 85  No match
85      def\nabc      def\nabc
86  No match  No match
87    
88  /ab\hdef/X  /ab\idef/X
89  Failed: unrecognized character follows \ at offset 3  Failed: unrecognized character follows \ at offset 3
90    
91  /(?X)ab\hdef/X  /(?X)ab\idef/X
92  Failed: unrecognized character follows \ at offset 7  Failed: unrecognized character follows \ at offset 7
93    
94  /x{5,4}/  /x{5,4}/
# Line 109  Failed: missing ) at offset 4 Line 116  Failed: missing ) at offset 4
116  Failed: missing ) after comment at offset 7  Failed: missing ) after comment at offset 7
117    
118  /(?z)abc/  /(?z)abc/
119  Failed: unrecognized character after (? at offset 2  Failed: unrecognized character after (? or (?- at offset 2
120    
121  /.*b/I  /.*b/I
122  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
123  No options  No options
124  First char at start or follows newline  First char at start or follows newline
125  Need char = 'b'  Need char = 'b'
126    
127  /.*?b/I  /.*?b/I
128  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
129  No options  No options
130  First char at start or follows newline  First char at start or follows newline
131  Need char = 'b'  Need char = 'b'
# Line 140  Capturing subpattern count = 0 Line 145  Capturing subpattern count = 0
145  No options  No options
146  No first char  No first char
147  No need char  No need char
148    Subject length lower bound = 3
149  Starting byte set: c d e  Starting byte set: c d e
150      this sentence eventually mentions a cat      this sentence eventually mentions a cat
151   0: cat   0: cat
# Line 151  Capturing subpattern count = 0 Line 157  Capturing subpattern count = 0
157  Options: caseless  Options: caseless
158  No first char  No first char
159  No need char  No need char
160    Subject length lower bound = 3
161  Starting byte set: C D E c d e  Starting byte set: C D E c d e
162      this sentence eventually mentions a CAT cat      this sentence eventually mentions a CAT cat
163   0: CAT   0: CAT
# Line 162  Capturing subpattern count = 0 Line 169  Capturing subpattern count = 0
169  No options  No options
170  No first char  No first char
171  No need char  No need char
172    Subject length lower bound = 1
173  Starting byte set: a b c d  Starting byte set: a b c d
174    
175  /(a|[^\dZ])/IS  /(a|[^\dZ])/IS
# Line 169  Capturing subpattern count = 1 Line 177  Capturing subpattern count = 1
177  No options  No options
178  No first char  No first char
179  No need char  No need char
180    Subject length lower bound = 1
181  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
182    \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
183    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / : ; < = >    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / : ; < = >
# Line 189  Capturing subpattern count = 1 Line 198  Capturing subpattern count = 1
198  No options  No options
199  No first char  No first char
200  No need char  No need char
201    Subject length lower bound = 1
202  Starting byte set: \x09 \x0a \x0c \x0d \x20 a b  Starting byte set: \x09 \x0a \x0c \x0d \x20 a b
203    
204  /(ab\2)/  /(ab\2)/
# Line 310  No match Line 320  No match
320  No match  No match
321    
322  /ab(?z)cd/  /ab(?z)cd/
323  Failed: unrecognized character after (? at offset 4  Failed: unrecognized character after (? or (?- at offset 4
324    
325  /^abc|def/I  /^abc|def/I
326  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 324  No need char Line 334  No need char
334    
335  /.*((abc)$|(def))/I  /.*((abc)$|(def))/I
336  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
337  No options  No options
338  First char at start or follows newline  First char at start or follows newline
339  No need char  No need char
# Line 338  No need char Line 347  No need char
347   2: <unset>   2: <unset>
348   3: def   3: def
349    
350  /abc/IP  /abc/P
351      abc      abc
352   0: abc   0: abc
353      *** Failers      *** Failers
354  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
355    
356  /^abc|def/IP  /^abc|def/P
357      abcdef      abcdef
358   0: abc   0: abc
359      abcdef\B      abcdef\B
360   0: def   0: def
361    
362  /.*((abc)$|(def))/IP  /.*((abc)$|(def))/P
363      defabc      defabc
364   0: defabc   0: defabc
365   1: abc   1: abc
# Line 360  No match: POSIX code 17: match failed Line 369  No match: POSIX code 17: match failed
369   1: def   1: def
370   3: def   3: def
371    
372  /the quick brown fox/IP  /the quick brown fox/P
373      the quick brown fox      the quick brown fox
374   0: the quick brown fox   0: the quick brown fox
375      *** Failers      *** Failers
# Line 368  No match: POSIX code 17: match failed Line 377  No match: POSIX code 17: match failed
377      The Quick Brown Fox      The Quick Brown Fox
378  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
379    
380  /the quick brown fox/IPi  /the quick brown fox/Pi
381      the quick brown fox      the quick brown fox
382   0: the quick brown fox   0: the quick brown fox
383      The Quick Brown Fox      The Quick Brown Fox
384   0: The Quick Brown Fox   0: The Quick Brown Fox
385    
386  /abc.def/IP  /abc.def/P
387      *** Failers      *** Failers
388  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
389      abc\ndef      abc\ndef
390  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
391    
392  /abc$/IP  /abc$/P
393      abc      abc
394   0: abc   0: abc
395      abc\n      abc\n
396   0: abc   0: abc
397    
398  /(abc)\2/IP  /(abc)\2/P
399  Failed: POSIX code 15: bad back reference at offset 7  Failed: POSIX code 15: bad back reference at offset 7
400    
401  /(abc\1)/IP  /(abc\1)/P
402      abc      abc
403  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
404    
# Line 401  Failed: missing terminating ] for charac Line 410  Failed: missing terminating ] for charac
410    
411  /[^aeiou ]{3,}/I  /[^aeiou ]{3,}/I
412  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
413  No options  No options
414  No first char  No first char
415  No need char  No need char
# Line 410  No need char Line 418  No need char
418    
419  /<.*>/I  /<.*>/I
420  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
421  No options  No options
422  First char = '<'  First char = '<'
423  Need char = '>'  Need char = '>'
# Line 419  Need char = '>' Line 426  Need char = '>'
426    
427  /<.*?>/I  /<.*?>/I
428  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
429  No options  No options
430  First char = '<'  First char = '<'
431  Need char = '>'  Need char = '>'
# Line 428  Need char = '>' Line 434  Need char = '>'
434    
435  /<.*>/IU  /<.*>/IU
436  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
437  Options: ungreedy  Options: ungreedy
438  First char = '<'  First char = '<'
439  Need char = '>'  Need char = '>'
# Line 437  Need char = '>' Line 442  Need char = '>'
442    
443  /(?U)<.*>/I  /(?U)<.*>/I
444  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
445  Options: ungreedy  Options: ungreedy
446  First char = '<'  First char = '<'
447  Need char = '>'  Need char = '>'
# Line 446  Need char = '>' Line 450  Need char = '>'
450    
451  /<.*?>/IU  /<.*?>/IU
452  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
453  Options: ungreedy  Options: ungreedy
454  First char = '<'  First char = '<'
455  Need char = '>'  Need char = '>'
# Line 455  Need char = '>' Line 458  Need char = '>'
458    
459  /={3,}/IU  /={3,}/IU
460  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
461  Options: ungreedy  Options: ungreedy
462  First char = '='  First char = '='
463  Need char = '='  Need char = '='
# Line 464  Need char = '=' Line 466  Need char = '='
466    
467  /(?U)={3,}?/I  /(?U)={3,}?/I
468  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
469  Options: ungreedy  Options: ungreedy
470  First char = '='  First char = '='
471  Need char = '='  Need char = '='
# Line 522  No need char Line 523  No need char
523    
524  /(?s).*/I  /(?s).*/I
525  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
526  Options: anchored dotall  Options: anchored dotall
527  No first char  No first char
528  No need char  No need char
# Line 532  Capturing subpattern count = 0 Line 532  Capturing subpattern count = 0
532  No options  No options
533  No first char  No first char
534  No need char  No need char
535    Subject length lower bound = 1
536  Starting byte set: a b c d  Starting byte set: a b c d
537    
538  /(?i)[abcd]/IS  /(?i)[abcd]/IS
# Line 539  Capturing subpattern count = 0 Line 540  Capturing subpattern count = 0
540  Options: caseless  Options: caseless
541  No first char  No first char
542  No need char  No need char
543    Subject length lower bound = 1
544  Starting byte set: A B C D a b c d  Starting byte set: A B C D a b c d
545    
546  /(?m)[xy]|(b|c)/IS  /(?m)[xy]|(b|c)/IS
# Line 546  Capturing subpattern count = 1 Line 548  Capturing subpattern count = 1
548  Options: multiline  Options: multiline
549  No first char  No first char
550  No need char  No need char
551    Subject length lower bound = 1
552  Starting byte set: b c x y  Starting byte set: b c x y
553    
554  /(^a|^b)/Im  /(^a|^b)/Im
# Line 584  Failed: syntax error in subpattern name Line 587  Failed: syntax error in subpattern name
587  /((?s)blah)\s+\1/I  /((?s)blah)\s+\1/I
588  Capturing subpattern count = 1  Capturing subpattern count = 1
589  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
590  No options  No options
591  First char = 'b'  First char = 'b'
592  Need char = 'h'  Need char = 'h'
# Line 592  Need char = 'h' Line 594  Need char = 'h'
594  /((?i)blah)\s+\1/I  /((?i)blah)\s+\1/I
595  Capturing subpattern count = 1  Capturing subpattern count = 1
596  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
597  No options  No options
598  First char = 'b' (caseless)  First char = 'b' (caseless)
599  Need char = 'h' (caseless)  Need char = 'h' (caseless)
600    
601  /((?i)b)/IDZS  /((?i)b)/IDZS
602  ------------------------------------------------------------------  ------------------------------------------------------------------
603          Bra 0          Bra
604          Bra 1          CBra 1
605       01 Opt       01 Opt
606       NC b       NC b
607          Ket          Ket
# Line 612  Capturing subpattern count = 1 Line 613  Capturing subpattern count = 1
613  No options  No options
614  First char = 'b' (caseless)  First char = 'b' (caseless)
615  No need char  No need char
616  Study returned NULL  Subject length lower bound = 1
617    No set of starting bytes
618    
619  /(a*b|(?i:c*(?-i)d))/IS  /(a*b|(?i:c*(?-i)d))/IS
620  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
621  No options  No options
622  No first char  No first char
623  No need char  No need char
624    Subject length lower bound = 1
625  Starting byte set: C a b c d  Starting byte set: C a b c d
626    
627  /a$/I  /a$/I
# Line 668  Need char = 'c' Line 670  Need char = 'c'
670    
671  /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/I  /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/I
672  Capturing subpattern count = 5  Capturing subpattern count = 5
 Partial matching not supported  
673  Options: anchored  Options: anchored
674  No first char  No first char
675  No need char  No need char
# Line 685  Capturing subpattern count = 0 Line 686  Capturing subpattern count = 0
686  No options  No options
687  No first char  No first char
688  No need char  No need char
689    Subject length lower bound = 1
690  Starting byte set: a b  Starting byte set: a b
691    
692  /(?<!foo)(alpha|omega)/IS  /(?<!foo)(alpha|omega)/IS
# Line 692  Capturing subpattern count = 1 Line 694  Capturing subpattern count = 1
694  No options  No options
695  No first char  No first char
696  Need char = 'a'  Need char = 'a'
697    Subject length lower bound = 5
698  Starting byte set: a o  Starting byte set: a o
699    
700  /(?!alphabet)[ab]/IS  /(?!alphabet)[ab]/IS
# Line 699  Capturing subpattern count = 0 Line 702  Capturing subpattern count = 0
702  No options  No options
703  No first char  No first char
704  No need char  No need char
705    Subject length lower bound = 1
706  Starting byte set: a b  Starting byte set: a b
707    
708  /(?<=foo\n)^bar/Im  /(?<=foo\n)^bar/Im
709  Capturing subpattern count = 0  Capturing subpattern count = 0
710    Contains explicit CR or LF match
711  Options: multiline  Options: multiline
712  No first char  No first char
713  Need char = 'r'  Need char = 'r'
# Line 719  No match Line 724  No match
724    
725  /^(?<=foo\n)bar/Im  /^(?<=foo\n)bar/Im
726  Capturing subpattern count = 0  Capturing subpattern count = 0
727    Contains explicit CR or LF match
728  Options: multiline  Options: multiline
729  First char at start or follows newline  First char at start or follows newline
730  Need char = 'r'  Need char = 'r'
# Line 782  No need char Line 788  No need char
788    
789  /(?>.*)(?<=(abcd)|(xyz))/I  /(?>.*)(?<=(abcd)|(xyz))/I
790  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
791  No options  No options
792  First char at start or follows newline  First char at start or follows newline
793  No need char  No need char
# Line 944  Failed: missing ) at offset 4 Line 949  Failed: missing ) at offset 4
949  Failed: unrecognized character after (?< at offset 3  Failed: unrecognized character after (?< at offset 3
950    
951  /a(?{)b/  /a(?{)b/
952  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
953    
954  /a(?{{})b/  /a(?{{})b/
955  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
956    
957  /a(?{}})b/  /a(?{}})b/
958  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
959    
960  /a(?{"{"})b/  /a(?{"{"})b/
961  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
962    
963  /a(?{"{"}})b/  /a(?{"{"}})b/
964  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
965    
966  /(?(1?)a|b)/  /(?(1?)a|b)/
967  Failed: malformed number or name after (?( at offset 4  Failed: malformed number or name after (?( at offset 4
968    
 /(?(1)a|b|c)/  
 Failed: conditional group contains more than two branches at offset 10  
   
969  /[a[:xyz:/  /[a[:xyz:/
970  Failed: missing terminating ] for character class at offset 8  Failed: missing terminating ] for character class at offset 8
971    
# Line 1004  copy substring 5 failed -7 Line 1006  copy substring 5 failed -7
1006    
1007  /(.{20})/I  /(.{20})/I
1008  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1009  No options  No options
1010  No first char  No first char
1011  No need char  No need char
# Line 1022  No need char Line 1023  No need char
1023    
1024  /(.{15})/I  /(.{15})/I
1025  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1026  No options  No options
1027  No first char  No first char
1028  No need char  No need char
# Line 1037  No need char Line 1037  No need char
1037    
1038  /(.{16})/I  /(.{16})/I
1039  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1040  No options  No options
1041  No first char  No first char
1042  No need char  No need char
# Line 1104  No need char Line 1103  No need char
1103  )((?:[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]+
1104  )?)?)?)?)?)?)?)?)?otherword/I  )?)?)?)?)?)?)?)?)?otherword/I
1105  Capturing subpattern count = 8  Capturing subpattern count = 8
1106  Partial matching not supported  Contains explicit CR or LF match
1107  No options  No options
1108  First char = 'w'  First char = 'w'
1109  Need char = 'd'  Need char = 'd'
1110    
1111  /.*X/IDZ  /.*X/IDZ
1112  ------------------------------------------------------------------  ------------------------------------------------------------------
1113          Bra 0          Bra
1114          Any*          Any*
1115          X          X
1116          Ket          Ket
1117          End          End
1118  ------------------------------------------------------------------  ------------------------------------------------------------------
1119  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1120  No options  No options
1121  First char at start or follows newline  First char at start or follows newline
1122  Need char = 'X'  Need char = 'X'
1123    
1124  /.*X/IDZs  /.*X/IDZs
1125  ------------------------------------------------------------------  ------------------------------------------------------------------
1126          Bra 0          Bra
1127          Any*          AllAny*
1128          X          X
1129          Ket          Ket
1130          End          End
1131  ------------------------------------------------------------------  ------------------------------------------------------------------
1132  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1133  Options: anchored dotall  Options: anchored dotall
1134  No first char  No first char
1135  Need char = 'X'  Need char = 'X'
1136    
1137  /(.*X|^B)/IDZ  /(.*X|^B)/IDZ
1138  ------------------------------------------------------------------  ------------------------------------------------------------------
1139          Bra 0          Bra
1140          Bra 1          CBra 1
1141          Any*          Any*
1142          X          X
1143          Alt          Alt
# Line 1151  Need char = 'X' Line 1148  Need char = 'X'
1148          End          End
1149  ------------------------------------------------------------------  ------------------------------------------------------------------
1150  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1151  No options  No options
1152  First char at start or follows newline  First char at start or follows newline
1153  No need char  No need char
1154    
1155  /(.*X|^B)/IDZs  /(.*X|^B)/IDZs
1156  ------------------------------------------------------------------  ------------------------------------------------------------------
1157          Bra 0          Bra
1158          Bra 1          CBra 1
1159          Any*          AllAny*
1160          X          X
1161          Alt          Alt
1162          ^          ^
# Line 1170  No need char Line 1166  No need char
1166          End          End
1167  ------------------------------------------------------------------  ------------------------------------------------------------------
1168  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1169  Options: anchored dotall  Options: anchored dotall
1170  No first char  No first char
1171  No need char  No need char
1172    
1173  /(?s)(.*X|^B)/IDZ  /(?s)(.*X|^B)/IDZ
1174  ------------------------------------------------------------------  ------------------------------------------------------------------
1175          Bra 0          Bra
1176          Bra 1          CBra 1
1177          Any*          AllAny*
1178          X          X
1179          Alt          Alt
1180          ^          ^
# Line 1189  No need char Line 1184  No need char
1184          End          End
1185  ------------------------------------------------------------------  ------------------------------------------------------------------
1186  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1187  Options: anchored dotall  Options: anchored dotall
1188  No first char  No first char
1189  No need char  No need char
1190    
1191  /(?s:.*X|^B)/IDZ  /(?s:.*X|^B)/IDZ
1192  ------------------------------------------------------------------  ------------------------------------------------------------------
1193          Bra 0          Bra
1194          Bra 0          Bra
1195       04 Opt       04 Opt
1196          Any*          AllAny*
1197          X          X
1198          Alt          Alt
1199       04 Opt       04 Opt
# Line 1211  No need char Line 1205  No need char
1205          End          End
1206  ------------------------------------------------------------------  ------------------------------------------------------------------
1207  Capturing subpattern count = 0  Capturing subpattern count = 0
1208  Partial matching not supported  Options: anchored
1209  No options  No first char
 First char at start or follows newline  
1210  No need char  No need char
1211    
1212  /\Biss\B/I+  /\Biss\B/I+
# Line 1296  No need char Line 1289  No need char
1289    
1290  /.*iss/Ig+  /.*iss/Ig+
1291  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1292  No options  No options
1293  First char at start or follows newline  First char at start or follows newline
1294  Need char = 's'  Need char = 's'
# Line 1347  No need char Line 1339  No need char
1339    
1340  /^ab\n/Ig+  /^ab\n/Ig+
1341  Capturing subpattern count = 0  Capturing subpattern count = 0
1342    Contains explicit CR or LF match
1343  Options: anchored  Options: anchored
1344  No first char  No first char
1345  No need char  No need char
# Line 1356  No need char Line 1349  No need char
1349    
1350  /^ab\n/Img+  /^ab\n/Img+
1351  Capturing subpattern count = 0  Capturing subpattern count = 0
1352    Contains explicit CR or LF match
1353  Options: multiline  Options: multiline
1354  First char at start or follows newline  First char at start or follows newline
1355  Need char = 10  Need char = 10
# Line 1397  Need char = 'c' Line 1391  Need char = 'c'
1391    
1392  /a*/I  /a*/I
1393  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1394  No options  No options
1395  No first char  No first char
1396  No need char  No need char
1397    
1398  /a+/I  /a+/I
1399  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1400  No options  No options
1401  First char = 'a'  First char = 'a'
1402  No need char  No need char
1403    
1404  /(baa|a+)/I  /(baa|a+)/I
1405  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1406  No options  No options
1407  No first char  No first char
1408  Need char = 'a'  Need char = 'a'
1409    
1410  /a{0,3}/I  /a{0,3}/I
1411  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1412  No options  No options
1413  No first char  No first char
1414  No need char  No need char
1415    
1416  /baa{3,}/I  /baa{3,}/I
1417  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1418  No options  No options
1419  First char = 'b'  First char = 'b'
1420  Need char = 'a'  Need char = 'a'
1421    
1422  /"([^\\"]+|\\.)*"/I  /"([^\\"]+|\\.)*"/I
1423  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1424  No options  No options
1425  First char = '"'  First char = '"'
1426  Need char = '"'  Need char = '"'
# Line 1487  Need char = 'b' Line 1475  Need char = 'b'
1475    
1476  /abc*/I  /abc*/I
1477  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1478  No options  No options
1479  First char = 'a'  First char = 'a'
1480  Need char = 'b'  Need char = 'b'
1481    
1482  /ab.c*/I  /ab.c*/I
1483  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1484  No options  No options
1485  First char = 'a'  First char = 'a'
1486  Need char = 'b'  Need char = 'b'
1487    
1488  /a.c*/I  /a.c*/I
1489  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1490  No options  No options
1491  First char = 'a'  First char = 'a'
1492  No need char  No need char
1493    
1494  /.c*/I  /.c*/I
1495  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1496  No options  No options
1497  No first char  No first char
1498  No need char  No need char
1499    
1500  /ac*/I  /ac*/I
1501  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1502  No options  No options
1503  First char = 'a'  First char = 'a'
1504  No need char  No need char
1505    
1506  /(a.c*|b.c*)/I  /(a.c*|b.c*)/I
1507  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1508  No options  No options
1509  No first char  No first char
1510  No need char  No need char
1511    
1512  /a.c*|aba/I  /a.c*|aba/I
1513  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1514  No options  No options
1515  First char = 'a'  First char = 'a'
1516  No need char  No need char
1517    
1518  /.+a/I  /.+a/I
1519  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1520  No options  No options
1521  No first char  No first char
1522  Need char = 'a'  Need char = 'a'
1523    
1524  /(?=abcda)a.*/I  /(?=abcda)a.*/I
1525  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1526  No options  No options
1527  First char = 'a'  First char = 'a'
1528  Need char = 'a'  Need char = 'a'
1529    
1530  /(?=a)a.*/I  /(?=a)a.*/I
1531  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1532  No options  No options
1533  First char = 'a'  First char = 'a'
1534  No need char  No need char
# Line 1563  No need char Line 1541  No need char
1541    
1542  /a\d*/I  /a\d*/I
1543  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1544  No options  No options
1545  First char = 'a'  First char = 'a'
1546  No need char  No need char
1547    
1548  /ab\d*/I  /ab\d*/I
1549  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1550  No options  No options
1551  First char = 'a'  First char = 'a'
1552  Need char = 'b'  Need char = 'b'
# Line 1589  Need char = 'd' Line 1565  Need char = 'd'
1565    
1566  /ab\d+/I  /ab\d+/I
1567  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1568  No options  No options
1569  First char = 'a'  First char = 'a'
1570  Need char = 'b'  Need char = 'b'
1571    
1572  /a(?(1)b)/I  /a(?(1)b)(.)/I
1573  Capturing subpattern count = 0  Capturing subpattern count = 1
1574  No options  No options
1575  First char = 'a'  First char = 'a'
1576  No need char  No need char
1577    
1578  /a(?(1)bag|big)/I  /a(?(1)bag|big)(.)/I
1579  Capturing subpattern count = 0  Capturing subpattern count = 1
1580  No options  No options
1581  First char = 'a'  First char = 'a'
1582  Need char = 'g'  Need char = 'g'
1583    
1584  /a(?(1)bag|big)*/I  /a(?(1)bag|big)*(.)/I
1585  Capturing subpattern count = 0  Capturing subpattern count = 1
1586  No options  No options
1587  First char = 'a'  First char = 'a'
1588  No need char  No need char
1589    
1590  /a(?(1)bag|big)+/I  /a(?(1)bag|big)+(.)/I
1591  Capturing subpattern count = 0  Capturing subpattern count = 1
1592  No options  No options
1593  First char = 'a'  First char = 'a'
1594  Need char = 'g'  Need char = 'g'
1595    
1596  /a(?(1)b..|b..)/I  /a(?(1)b..|b..)(.)/I
1597  Capturing subpattern count = 0  Capturing subpattern count = 1
1598  No options  No options
1599  First char = 'a'  First char = 'a'
1600  Need char = 'b'  Need char = 'b'
# Line 1664  No need char Line 1639  No need char
1639      \Nabc      \Nabc
1640  No match  No match
1641    
1642  /a*(b+)(z)(z)/IP  /a*(b+)(z)(z)/P
1643      aaaabbbbzzzz      aaaabbbbzzzz
1644   0: aaaabbbbzz   0: aaaabbbbzz
1645   1: bbbb   1: bbbb
# Line 1696  Capturing subpattern count = 0 Line 1671  Capturing subpattern count = 0
1671  Options: anchored  Options: anchored
1672  No first char  No first char
1673  Need char = 'd'  Need char = 'd'
1674  Study returned NULL  Subject length lower bound = 4
1675    No set of starting bytes
1676    
1677  /\(             # ( at start  /\(             # ( at start
1678    (?:           # Non-capturing bracket    (?:           # Non-capturing bracket
# Line 1707  Study returned NULL Line 1683  Study returned NULL
1683    \)            # Closing )    \)            # Closing )
1684    /Ix    /Ix
1685  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1686  Options: extended  Options: extended
1687  First char = '('  First char = '('
1688  Need char = ')'  Need char = ')'
# Line 1736  No match Line 1711  No match
1711    
1712  /\(  ( (?>[^()]+) | (?R) )* \) /Ixg  /\(  ( (?>[^()]+) | (?R) )* \) /Ixg
1713  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1714  Options: extended  Options: extended
1715  First char = '('  First char = '('
1716  Need char = ')'  Need char = ')'
# Line 1751  Need char = ')' Line 1725  Need char = ')'
1725    
1726  /\(  (?: (?>[^()]+) | (?R) ) \) /Ix  /\(  (?: (?>[^()]+) | (?R) ) \) /Ix
1727  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1728  Options: extended  Options: extended
1729  First char = '('  First char = '('
1730  Need char = ')'  Need char = ')'
# Line 1770  No match Line 1743  No match
1743    
1744  /\(  (?: (?>[^()]+) | (?R) )? \) /Ix  /\(  (?: (?>[^()]+) | (?R) )? \) /Ix
1745  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1746  Options: extended  Options: extended
1747  First char = '('  First char = '('
1748  Need char = ')'  Need char = ')'
# Line 1781  Need char = ')' Line 1753  Need char = ')'
1753    
1754  /\(  ( (?>[^()]+) | (?R) )* \) /Ix  /\(  ( (?>[^()]+) | (?R) )* \) /Ix
1755  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
1756  Options: extended  Options: extended
1757  First char = '('  First char = '('
1758  Need char = ')'  Need char = ')'
# Line 1791  Need char = ')' Line 1762  Need char = ')'
1762    
1763  /\( ( ( (?>[^()]+) | (?R) )* ) \) /Ix  /\( ( ( (?>[^()]+) | (?R) )* ) \) /Ix
1764  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
1765  Options: extended  Options: extended
1766  First char = '('  First char = '('
1767  Need char = ')'  Need char = ')'
# Line 1802  Need char = ')' Line 1772  Need char = ')'
1772    
1773  /\( (123)? ( ( (?>[^()]+) | (?R) )* ) \) /Ix  /\( (123)? ( ( (?>[^()]+) | (?R) )* ) \) /Ix
1774  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
1775  Options: extended  Options: extended
1776  First char = '('  First char = '('
1777  Need char = ')'  Need char = ')'
# Line 1819  Need char = ')' Line 1788  Need char = ')'
1788    
1789  /\( ( (123)? ( (?>[^()]+) | (?R) )* ) \) /Ix  /\( ( (123)? ( (?>[^()]+) | (?R) )* ) \) /Ix
1790  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
1791  Options: extended  Options: extended
1792  First char = '('  First char = '('
1793  Need char = ')'  Need char = ')'
# Line 1836  Need char = ')' Line 1804  Need char = ')'
1804    
1805  /\( (((((((((( ( (?>[^()]+) | (?R) )* )))))))))) \) /Ix  /\( (((((((((( ( (?>[^()]+) | (?R) )* )))))))))) \) /Ix
1806  Capturing subpattern count = 11  Capturing subpattern count = 11
 Partial matching not supported  
1807  Options: extended  Options: extended
1808  First char = '('  First char = '('
1809  Need char = ')'  Need char = ')'
# Line 1856  Need char = ')' Line 1823  Need char = ')'
1823    
1824  /\( ( ( (?>[^()<>]+) | ((?>[^()]+)) | (?R) )* ) \) /Ix  /\( ( ( (?>[^()<>]+) | ((?>[^()]+)) | (?R) )* ) \) /Ix
1825  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
1826  Options: extended  Options: extended
1827  First char = '('  First char = '('
1828  Need char = ')'  Need char = ')'
# Line 1864  Need char = ')' Line 1830  Need char = ')'
1830   0: (abcd(xyz<p>qrs)123)   0: (abcd(xyz<p>qrs)123)
1831   1: abcd(xyz<p>qrs)123   1: abcd(xyz<p>qrs)123
1832   2: 123   2: 123
  3: <unset>  
1833    
1834  /\( ( ( (?>[^()]+) | ((?R)) )* ) \) /Ix  /\( ( ( (?>[^()]+) | ((?R)) )* ) \) /Ix
1835  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
1836  Options: extended  Options: extended
1837  First char = '('  First char = '('
1838  Need char = ')'  Need char = ')'
# Line 1885  Need char = ')' Line 1849  Need char = ')'
1849    
1850  /^[[:alnum:]]/DZ  /^[[:alnum:]]/DZ
1851  ------------------------------------------------------------------  ------------------------------------------------------------------
1852          Bra 0          Bra
1853          ^          ^
1854          [0-9A-Za-z]          [0-9A-Za-z]
1855          Ket          Ket
# Line 1898  No need char Line 1862  No need char
1862    
1863  /^[[:^alnum:]]/DZ  /^[[:^alnum:]]/DZ
1864  ------------------------------------------------------------------  ------------------------------------------------------------------
1865          Bra 0          Bra
1866          ^          ^
1867          [\x00-/:-@[-`{-\xff]          [\x00-/:-@[-`{-\xff] (neg)
1868          Ket          Ket
1869          End          End
1870  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 1911  No need char Line 1875  No need char
1875    
1876  /^[[:alpha:]]/DZ  /^[[:alpha:]]/DZ
1877  ------------------------------------------------------------------  ------------------------------------------------------------------
1878          Bra 0          Bra
1879          ^          ^
1880          [A-Za-z]          [A-Za-z]
1881          Ket          Ket
# Line 1924  No need char Line 1888  No need char
1888    
1889  /^[[:^alpha:]]/DZ  /^[[:^alpha:]]/DZ
1890  ------------------------------------------------------------------  ------------------------------------------------------------------
1891          Bra 0          Bra
1892          ^          ^
1893          [\x00-@[-`{-\xff]          [\x00-@[-`{-\xff] (neg)
1894          Ket          Ket
1895          End          End
1896  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 1940  Capturing subpattern count = 0 Line 1904  Capturing subpattern count = 0
1904  No options  No options
1905  No first char  No first char
1906  No need char  No need char
1907    Subject length lower bound = 1
1908  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
1909    _ 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
1910    
1911  /^[[:ascii:]]/DZ  /^[[:ascii:]]/DZ
1912  ------------------------------------------------------------------  ------------------------------------------------------------------
1913          Bra 0          Bra
1914          ^          ^
1915          [\x00-\x7f]          [\x00-\x7f]
1916          Ket          Ket
# Line 1958  No need char Line 1923  No need char
1923    
1924  /^[[:^ascii:]]/DZ  /^[[:^ascii:]]/DZ
1925  ------------------------------------------------------------------  ------------------------------------------------------------------
1926          Bra 0          Bra
1927          ^          ^
1928          [\x80-\xff]          [\x80-\xff] (neg)
1929          Ket          Ket
1930          End          End
1931  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 1971  No need char Line 1936  No need char
1936    
1937  /^[[:blank:]]/DZ  /^[[:blank:]]/DZ
1938  ------------------------------------------------------------------  ------------------------------------------------------------------
1939          Bra 0          Bra
1940          ^          ^
1941          [\x09 ]          [\x09 ]
1942          Ket          Ket
# Line 1984  No need char Line 1949  No need char
1949    
1950  /^[[:^blank:]]/DZ  /^[[:^blank:]]/DZ
1951  ------------------------------------------------------------------  ------------------------------------------------------------------
1952          Bra 0          Bra
1953          ^          ^
1954          [\x00-\x08\x0a-\x1f!-\xff]          [\x00-\x08\x0a-\x1f!-\xff] (neg)
1955          Ket          Ket
1956          End          End
1957  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 1997  No need char Line 1962  No need char
1962    
1963  /[\n\x0b\x0c\x0d[:blank:]]/IS  /[\n\x0b\x0c\x0d[:blank:]]/IS
1964  Capturing subpattern count = 0  Capturing subpattern count = 0
1965    Contains explicit CR or LF match
1966  No options  No options
1967  No first char  No first char
1968  No need char  No need char
1969    Subject length lower bound = 1
1970  Starting byte set: \x09 \x0a \x0b \x0c \x0d \x20  Starting byte set: \x09 \x0a \x0b \x0c \x0d \x20
1971    
1972  /^[[:cntrl:]]/DZ  /^[[:cntrl:]]/DZ
1973  ------------------------------------------------------------------  ------------------------------------------------------------------
1974          Bra 0          Bra
1975          ^          ^
1976          [\x00-\x1f\x7f]          [\x00-\x1f\x7f]
1977          Ket          Ket
# Line 2017  No need char Line 1984  No need char
1984    
1985  /^[[:digit:]]/DZ  /^[[:digit:]]/DZ
1986  ------------------------------------------------------------------  ------------------------------------------------------------------
1987          Bra 0          Bra
1988          ^          ^
1989          [0-9]          [0-9]
1990          Ket          Ket
# Line 2030  No need char Line 1997  No need char
1997    
1998  /^[[:graph:]]/DZ  /^[[:graph:]]/DZ
1999  ------------------------------------------------------------------  ------------------------------------------------------------------
2000          Bra 0          Bra
2001          ^          ^
2002          [!-~]          [!-~]
2003          Ket          Ket
# Line 2043  No need char Line 2010  No need char
2010    
2011  /^[[:lower:]]/DZ  /^[[:lower:]]/DZ
2012  ------------------------------------------------------------------  ------------------------------------------------------------------
2013          Bra 0          Bra
2014          ^          ^
2015          [a-z]          [a-z]
2016          Ket          Ket
# Line 2056  No need char Line 2023  No need char
2023    
2024  /^[[:print:]]/DZ  /^[[:print:]]/DZ
2025  ------------------------------------------------------------------  ------------------------------------------------------------------
2026          Bra 0          Bra
2027          ^          ^
2028          [ -~]          [ -~]
2029          Ket          Ket
# Line 2069  No need char Line 2036  No need char
2036    
2037  /^[[:punct:]]/DZ  /^[[:punct:]]/DZ
2038  ------------------------------------------------------------------  ------------------------------------------------------------------
2039          Bra 0          Bra
2040          ^          ^
2041          [!-/:-@[-`{-~]          [!-/:-@[-`{-~]
2042          Ket          Ket
# Line 2082  No need char Line 2049  No need char
2049    
2050  /^[[:space:]]/DZ  /^[[:space:]]/DZ
2051  ------------------------------------------------------------------  ------------------------------------------------------------------
2052          Bra 0          Bra
2053          ^          ^
2054          [\x09-\x0d ]          [\x09-\x0d ]
2055          Ket          Ket
# Line 2095  No need char Line 2062  No need char
2062    
2063  /^[[:upper:]]/DZ  /^[[:upper:]]/DZ
2064  ------------------------------------------------------------------  ------------------------------------------------------------------
2065          Bra 0          Bra
2066          ^          ^
2067          [A-Z]          [A-Z]
2068          Ket          Ket
# Line 2108  No need char Line 2075  No need char
2075    
2076  /^[[:xdigit:]]/DZ  /^[[:xdigit:]]/DZ
2077  ------------------------------------------------------------------  ------------------------------------------------------------------
2078          Bra 0          Bra
2079          ^          ^
2080          [0-9A-Fa-f]          [0-9A-Fa-f]
2081          Ket          Ket
# Line 2121  No need char Line 2088  No need char
2088    
2089  /^[[:word:]]/DZ  /^[[:word:]]/DZ
2090  ------------------------------------------------------------------  ------------------------------------------------------------------
2091          Bra 0          Bra
2092          ^          ^
2093          [0-9A-Z_a-z]          [0-9A-Z_a-z]
2094          Ket          Ket
# Line 2134  No need char Line 2101  No need char
2101    
2102  /^[[:^cntrl:]]/DZ  /^[[:^cntrl:]]/DZ
2103  ------------------------------------------------------------------  ------------------------------------------------------------------
2104          Bra 0          Bra
2105          ^          ^
2106          [ -~\x80-\xff]          [ -~\x80-\xff] (neg)
2107          Ket          Ket
2108          End          End
2109  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2147  No need char Line 2114  No need char
2114    
2115  /^[12[:^digit:]]/DZ  /^[12[:^digit:]]/DZ
2116  ------------------------------------------------------------------  ------------------------------------------------------------------
2117          Bra 0          Bra
2118          ^          ^
2119          [\x00-/12:-\xff]          [\x00-/12:-\xff] (neg)
2120          Ket          Ket
2121          End          End
2122  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2160  No need char Line 2127  No need char
2127    
2128  /^[[:^blank:]]/DZ  /^[[:^blank:]]/DZ
2129  ------------------------------------------------------------------  ------------------------------------------------------------------
2130          Bra 0          Bra
2131          ^          ^
2132          [\x00-\x08\x0a-\x1f!-\xff]          [\x00-\x08\x0a-\x1f!-\xff] (neg)
2133          Ket          Ket
2134          End          End
2135  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2173  No need char Line 2140  No need char
2140    
2141  /[01[:alpha:]%]/DZ  /[01[:alpha:]%]/DZ
2142  ------------------------------------------------------------------  ------------------------------------------------------------------
2143          Bra 0          Bra
2144          [%01A-Za-z]          [%01A-Za-z]
2145          Ket          Ket
2146          End          End
# Line 2246  Need char = 'd' Line 2213  Need char = 'd'
2213  /(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\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
2214  Capturing subpattern count = 271  Capturing subpattern count = 271
2215  Max back reference = 270  Max back reference = 270
 Partial matching not supported  
2216  No options  No options
2217  No first char  No first char
2218  No need char  No need char
# Line 2694  Need char = '-' Line 2660  Need char = '-'
2660    
2661  /#/IxDZ  /#/IxDZ
2662  ------------------------------------------------------------------  ------------------------------------------------------------------
2663          Bra 0          Bra
2664          Ket          Ket
2665          End          End
2666  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2705  No need char Line 2671  No need char
2671    
2672  /a#/IxDZ  /a#/IxDZ
2673  ------------------------------------------------------------------  ------------------------------------------------------------------
2674          Bra 0          Bra
2675          a          a
2676          Ket          Ket
2677          End          End
# Line 2717  No need char Line 2683  No need char
2683    
2684  /[\s]/DZ  /[\s]/DZ
2685  ------------------------------------------------------------------  ------------------------------------------------------------------
2686          Bra 0          Bra
2687          [\x09\x0a\x0c\x0d ]          [\x09\x0a\x0c\x0d ]
2688          Ket          Ket
2689          End          End
# Line 2729  No need char Line 2695  No need char
2695    
2696  /[\S]/DZ  /[\S]/DZ
2697  ------------------------------------------------------------------  ------------------------------------------------------------------
2698          Bra 0          Bra
2699          [\x00-\x08\x0b\x0e-\x1f!-\xff]          [\x00-\x08\x0b\x0e-\x1f!-\xff] (neg)
2700          Ket          Ket
2701          End          End
2702  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2741  No need char Line 2707  No need char
2707    
2708  /a(?i)b/DZ  /a(?i)b/DZ
2709  ------------------------------------------------------------------  ------------------------------------------------------------------
2710          Bra 0          Bra
2711          a          a
2712       01 Opt       01 Opt
2713       NC b       NC b
# Line 2763  No match Line 2729  No match
2729    
2730  /(a(?i)b)/DZ  /(a(?i)b)/DZ
2731  ------------------------------------------------------------------  ------------------------------------------------------------------
2732          Bra 0          Bra
2733          Bra 1          CBra 1
2734          a          a
2735       01 Opt       01 Opt
2736       NC b       NC b
# Line 2790  No match Line 2756  No match
2756    
2757  /   (?i)abc/IxDZ  /   (?i)abc/IxDZ
2758  ------------------------------------------------------------------  ------------------------------------------------------------------
2759          Bra 0          Bra
2760       NC abc       NC abc
2761          Ket          Ket
2762          End          End
# Line 2803  Need char = 'c' (caseless) Line 2769  Need char = 'c' (caseless)
2769  /#this is a comment  /#this is a comment
2770    (?i)abc/IxDZ    (?i)abc/IxDZ
2771  ------------------------------------------------------------------  ------------------------------------------------------------------
2772          Bra 0          Bra
2773       NC abc       NC abc
2774          Ket          Ket
2775          End          End
# Line 2815  Need char = 'c' (caseless) Line 2781  Need char = 'c' (caseless)
2781    
2782  /123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/DZ  /123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/DZ
2783  ------------------------------------------------------------------  ------------------------------------------------------------------
2784          Bra 0          Bra
2785          123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890          123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
2786          Ket          Ket
2787          End          End
# Line 2827  Need char = '0' Line 2793  Need char = '0'
2793    
2794  /\Q123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/DZ  /\Q123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/DZ
2795  ------------------------------------------------------------------  ------------------------------------------------------------------
2796          Bra 0          Bra
2797          123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890          123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
2798          Ket          Ket
2799          End          End
# Line 2839  Need char = '0' Line 2805  Need char = '0'
2805    
2806  /\Q\E/DZ  /\Q\E/DZ
2807  ------------------------------------------------------------------  ------------------------------------------------------------------
2808          Bra 0          Bra
2809          Ket          Ket
2810          End          End
2811  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2852  No need char Line 2818  No need char
2818    
2819  /\Q\Ex/DZ  /\Q\Ex/DZ
2820  ------------------------------------------------------------------  ------------------------------------------------------------------
2821          Bra 0          Bra
2822          x          x
2823          Ket          Ket
2824          End          End
# Line 2864  No need char Line 2830  No need char
2830    
2831  / \Q\E/DZ  / \Q\E/DZ
2832  ------------------------------------------------------------------  ------------------------------------------------------------------
2833          Bra 0          Bra
2834    
2835          Ket          Ket
2836          End          End
# Line 2876  No need char Line 2842  No need char
2842    
2843  /a\Q\E/DZ  /a\Q\E/DZ
2844  ------------------------------------------------------------------  ------------------------------------------------------------------
2845          Bra 0          Bra
2846          a          a
2847          Ket          Ket
2848          End          End
# Line 2894  No need char Line 2860  No need char
2860    
2861  /a\Q\Eb/DZ  /a\Q\Eb/DZ
2862  ------------------------------------------------------------------  ------------------------------------------------------------------
2863          Bra 0          Bra
2864          ab          ab
2865          Ket          Ket
2866          End          End
# Line 2908  Need char = 'b' Line 2874  Need char = 'b'
2874    
2875  /\Q\Eabc/DZ  /\Q\Eabc/DZ
2876  ------------------------------------------------------------------  ------------------------------------------------------------------
2877          Bra 0          Bra
2878          abc          abc
2879          Ket          Ket
2880          End          End
# Line 2920  Need char = 'c' Line 2886  Need char = 'c'
2886    
2887  /x*+\w/DZ  /x*+\w/DZ
2888  ------------------------------------------------------------------  ------------------------------------------------------------------
2889          Bra 0          Bra
2890          x*+          x*+
2891          \w          \w
2892          Ket          Ket
2893          End          End
2894  ------------------------------------------------------------------  ------------------------------------------------------------------
2895  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
2896  No options  No options
2897  No first char  No first char
2898  No need char  No need char
# Line 2938  No match Line 2903  No match
2903    
2904  /x?+/DZ  /x?+/DZ
2905  ------------------------------------------------------------------  ------------------------------------------------------------------
2906          Bra 0          Bra
2907          x?+          x?+
2908          Ket          Ket
2909          End          End
# Line 2950  No need char Line 2915  No need char
2915    
2916  /x++/DZ  /x++/DZ
2917  ------------------------------------------------------------------  ------------------------------------------------------------------
2918          Bra 0          Bra
2919          x++          x++
2920          Ket          Ket
2921          End          End
2922  ------------------------------------------------------------------  ------------------------------------------------------------------
2923  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
2924  No options  No options
2925  First char = 'x'  First char = 'x'
2926  No need char  No need char
2927    
2928  /x{1,3}+/DZ  /x{1,3}+/DZ
2929  ------------------------------------------------------------------  ------------------------------------------------------------------
2930          Bra 0          Bra
2931          Once          Once
2932          x          x
2933          x{0,2}          x{0,2}
# Line 2972  No need char Line 2936  No need char
2936          End          End
2937  ------------------------------------------------------------------  ------------------------------------------------------------------
2938  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
2939  No options  No options
2940  First char = 'x'  First char = 'x'
2941  No need char  No need char
2942    
2943  /(x)*+/DZ  /(x)*+/DZ
2944  ------------------------------------------------------------------  ------------------------------------------------------------------
2945          Bra 0          Bra
2946          Once          Once
2947          Brazero          Brazero
2948          Bra 1          CBra 1
2949          x          x
2950          KetRmax          KetRmax
2951          Ket          Ket
# Line 2996  No need char Line 2959  No need char
2959    
2960  /^(\w++|\s++)*$/I  /^(\w++|\s++)*$/I
2961  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
2962  Options: anchored  Options: anchored
2963  No first char  No first char
2964  No need char  No need char
# Line 3010  No match Line 2972  No match
2972    
2973  /(\d++)(\w)/I  /(\d++)(\w)/I
2974  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
2975  No options  No options
2976  No first char  No first char
2977  No need char  No need char
# Line 3025  No match Line 2986  No match
2986    
2987  /a++b/I  /a++b/I
2988  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
2989  No options  No options
2990  First char = 'a'  First char = 'a'
2991  Need char = 'b'  Need char = 'b'
# Line 3034  Need char = 'b' Line 2994  Need char = 'b'
2994    
2995  /(a++b)/I  /(a++b)/I
2996  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
2997  No options  No options
2998  First char = 'a'  First char = 'a'
2999  Need char = 'b'  Need char = 'b'
# Line 3044  Need char = 'b' Line 3003  Need char = 'b'
3003    
3004  /(a++)b/I  /(a++)b/I
3005  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
3006  No options  No options
3007  First char = 'a'  First char = 'a'
3008  Need char = 'b'  Need char = 'b'
# Line 3054  Need char = 'b' Line 3012  Need char = 'b'
3012    
3013  /([^()]++|\([^()]*\))+/I  /([^()]++|\([^()]*\))+/I
3014  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
3015  No options  No options
3016  No first char  No first char
3017  No need char  No need char
# Line 3064  No need char Line 3021  No need char
3021    
3022  /\(([^()]++|\([^()]+\))+\)/I  /\(([^()]++|\([^()]+\))+\)/I
3023  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
3024  No options  No options
3025  First char = '('  First char = '('
3026  Need char = ')'  Need char = ')'
# Line 3081  No match Line 3037  No match
3037    
3038  /(abc){1,3}+/DZ  /(abc){1,3}+/DZ
3039  ------------------------------------------------------------------  ------------------------------------------------------------------
3040          Bra 0          Bra
3041          Once          Once
3042          Bra 1          CBra 1
3043          abc          abc
3044          Ket          Ket
3045          Brazero          Brazero
3046          Bra 0          Bra
3047          Bra 1          CBra 1
3048          abc          abc
3049          Ket          Ket
3050          Brazero          Brazero
3051          Bra 1          CBra 1
3052          abc          abc
3053          Ket          Ket
3054          Ket          Ket
# Line 3119  Failed: nothing to repeat at offset 7 Line 3075  Failed: nothing to repeat at offset 7
3075    
3076  /x(?U)a++b/DZ  /x(?U)a++b/DZ
3077  ------------------------------------------------------------------  ------------------------------------------------------------------
3078          Bra 0          Bra
3079          x          x
3080          a++          a++
3081          b          b
# Line 3127  Failed: nothing to repeat at offset 7 Line 3083  Failed: nothing to repeat at offset 7
3083          End          End
3084  ------------------------------------------------------------------  ------------------------------------------------------------------
3085  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
3086  No options  No options
3087  First char = 'x'  First char = 'x'
3088  Need char = 'b'  Need char = 'b'
# Line 3136  Need char = 'b' Line 3091  Need char = 'b'
3091    
3092  /(?U)xa++b/DZ  /(?U)xa++b/DZ
3093  ------------------------------------------------------------------  ------------------------------------------------------------------
3094          Bra 0          Bra
3095          x          x
3096          a++          a++
3097          b          b
# Line 3144  Need char = 'b' Line 3099  Need char = 'b'
3099          End          End
3100  ------------------------------------------------------------------  ------------------------------------------------------------------
3101  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
3102  Options: ungreedy  Options: ungreedy
3103  First char = 'x'  First char = 'x'
3104  Need char = 'b'  Need char = 'b'
# Line 3153  Need char = 'b' Line 3107  Need char = 'b'
3107    
3108  /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/DZ  /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/DZ
3109  ------------------------------------------------------------------  ------------------------------------------------------------------
3110          Bra 0          Bra
3111          ^          ^
3112          Bra 1          CBra 1
3113          Bra 2          CBra 2
3114          a+          a+
3115          Ket          Ket
3116          Bra 3          CBra 3
3117          [ab]+?          [ab]+?
3118          Ket          Ket
3119          Bra 4          CBra 4
3120          [bc]+          [bc]+
3121          Ket          Ket
3122          Bra 5          CBra 5
3123          \w*          \w*
3124          Ket          Ket
3125          Ket          Ket
# Line 3173  Need char = 'b' Line 3127  Need char = 'b'
3127          End          End
3128  ------------------------------------------------------------------  ------------------------------------------------------------------
3129  Capturing subpattern count = 5  Capturing subpattern count = 5
 Partial matching not supported  
3130  Options: anchored  Options: anchored
3131  No first char  No first char
3132  No need char  No need char
3133    
3134  /^x(?U)a+b/DZ  /^x(?U)a+b/DZ
3135  ------------------------------------------------------------------  ------------------------------------------------------------------
3136          Bra 0          Bra
3137          ^          ^
3138          x          x
3139          a++          a++
# Line 3189  No need char Line 3142  No need char
3142          End          End
3143  ------------------------------------------------------------------  ------------------------------------------------------------------
3144  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
3145  Options: anchored  Options: anchored
3146  No first char  No first char
3147  Need char = 'b'  Need char = 'b'
3148    
3149  /^x(?U)(a+)b/DZ  /^x(?U)(a+)b/DZ
3150  ------------------------------------------------------------------  ------------------------------------------------------------------
3151          Bra 0          Bra
3152          ^          ^
3153          x          x
3154          Bra 1          CBra 1
3155          a+?          a+?
3156          Ket          Ket
3157          b          b
# Line 3207  Need char = 'b' Line 3159  Need char = 'b'
3159          End          End
3160  ------------------------------------------------------------------  ------------------------------------------------------------------
3161  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
3162  Options: anchored  Options: anchored
3163  No first char  No first char
3164  Need char = 'b'  Need char = 'b'
# Line 3247  Failed: missing terminating ] for charac Line 3198  Failed: missing terminating ] for charac
3198    
3199  /[\s]/IDZ  /[\s]/IDZ
3200  ------------------------------------------------------------------  ------------------------------------------------------------------
3201          Bra 0          Bra
3202          [\x09\x0a\x0c\x0d ]          [\x09\x0a\x0c\x0d ]
3203          Ket          Ket
3204          End          End
# Line 3259  No need char Line 3210  No need char
3210    
3211  /[[:space:]]/IDZ  /[[:space:]]/IDZ
3212  ------------------------------------------------------------------  ------------------------------------------------------------------
3213          Bra 0          Bra
3214          [\x09-\x0d ]          [\x09-\x0d ]
3215          Ket          Ket
3216          End          End
# Line 3271  No need char Line 3222  No need char
3222    
3223  /[[:space:]abcde]/IDZ  /[[:space:]abcde]/IDZ
3224  ------------------------------------------------------------------  ------------------------------------------------------------------
3225          Bra 0          Bra
3226          [\x09-\x0d a-e]          [\x09-\x0d a-e]
3227          Ket          Ket
3228          End          End
# Line 3283  No need char Line 3234  No need char
3234    
3235  /< (?: (?(R) \d++  | [^<>]*+) | (?R)) * >/Ix  /< (?: (?(R) \d++  | [^<>]*+) | (?R)) * >/Ix
3236  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
3237  Options: extended  Options: extended
3238  First char = '<'  First char = '<'
3239  Need char = '>'  Need char = '>'
# Line 3306  No match Line 3256  No match
3256    
3257  |8J\$WE\<\.rX\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|IDZ  |8J\$WE\<\.rX\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|IDZ
3258  ------------------------------------------------------------------  ------------------------------------------------------------------
3259          Bra 0          Bra
3260          8J$WE<.rX+ix[d1b!H#?vV0vrK:ZH1=2M>iV;?aPhFB<*vW@QW@sO9}cfZA-i'w%hKd6gt1UJP,15_#QY$M^Mss_U/]&LK9[5vQub^w[KDD<EjmhUZ?.akp2dF>qmj;2}YWFdYx.Ap]hjCPTP(n28k+3;o&WXqs/gOXdr$:r'do0;b4c(f_Gr="\4)[01T7ajQJvL$W~mL_sS/4h:x*[ZN=KLs&L5zX//>it,o:aU(;Z>pW&T7oP'2K^E:x9'c[%z-,64JQ5AeH_G#KijUKghQw^\vea3a?kka_G$8#`*kynsxzBLru']k_[7FrVx}^=$blx>s-N%j;D*aZDnsw:YKZ%Q.Kne9#hP?+b3(SOvL,^;&u5@?5C5Bhb=m-vEh_L15Jl]U)0RP6{q%L^_z5E'Dw6X          8J$WE<.rX+ix[d1b!H#?vV0vrK:ZH1=2M>iV;?aPhFB<*vW@QW@sO9}cfZA-i'w%hKd6gt1UJP,15_#QY$M^Mss_U/]&LK9[5vQub^w[KDD<EjmhUZ?.akp2dF>qmj;2}YWFdYx.Ap]hjCPTP(n28k+3;o&WXqs/gOXdr$:r'do0;b4c(f_Gr="\4)[01T7ajQJvL$W~mL_sS/4h:x*[ZN=KLs&L5zX//>it,o:aU(;Z>pW&T7oP'2K^E:x9'c[%z-,64JQ5AeH_G#KijUKghQw^\vea3a?kka_G$8#`*kynsxzBLru']k_[7FrVx}^=$blx>s-N%j;D*aZDnsw:YKZ%Q.Kne9#hP?+b3(SOvL,^;&u5@?5C5Bhb=m-vEh_L15Jl]U)0RP6{q%L^_z5E'Dw6X
3261          \b          \b
3262          Ket          Ket
# Line 3319  Need char = 'X' Line 3269  Need char = 'X'
3269    
3270  |\$\<\.X\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|IDZ  |\$\<\.X\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|IDZ
3271  ------------------------------------------------------------------  ------------------------------------------------------------------
3272          Bra 0          Bra
3273          $<.X+ix[d1b!H#?vV0vrK:ZH1=2M>iV;?aPhFB<*vW@QW@sO9}cfZA-i'w%hKd6gt1UJP,15_#QY$M^Mss_U/]&LK9[5vQub^w[KDD<EjmhUZ?.akp2dF>qmj;2}YWFdYx.Ap]hjCPTP(n28k+3;o&WXqs/gOXdr$:r'do0;b4c(f_Gr="\4)[01T7ajQJvL$W~mL_sS/4h:x*[ZN=KLs&L5zX//>it,o:aU(;Z>pW&T7oP'2K^E:x9'c[%z-,64JQ5AeH_G#KijUKghQw^\vea3a?kka_G$8#`*kynsxzBLru']k_[7FrVx}^=$blx>s-N%j;D*aZDnsw:YKZ%Q.Kne9#hP?+b3(SOvL,^;&u5@?5C5Bhb=m-vEh_L15Jl]U)0RP6{q%L^_z5E'Dw6X          $<.X+ix[d1b!H#?vV0vrK:ZH1=2M>iV;?aPhFB<*vW@QW@sO9}cfZA-i'w%hKd6gt1UJP,15_#QY$M^Mss_U/]&LK9[5vQub^w[KDD<EjmhUZ?.akp2dF>qmj;2}YWFdYx.Ap]hjCPTP(n28k+3;o&WXqs/gOXdr$:r'do0;b4c(f_Gr="\4)[01T7ajQJvL$W~mL_sS/4h:x*[ZN=KLs&L5zX//>it,o:aU(;Z>pW&T7oP'2K^E:x9'c[%z-,64JQ5AeH_G#KijUKghQw^\vea3a?kka_G$8#`*kynsxzBLru']k_[7FrVx}^=$blx>s-N%j;D*aZDnsw:YKZ%Q.Kne9#hP?+b3(SOvL,^;&u5@?5C5Bhb=m-vEh_L15Jl]U)0RP6{q%L^_z5E'Dw6X
3274          \b          \b
3275          Ket          Ket
# Line 3333  Need char = 'X' Line 3283  Need char = 'X'
3283  /(.*)\d+\1/I  /(.*)\d+\1/I
3284  Capturing subpattern count = 1  Capturing subpattern count = 1
3285  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
3286  No options  No options
3287  No first char  No first char
3288  No need char  No need char
3289    
3290  /(.*)\d+/I  /(.*)\d+/I
3291  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
3292  No options  No options
3293  First char at start or follows newline  First char at start or follows newline
3294  No need char  No need char
# Line 3348  No need char Line 3296  No need char
3296  /(.*)\d+\1/Is  /(.*)\d+\1/Is
3297  Capturing subpattern count = 1  Capturing subpattern count = 1
3298  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
3299  Options: dotall  Options: dotall
3300  No first char  No first char
3301  No need char  No need char
3302    
3303  /(.*)\d+/Is  /(.*)\d+/Is
3304  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
3305  Options: anchored dotall  Options: anchored dotall
3306  No first char  No first char
3307  No need char  No need char
# Line 3363  No need char Line 3309  No need char
3309  /(.*(xyz))\d+\2/I  /(.*(xyz))\d+\2/I
3310  Capturing subpattern count = 2  Capturing subpattern count = 2
3311  Max back reference = 2  Max back reference = 2
 Partial matching not supported  
3312  No options  No options
3313  First char at start or follows newline  First char at start or follows newline
3314  Need char = 'z'  Need char = 'z'
# Line 3371  Need char = 'z' Line 3316  Need char = 'z'
3316  /((.*))\d+\1/I  /((.*))\d+\1/I
3317  Capturing subpattern count = 2  Capturing subpattern count = 2
3318  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
3319  No options  No options
3320  No first char  No first char
3321  No need char  No need char
# Line 3388  Need char = 'b' Line 3332  Need char = 'b'
3332    
3333  /(?=a).*/I  /(?=a).*/I
3334  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
3335  No options  No options
3336  First char = 'a'  First char = 'a'
3337  No need char  No need char
# Line 3435  No options Line 3378  No options
3378  No first char  No first char
3379  Need char = 'a'  Need char = 'a'
3380    
3381  /(?(1)ab|ac)/I  /(?(1)ab|ac)(.)/I
3382  Capturing subpattern count = 0  Capturing subpattern count = 1
3383  No options  No options
3384  First char = 'a'  First char = 'a'
3385  No need char  No need char
3386    
3387  /(?(1)abz|acz)/I  /(?(1)abz|acz)(.)/I
3388  Capturing subpattern count = 0  Capturing subpattern count = 1
3389  No options  No options
3390  First char = 'a'  First char = 'a'
3391  Need char = 'z'  Need char = 'z'
3392    
3393  /(?(1)abz)/I  /(?(1)abz)(.)/I
3394  Capturing subpattern count = 0  Capturing subpattern count = 1
3395  No options  No options
3396  No first char  No first char
3397  No need char  No need char
3398    
3399  /(?(1)abz)123/I  /(?(1)abz)(1)23/I
3400  Capturing subpattern count = 0  Capturing subpattern count = 1
3401  No options  No options
3402  No first char  No first char
3403  Need char = '3'  Need char = '3'
# Line 3494  Capturing subpattern count = 0 Line 3437  Capturing subpattern count = 0
3437  No options  No options
3438  No first char  No first char
3439  No need char  No need char
3440    Subject length lower bound = 1
3441  Starting byte set: a b  Starting byte set: a b
3442    
3443  /[^a]/I  /[^a]/I
# Line 3513  Capturing subpattern count = 0 Line 3457  Capturing subpattern count = 0
3457  No options  No options
3458  No first char  No first char
3459  Need char = '6'  Need char = '6'
3460    Subject length lower bound = 4
3461  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
3462    
3463  /a^b/I  /a^b/I
# Line 3546  Capturing subpattern count = 0 Line 3491  Capturing subpattern count = 0
3491  Options: caseless  Options: caseless
3492  No first char  No first char
3493  No need char  No need char
3494    Subject length lower bound = 1
3495  Starting byte set: A B a b  Starting byte set: A B a b
3496    
3497  /[ab](?i)cd/IS  /[ab](?i)cd/IS
# Line 3553  Capturing subpattern count = 0 Line 3499  Capturing subpattern count = 0
3499  No options  No options
3500  No first char  No first char
3501  Need char = 'd' (caseless)  Need char = 'd' (caseless)
3502    Subject length lower bound = 3
3503  Starting byte set: a b  Starting byte set: a b
3504    
3505  /abc(?C)def/I  /abc(?C)def/I
# Line 3710  No need char Line 3657  No need char
3657    
3658  /(\d{3}(?C))*/I  /(\d{3}(?C))*/I
3659  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
3660  No options  No options
3661  No first char  No first char
3662  No need char  No need char
# Line 3839  Callout 0: last capture = 1 Line 3785  Callout 0: last capture = 1
3785    
3786  /a(b+)(c*)(?C1)/I  /a(b+)(c*)(?C1)/I
3787  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
3788  No options  No options
3789  First char = 'a'  First char = 'a'
3790  Need char = 'b'  Need char = 'b'
# Line 3865  No match Line 3810  No match
3810    
3811  /a(b+?)(c*?)(?C1)/I  /a(b+?)(c*?)(?C1)/I
3812  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
3813  No options  No options
3814  First char = 'a'  First char = 'a'
3815  Need char = 'b'  Need char = 'b'
# Line 3906  Capturing subpattern count = 0 Line 3850  Capturing subpattern count = 0
3850  No options  No options
3851  No first char  No first char
3852  No need char  No need char
3853    Subject length lower bound = 1
3854  Starting byte set: a b  Starting byte set: a b
3855    
3856  /(?R)/I  /(?R)/I
# Line 3991  Need char = '<' Line 3936  Need char = '<'
3936    
3937  /(a(?1)b)/DZ  /(a(?1)b)/DZ
3938  ------------------------------------------------------------------  ------------------------------------------------------------------
3939          Bra 0          Bra
3940          Bra 1          CBra 1
3941          a          a
3942          Once          Once
3943          Recurse          Recurse
# Line 4009  Need char = 'b' Line 3954  Need char = 'b'
3954    
3955  /(a(?1)+b)/DZ  /(a(?1)+b)/DZ
3956  ------------------------------------------------------------------  ------------------------------------------------------------------
3957          Bra 0          Bra
3958          Bra 1          CBra 1
3959          a          a
3960          Once          Once
3961          Recurse          Recurse
# Line 4025  No options Line 3970  No options
3970  First char = 'a'  First char = 'a'
3971  Need char = 'b'  Need char = 'b'
3972    
 /^\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  
   
3973  /^(\d+|\((?1)([+*-])(?1)\)|-(?1))$/I  /^(\d+|\((?1)([+*-])(?1)\)|-(?1))$/I
3974  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
3975  Options: anchored  Options: anchored
3976  No first char  No first char
3977  No need char  No need char
# Line 4102  No match Line 4012  No match
4012    
4013  /((< (?: (?(R) \d++  | [^<>]*+) | (?2)) * >))/Ix  /((< (?: (?(R) \d++  | [^<>]*+) | (?2)) * >))/Ix
4014  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
4015  Options: extended  Options: extended
4016  First char = '<'  First char = '<'
4017  Need char = '>'  Need char = '>'
# Line 4185  No need char Line 4094  No need char
4094    
4095  /a(?P<name1>b|c)d(?P<longername2>e)/DZ  /a(?P<name1>b|c)d(?P<longername2>e)/DZ
4096  ------------------------------------------------------------------  ------------------------------------------------------------------
4097          Bra 0          Bra
4098          a          a
4099          Bra 1          CBra 1
4100          b          b
4101          Alt          Alt
4102          c          c
4103          Ket          Ket
4104          d          d
4105          Bra 2          CBra 2
4106          e          e
4107          Ket          Ket
4108          Ket          Ket
# Line 4217  Need char = 'e' Line 4126  Need char = 'e'
4126    
4127  /(?:a(?P<c>c(?P<d>d)))(?P<a>a)/DZ  /(?:a(?P<c>c(?P<d>d)))(?P<a>a)/DZ
4128  ------------------------------------------------------------------  ------------------------------------------------------------------
4129          Bra 0          Bra
4130          Bra 0          Bra
4131          a          a
4132          Bra 1          CBra 1
4133          c          c
4134          Bra 2          CBra 2
4135          d          d
4136          Ket          Ket
4137          Ket          Ket
4138          Ket          Ket
4139          Bra 3          CBra 3
4140          a          a
4141          Ket          Ket
4142          Ket          Ket
# Line 4244  Need char = 'a' Line 4153  Need char = 'a'
4153    
4154  /(?P<a>a)...(?P=a)bbb(?P>a)d/DZ  /(?P<a>a)...(?P=a)bbb(?P>a)d/DZ
4155  ------------------------------------------------------------------  ------------------------------------------------------------------
4156          Bra 0          Bra
4157          Bra 1          CBra 1
4158          a          a
4159          Ket          Ket
4160          Any          Any
# Line 4276  Named capturing subpatterns: Line 4185  Named capturing subpatterns:
4185    one     1    one     1
4186    three   3    three   3
4187    two     2    two     2
 Partial matching not supported  
4188  Options: anchored caseless  Options: anchored caseless
4189  No first char  No first char
4190  No need char  No need char
# Line 4322  No need char Line 4230  No need char
4230    
4231  /(.*)a/Is  /(.*)a/Is
4232  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
4233  Options: anchored dotall  Options: anchored dotall
4234  No first char  No first char
4235  Need char = 'a'  Need char = 'a'
# Line 4330  Need char = 'a' Line 4237  Need char = 'a'
4237  /(.*)a\1/Is  /(.*)a\1/Is
4238  Capturing subpattern count = 1  Capturing subpattern count = 1
4239  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
4240  Options: dotall  Options: dotall
4241  No first char  No first char
4242  Need char = 'a'  Need char = 'a'
# Line 4338  Need char = 'a' Line 4244  Need char = 'a'
4244  /(.*)a(b)\2/Is  /(.*)a(b)\2/Is
4245  Capturing subpattern count = 2  Capturing subpattern count = 2
4246  Max back reference = 2  Max back reference = 2
 Partial matching not supported  
4247  Options: anchored dotall  Options: anchored dotall
4248  No first char  No first char
4249  Need char = 'b'  Need char = 'b'
4250    
4251  /((.*)a|(.*)b)z/Is  /((.*)a|(.*)b)z/Is
4252  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
4253  Options: anchored dotall  Options: anchored dotall
4254  No first char  No first char
4255  Need char = 'z'  Need char = 'z'
# Line 4353  Need char = 'z' Line 4257  Need char = 'z'
4257  /((.*)a|(.*)b)z\1/Is  /((.*)a|(.*)b)z\1/Is
4258  Capturing subpattern count = 3  Capturing subpattern count = 3
4259  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
4260  Options: dotall  Options: dotall
4261  No first char  No first char
4262  Need char = 'z'  Need char = 'z'
# Line 4361  Need char = 'z' Line 4264  Need char = 'z'
4264  /((.*)a|(.*)b)z\2/Is  /((.*)a|(.*)b)z\2/Is
4265  Capturing subpattern count = 3  Capturing subpattern count = 3
4266  Max back reference = 2  Max back reference = 2
 Partial matching not supported  
4267  Options: dotall  Options: dotall
4268  No first char  No first char
4269  Need char = 'z'  Need char = 'z'
# Line 4369  Need char = 'z' Line 4271  Need char = 'z'
4271  /((.*)a|(.*)b)z\3/Is  /((.*)a|(.*)b)z\3/Is
4272  Capturing subpattern count = 3  Capturing subpattern count = 3
4273  Max back reference = 3  Max back reference = 3
 Partial matching not supported  
4274  Options: dotall  Options: dotall
4275  No first char  No first char
4276  Need char = 'z'  Need char = 'z'
# Line 4377  Need char = 'z' Line 4278  Need char = 'z'
4278  /((.*)a|^(.*)b)z\3/Is  /((.*)a|^(.*)b)z\3/Is
4279  Capturing subpattern count = 3  Capturing subpattern count = 3
4280  Max back reference = 3  Max back reference = 3
 Partial matching not supported  
4281  Options: anchored dotall  Options: anchored dotall
4282  No first char  No first char
4283  Need char = 'z'  Need char = 'z'
4284    
4285  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a/Is  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a/Is
4286  Capturing subpattern count = 31  Capturing subpattern count = 31
 Partial matching not supported  
4287  Options: anchored dotall  Options: anchored dotall
4288  No first char  No first char
4289  No need char  No need char
# Line 4392  No need char Line 4291  No need char
4291  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\31/Is  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\31/Is
4292  Capturing subpattern count = 31  Capturing subpattern count = 31
4293  Max back reference = 31  Max back reference = 31
 Partial matching not supported  
4294  Options: dotall  Options: dotall
4295  No first char  No first char
4296  No need char  No need char
# Line 4400  No need char Line 4298  No need char
4298  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\32/Is  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\32/Is
4299  Capturing subpattern count = 32  Capturing subpattern count = 32
4300  Max back reference = 32  Max back reference = 32
 Partial matching not supported  
4301  Options: dotall  Options: dotall
4302  No first char  No first char
4303  No need char  No need char
4304    
4305  /(a)(bc)/INDZ  /(a)(bc)/INDZ
4306  ------------------------------------------------------------------  ------------------------------------------------------------------
4307          Bra 0          Bra
4308          Bra 0          Bra
4309          a          a
4310          Ket          Ket
4311          Bra 0          Bra
4312          bc          bc
4313          Ket          Ket
4314          Ket          Ket
# Line 4426  Need char = 'c' Line 4323  Need char = 'c'
4323    
4324  /(?P<one>a)(bc)/INDZ  /(?P<one>a)(bc)/INDZ
4325  ------------------------------------------------------------------  ------------------------------------------------------------------
4326          Bra 0          Bra
4327          Bra 1          CBra 1
4328          a          a
4329          Ket          Ket
4330          Bra 0          Bra
4331          bc          bc
4332          Ket          Ket
4333          Ket          Ket
# Line 4448  Need char = 'c' Line 4345  Need char = 'c'
4345    
4346  /(a)(?P<named>bc)/INDZ  /(a)(?P<named>bc)/INDZ
4347  ------------------------------------------------------------------  ------------------------------------------------------------------
4348          Bra 0          Bra
4349          Bra 0          Bra
4350          a          a
4351          Ket          Ket
4352          Bra 1          CBra 1
4353          bc          bc
4354          Ket          Ket
4355          Ket          Ket
# Line 4467  Need char = 'c' Line 4364  Need char = 'c'
4364    
4365  /(a+)*zz/I  /(a+)*zz/I
4366  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
4367  No options  No options
4368  No first char  No first char
4369  Need char = 'z'  Need char = 'z'
# Line 4541  copy substring three failed -7 Line 4437  copy substring three failed -7
4437    
4438  /(?P<Tes>)(?P<Test>)/DZ  /(?P<Tes>)(?P<Test>)/DZ
4439  ------------------------------------------------------------------  ------------------------------------------------------------------
4440          Bra 0          Bra
4441          Bra 1          CBra 1
4442          Ket          Ket
4443          Bra 2          CBra 2
4444          Ket          Ket
4445          Ket          Ket
4446          End          End
# Line 4559  No need char Line 4455  No need char
4455    
4456  /(?P<Test>)(?P<Tes>)/DZ  /(?P<Test>)(?P<Tes>)/DZ
4457  ------------------------------------------------------------------  ------------------------------------------------------------------
4458          Bra 0          Bra
4459          Bra 1          CBra 1
4460          Ket          Ket
4461          Bra 2          CBra 2
4462          Ket          Ket
4463          Ket          Ket
4464          End          End
# Line 4604  Failed: two named subpatterns have the s Line 4500  Failed: two named subpatterns have the s
4500  Capturing subpattern count = 3  Capturing subpattern count = 3
4501  Named capturing subpatterns:  Named capturing subpatterns:
4502    elem   2    elem   2
 Partial matching not supported  
4503  No options  No options
4504  First char = '['  First char = '['
4505  Need char = ']'  Need char = ']'
# Line 4622  No match Line 4517  No match
4517  Capturing subpattern count = 3  Capturing subpattern count = 3
4518  Named capturing subpatterns:  Named capturing subpatterns:
4519    elem   2    elem   2
 Partial matching not supported  
4520  No options  No options
4521  First char = '['  First char = '['
4522  Need char = ']'  Need char = ']'
# Line 4636  Need char = ']' Line 4530  Need char = ']'
4530    
4531  /(a(b(?2)c))?/DZ  /(a(b(?2)c))?/DZ
4532  ------------------------------------------------------------------  ------------------------------------------------------------------
4533          Bra 0          Bra
4534          Brazero          Brazero
4535          Bra 1          CBra 1
4536          a          a
4537          Bra 2          CBra 2
4538          b          b
4539          Once          Once
4540          Recurse          Recurse
# Line 4658  No need char Line 4552  No need char
4552    
4553  /(a(b(?2)c))*/DZ  /(a(b(?2)c))*/DZ
4554  ------------------------------------------------------------------  ------------------------------------------------------------------
4555          Bra 0          Bra
4556          Brazero          Brazero
4557          Bra 1          CBra 1
4558          a          a
4559          Bra 2          CBra 2
4560          b          b
4561          Once          Once
4562          Recurse          Recurse
# Line 4680  No need char Line 4574  No need char
4574    
4575  /(a(b(?2)c)){0,2}/DZ  /(a(b(?2)c)){0,2}/DZ
4576  ------------------------------------------------------------------  ------------------------------------------------------------------
4577          Bra 0          Bra
4578          Brazero          Brazero
4579          Bra 0          Bra
4580          Bra 1          CBra 1
4581          a          a
4582          Bra 2          CBra 2
4583          b          b
4584          Once          Once
4585          Recurse          Recurse
# Line 4694  No need char Line 4588  No need char
4588          Ket          Ket
4589          Ket          Ket
4590          Brazero          Brazero
4591          Bra 1          CBra 1
4592          a          a
4593          Bra 2          CBra 2
4594          b          b
4595          Once          Once
4596          Recurse          Recurse
# Line 4715  No need char Line 4609  No need char
4609    
4610  /[ab]{1}+/DZ  /[ab]{1}+/DZ
4611  ------------------------------------------------------------------  ------------------------------------------------------------------
4612          Bra 0          Bra
4613          Once          Once
4614          [ab]{1,1}          [ab]{1,1}
4615          Ket          Ket
# Line 4729  No need char Line 4623  No need char
4623    
4624  /((w\/|-|with)*(free|immediate)*.*?shipping\s*[!.-]*)/Ii  /((w\/|-|with)*(free|immediate)*.*?shipping\s*[!.-]*)/Ii
4625  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
4626  Options: caseless  Options: caseless
4627  No first char  No first char
4628  Need char = 'g' (caseless)  Need char = 'g' (caseless)
# Line 4739  Need char = 'g' (caseless) Line 4632  Need char = 'g' (caseless)
4632    
4633  /((w\/|-|with)*(free|immediate)*.*?shipping\s*[!.-]*)/IiS  /((w\/|-|with)*(free|immediate)*.*?shipping\s*[!.-]*)/IiS
4634  Capturing subpattern count = 3  Capturing subpattern count = 3
 Partial matching not supported  
4635  Options: caseless  Options: caseless
4636  No first char  No first char
4637  Need char = 'g' (caseless)  Need char = 'g' (caseless)
4638  Study returned NULL  Subject length lower bound = 8
4639    No set of starting bytes
4640       Baby Bjorn Active Carrier - With free SHIPPING!!       Baby Bjorn Active Carrier - With free SHIPPING!!
4641   0: Baby Bjorn Active Carrier - With free SHIPPING!!   0: Baby Bjorn Active Carrier - With free SHIPPING!!
4642   1: Baby Bjorn Active Carrier - With free SHIPPING!!   1: Baby Bjorn Active Carrier - With free SHIPPING!!
4643    
4644  /a*.*b/ISDZ  /a*.*b/ISDZ
4645  ------------------------------------------------------------------  ------------------------------------------------------------------
4646          Bra 0          Bra
4647          a*          a*
4648          Any*          Any*
4649          b          b
# Line 4758  Study returned NULL Line 4651  Study returned NULL
4651          End          End
4652  ------------------------------------------------------------------  ------------------------------------------------------------------
4653  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
4654  No options  No options
4655  No first char  No first char
4656  Need char = 'b'  Need char = 'b'
4657  Study returned NULL  Subject length lower bound = 1
4658    No set of starting bytes
4659    
4660  /(a|b)*.?c/ISDZ  /(a|b)*.?c/ISDZ
4661  ------------------------------------------------------------------  ------------------------------------------------------------------
4662          Bra 0          Bra
4663          Brazero          Brazero
4664          Bra 1          CBra 1
4665          a          a
4666          Alt          Alt
4667          b          b
# Line 4782  Capturing subpattern count = 1 Line 4675  Capturing subpattern count = 1
4675  No options  No options
4676  No first char  No first char
4677  Need char = 'c'  Need char = 'c'
4678  Study returned NULL  Subject length lower bound = 1
4679    No set of starting bytes
4680    
4681  /abc(?C255)de(?C)f/DZ  /abc(?C255)de(?C)f/DZ
4682  ------------------------------------------------------------------  ------------------------------------------------------------------
4683          Bra 0          Bra
4684          abc          abc
4685          Callout 255 10 1          Callout 255 10 1
4686          de          de
# Line 4802  Need char = 'f' Line 4696  Need char = 'f'
4696    
4697  /abcde/ICDZ  /abcde/ICDZ
4698  ------------------------------------------------------------------  ------------------------------------------------------------------
4699          Bra 0          Bra
4700          Callout 255 0 1          Callout 255 0 1
4701          a          a
4702          Callout 255 1 1          Callout 255 1 1
# Line 4841  No match Line 4735  No match
4735    
4736  /a*b/ICDZ  /a*b/ICDZ
4737  ------------------------------------------------------------------  ------------------------------------------------------------------
4738          Bra 0          Bra
4739          Callout 255 0 2          Callout 255 0 2
4740          a*+          a*+
4741          Callout 255 2 1          Callout 255 2 1
# Line 4851  No match Line 4745  No match
4745          End          End
4746  ------------------------------------------------------------------  ------------------------------------------------------------------
4747  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
4748  Options:  Options:
4749  No first char  No first char
4750  Need char = 'b'  Need char = 'b'
# Line 4886  Need char = 'b' Line 4779  Need char = 'b'
4779    
4780  /a+b/ICDZ  /a+b/ICDZ
4781  ------------------------------------------------------------------  ------------------------------------------------------------------
4782          Bra 0          Bra
4783          Callout 255 0 2          Callout 255 0 2
4784          a++          a++
4785          Callout 255 2 1          Callout 255 2 1
# Line 4896  Need char = 'b' Line 4789  Need char = 'b'
4789          End          End
4790  ------------------------------------------------------------------  ------------------------------------------------------------------
4791  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
4792  Options:  Options:
4793  First char = 'a'  First char = 'a'
4794  Need char = 'b'  Need char = 'b'
# Line 4926  No match Line 4818  No match
4818    
4819  /(abc|def)x/ICDZ  /(abc|def)x/ICDZ
4820  ------------------------------------------------------------------  ------------------------------------------------------------------
4821          Bra 0          Bra
4822          Callout 255 0 9          Callout 255 0 9
4823          Bra 1          CBra 1
4824          Callout 255 1 1          Callout 255 1 1
4825          a          a
4826          Callout 255 2 1          Callout 255 2 1
# Line 5080  No need char Line 4972  No need char
4972    
4973  /([ab]{,4}c|xy)/ICDZ  /([ab]{,4}c|xy)/ICDZ
4974  ------------------------------------------------------------------  ------------------------------------------------------------------
4975          Bra 0          Bra
4976          Callout 255 0 14          Callout 255 0 14
4977          Bra 1          CBra 1
4978          Callout 255 1 4          Callout 255 1 4
4979          [ab]          [ab]
4980          Callout 255 5 1          Callout 255 5 1
# Line 5255  No match Line 5147  No match
5147    
5148  /([ab]{1,4}c|xy){4,5}?123/ICDZ  /([ab]{1,4}c|xy){4,5}?123/ICDZ
5149  ------------------------------------------------------------------  ------------------------------------------------------------------
5150          Bra 0          Bra
5151          Callout 255 0 21          Callout 255 0 21
5152          Bra 1          CBra 1
5153          Callout 255 1 9          Callout 255 1 9
5154          [ab]{1,4}          [ab]{1,4}
5155          Callout 255 10 1          Callout 255 10 1
# Line 5270  No match Line 5162  No match
5162          y          y
5163          Callout 255 14 0          Callout 255 14 0
5164          Ket          Ket
5165          Bra 1          CBra 1
5166          Callout 255 1 9          Callout 255 1 9
5167          [ab]{1,4}          [ab]{1,4}
5168          Callout 255 10 1          Callout 255 10 1
# Line 5283  No match Line 5175  No match
5175          y          y
5176          Callout 255 14 0          Callout 255 14 0
5177          Ket          Ket
5178          Bra 1          CBra 1
5179          Callout 255 1 9          Callout 255 1 9
5180          [ab]{1,4}          [ab]{1,4}
5181          Callout 255 10 1          Callout 255 10 1
# Line 5296  No match Line 5188  No match
5188          y          y
5189          Callout 255 14 0          Callout 255 14 0
5190          Ket          Ket
5191          Bra 1          CBra 1
5192          Callout 255 1 9          Callout 255 1 9
5193          [ab]{1,4}          [ab]{1,4}
5194          Callout 255 10 1          Callout 255 10 1
# Line 5310  No match Line 5202  No match
5202          Callout 255 14 0          Callout 255 14 0
5203          Ket          Ket
5204          Braminzero          Braminzero
5205          Bra 1          CBra 1
5206          Callout 255 1 9          Callout 255 1 9
5207          [ab]{1,4}          [ab]{1,4}
5208          Callout 255 10 1          Callout 255 10 1
# Line 5334  No match Line 5226  No match
5226          End          End
5227  ------------------------------------------------------------------  ------------------------------------------------------------------
5228  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
5229  Options:  Options:
5230  No first char  No first char
5231  Need char = '3'  Need char = '3'
# Line 5366  Need char = '3' Line 5257  Need char = '3'
5257    
5258  /\b.*/I  /\b.*/I
5259  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5260  No options  No options
5261  No first char  No first char
5262  No need char  No need char
# Line 5375  No need char Line 5265  No need char
5265    
5266  /\b.*/Is  /\b.*/Is
5267  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5268  Options: dotall  Options: dotall
5269  No first char  No first char
5270  No need char  No need char
# Line 5384  No need char Line 5273  No need char
5273    
5274  /(?!.bcd).*/I  /(?!.bcd).*/I
5275  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5276  No options  No options
5277  No first char  No first char
5278  No need char  No need char
# Line 5397  No options Line 5285  No options
5285  First char = 'a'  First char = 'a'
5286  Need char = 'e'  Need char = 'e'
5287      ab\P      ab\P
5288  Partial match  Partial match: ab
5289      abc\P      abc\P
5290  Partial match  Partial match: abc
5291      abcd\P      abcd\P
5292  Partial match  Partial match: abcd
5293      abcde\P      abcde\P
5294   0: abcde   0: abcde
5295      the quick brown abc\P      the quick brown abc\P
5296  Partial match  Partial match: abc
5297      ** Failers\P      ** Failers\P
5298  No match  No match
5299      the quick brown abxyz fox\P      the quick brown abxyz fox\P
# Line 5430  Need char = '/' Line 5318  Need char = '/'
5318   1: 02   1: 02
5319   2: 05   2: 05
5320      1\P      1\P
5321  Partial match  Partial match: 1
5322      1/2\P      1/2\P
5323  Partial match  Partial match: 1/2
5324      1/2/0\P      1/2/0\P
5325  Partial match  Partial match: 1/2/0
5326      1/2/04\P      1/2/04\P
5327   0: 1/2/04   0: 1/2/04
5328   1: 1   1: 1
5329   2: 2   2: 2
5330      0\P      0\P
5331  Partial match  Partial match: 0
5332      02/\P      02/\P
5333  Partial match  Partial match: 02/
5334      02/0\P      02/0\P
5335  Partial match  Partial match: 02/0
5336      02/1\P      02/1\P
5337  Partial match  Partial match: 02/1
5338      ** Failers\P      ** Failers\P
5339  No match  No match
5340      \P      \P
# Line 5468  No match Line 5356  No match
5356    
5357  /0{0,2}ABC/I  /0{0,2}ABC/I
5358  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5359  No options  No options
5360  No first char  No first char
5361  Need char = 'C'  Need char = 'C'
5362    
5363  /\d{3,}ABC/I  /\d{3,}ABC/I
5364  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5365  No options  No options
5366  No first char  No first char
5367  Need char = 'C'  Need char = 'C'
5368    
5369  /\d*ABC/I  /\d*ABC/I
5370  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5371  No options  No options
5372  No first char  No first char
5373  Need char = 'C'  Need char = 'C'
5374    
5375  /[abc]+DE/I  /[abc]+DE/I
5376  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5377  No options  No options
5378  No first char  No first char
5379  Need char = 'E'  Need char = 'E'
# Line 5502  Need char = '3' Line 5386  Need char = '3'
5386      123\P      123\P
5387   0: 123   0: 123
5388      a\P      a\P
5389  Partial match  Partial match: a
5390      b\P      b\P
5391  Partial match  Partial match: b
5392      c\P      c\P
5393  Partial match  Partial match: c
5394      c12\P      c12\P
5395  Partial match  Partial match: c12
5396      c123\P      c123\P
5397   0: c123   0: c123
5398    
# Line 5518  Options: anchored Line 5402  Options: anchored
5402  No first char  No first char
5403  Need char = 'X'  Need char = 'X'
5404      1\P      1\P
5405  Partial match  Partial match: 1
5406      123\P      123\P
5407  Partial match  Partial match: 123
5408      123X      123X
5409   0: 123X   0: 123X
5410      1234\P      1234\P
5411  Partial match  Partial match: 1234
5412      1234X      1234X
5413   0: 1234X   0: 1234X
5414      12345\P      12345\P
5415  Partial match  Partial match: 12345
5416      12345X      12345X
5417   0: 12345X   0: 12345X
5418      *** Failers      *** Failers
# Line 5575  Capturing subpattern count = 1 Line 5459  Capturing subpattern count = 1
5459  No options  No options
5460  No first char  No first char
5461  No need char  No need char
5462    Subject length lower bound = 1
5463  Starting byte set: a b  Starting byte set: a b
5464  Compiled regex written to testsavedregex  Compiled regex written to testsavedregex
5465  Study data written to testsavedregex  Study data written to testsavedregex
# Line 5595  Capturing subpattern count = 1 Line 5480  Capturing subpattern count = 1
5480  No options  No options
5481  No first char  No first char
5482  No need char  No need char
5483    Subject length lower bound = 1
5484  Starting byte set: a b  Starting byte set: a b
5485  Compiled regex written to testsavedregex  Compiled regex written to testsavedregex
5486  Study data written to testsavedregex  Study data written to testsavedregex
# Line 5613  No match Line 5499  No match
5499  ~<(\w+)/?>(.)*</(\1)>~smgI  ~<(\w+)/?>(.)*</(\1)>~smgI
5500  Capturing subpattern count = 3  Capturing subpattern count = 3
5501  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
5502  Options: multiline dotall  Options: multiline dotall
5503  First char = '<'  First char = '<'
5504  Need char = '>'  Need char = '>'
# Line 5631  No need char Line 5516  No need char
5516    
5517  /line\nbreak/I  /line\nbreak/I
5518  Capturing subpattern count = 0  Capturing subpattern count = 0
5519    Contains explicit CR or LF match
5520  No options  No options
5521  First char = 'l'  First char = 'l'
5522  Need char = 'k'  Need char = 'k'
# Line 5641  Need char = 'k' Line 5527  Need char = 'k'
5527    
5528  /line\nbreak/If  /line\nbreak/If
5529  Capturing subpattern count = 0  Capturing subpattern count = 0
5530    Contains explicit CR or LF match
5531  Options: firstline  Options: firstline
5532  First char = 'l'  First char = 'l'
5533  Need char = 'k'  Need char = 'k'
# Line 5653  No match Line 5540  No match
5540    
5541  /line\nbreak/Imf  /line\nbreak/Imf
5542  Capturing subpattern count = 0  Capturing subpattern count = 0
5543    Contains explicit CR or LF match
5544  Options: multiline firstline  Options: multiline firstline
5545  First char = 'l'  First char = 'l'
5546  Need char = 'k'  Need char = 'k'
# Line 5663  No match Line 5551  No match
5551      line one\nthis is a line\nbreak in the second line      line one\nthis is a line\nbreak in the second line
5552  No match  No match
5553    
5554  /ab.cd/IP  /ab.cd/P
5555      ab-cd      ab-cd
5556   0: ab-cd   0: ab-cd
5557      ab=cd      ab=cd
# Line 5673  No match: POSIX code 17: match failed Line 5561  No match: POSIX code 17: match failed
5561      ab\ncd      ab\ncd
5562  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
5563    
5564  /ab.cd/IPs  /ab.cd/Ps
5565      ab-cd      ab-cd
5566   0: ab-cd   0: ab-cd
5567      ab=cd      ab=cd
# Line 5917  Matched, but too many substrings Line 5805  Matched, but too many substrings
5805    
5806  /[^()]*(?:\((?R)\)[^()]*)*/I  /[^()]*(?:\((?R)\)[^()]*)*/I
5807  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5808  No options  No options
5809  No first char  No first char
5810  No need char  No need char
# Line 5930  No need char Line 5817  No need char
5817    
5818  /[^()]*(?:\((?>(?R))\)[^()]*)*/I  /[^()]*(?:\((?>(?R))\)[^()]*)*/I
5819  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5820  No options  No options
5821  No first char  No first char
5822  No need char  No need char
# Line 5941  No need char Line 5827  No need char
5827    
5828  /[^()]*(?:\((?R)\))*[^()]*/I  /[^()]*(?:\((?R)\))*[^()]*/I
5829  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5830  No options  No options
5831  No first char  No first char
5832  No need char  No need char
# Line 5952  No need char Line 5837  No need char
5837    
5838  /(?:\((?R)\))*[^()]*/I  /(?:\((?R)\))*[^()]*/I
5839  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5840  No options  No options
5841  No first char  No first char
5842  No need char  No need char
# Line 5965  No need char Line 5849  No need char
5849    
5850  /(?:\((?R)\))|[^()]*/I  /(?:\((?R)\))|[^()]*/I
5851  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
5852  No options  No options
5853  No first char  No first char
5854  No need char  No need char
# Line 5978  No need char Line 5861  No need char
5861      ((this))      ((this))
5862   0: ((this))   0: ((this))
5863    
5864  /a(b)c/IPN  /a(b)c/PN
5865      abc      abc
5866  Matched with REG_NOSUB  Matched with REG_NOSUB
5867    
5868  /a(?P<name>b)c/IPN  /a(?P<name>b)c/PN
5869      abc      abc
5870  Matched with REG_NOSUB  Matched with REG_NOSUB
5871    
# Line 6160  Named capturing subpatterns: Line 6043  Named capturing subpatterns:
6043    A   2    A   2
6044    A   3    A   3
6045  Options: anchored dupnames  Options: anchored dupnames
6046    Duplicate name status changes
6047  No first char  No first char
6048  No need char  No need char
6049      a1b\CA      a1b\CA
# Line 6193  Named capturing subpatterns: Line 6077  Named capturing subpatterns:
6077    B   3    B   3
6078    C   4    C   4
6079  Options: anchored  Options: anchored
6080    Duplicate name status changes
6081  No first char  No first char
6082  No need char  No need char
6083      a bc d\CA\CB\CC      a bc d\CA\CB\CC
# Line 6305  Failed: octal value is greater than \377 Line 6190  Failed: octal value is greater than \377
6190    
6191  /\s*,\s*/IS  /\s*,\s*/IS
6192  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
6193  No options  No options
6194  No first char  No first char
6195  Need char = ','  Need char = ','
6196    Subject length lower bound = 1
6197  Starting byte set: \x09 \x0a \x0c \x0d \x20 ,  Starting byte set: \x09 \x0a \x0c \x0d \x20 ,
6198      \x0b,\x0b      \x0b,\x0b
6199   0: ,   0: ,
# Line 6435  Unknown newline type at: Line 6320  Unknown newline type at:
6320    
6321  /.*/I<lf>  /.*/I<lf>
6322  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
6323  Options:  Options:
6324  Forced newline sequence: LF  Forced newline sequence: LF
6325  First char at start or follows newline  First char at start or follows newline
# Line 6461  No need char Line 6345  No need char
6345    
6346  /\w+(.)(.)?def/Is  /\w+(.)(.)?def/Is
6347  Capturing subpattern count = 2  Capturing subpattern count = 2
 Partial matching not supported  
6348  Options: dotall  Options: dotall
6349  No first char  No first char
6350  Need char = 'f'  Need char = 'f'
# Line 6478  Need char = 'f' Line 6361  Need char = 'f'
6361    
6362  +((?:\s|//.*\\n|/[*](?:\\n|.)*?[*]/)*)+I  +((?:\s|//.*\\n|/[*](?:\\n|.)*?[*]/)*)+I
6363  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
6364  No options  No options
6365  No first char  No first char
6366  No need char  No need char
# Line 6613  No need char Line 6495  No need char
6495    
6496  /(a*b|(?i:c*(?-i)d))/IS  /(a*b|(?i:c*(?-i)d))/IS
6497  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
6498  No options  No options
6499  No first char  No first char
6500  No need char  No need char
6501    Subject length lower bound = 1
6502  Starting byte set: C a b c d  Starting byte set: C a b c d
6503    
6504  /()[ab]xyz/IS  /()[ab]xyz/IS
# Line 6624  Capturing subpattern count = 1 Line 6506  Capturing subpattern count = 1
6506  No options  No options
6507  No first char  No first char
6508  Need char = 'z'  Need char = 'z'
6509    Subject length lower bound = 4
6510  Starting byte set: a b  Starting byte set: a b
6511    
6512  /(|)[ab]xyz/IS  /(|)[ab]xyz/IS
# Line 6631  Capturing subpattern count = 1 Line 6514  Capturing subpattern count = 1
6514  No options  No options
6515  No first char  No first char
6516  Need char = 'z'  Need char = 'z'
6517    Subject length lower bound = 4
6518  Starting byte set: a b  Starting byte set: a b
6519    
6520  /(|c)[ab]xyz/IS  /(|c)[ab]xyz/IS
# Line 6638  Capturing subpattern count = 1 Line 6522  Capturing subpattern count = 1
6522  No options  No options
6523  No first char  No first char
6524  Need char = 'z'  Need char = 'z'
6525    Subject length lower bound = 4
6526  Starting byte set: a b c  Starting byte set: a b c
6527    
6528  /(|c?)[ab]xyz/IS  /(|c?)[ab]xyz/IS
# Line 6645  Capturing subpattern count = 1 Line 6530  Capturing subpattern count = 1
6530  No options  No options
6531  No first char  No first char
6532  Need char = 'z'  Need char = 'z'
6533    Subject length lower bound = 4
6534  Starting byte set: a b c  Starting byte set: a b c
6535    
6536  /(d?|c?)[ab]xyz/IS  /(d?|c?)[ab]xyz/IS
# Line 6652  Capturing subpattern count = 1 Line 6538  Capturing subpattern count = 1
6538  No options  No options
6539  No first char  No first char
6540  Need char = 'z'  Need char = 'z'
6541    Subject length lower bound = 4
6542  Starting byte set: a b c d  Starting byte set: a b c d
6543    
6544  /(d?|c)[ab]xyz/IS  /(d?|c)[ab]xyz/IS
# Line 6659  Capturing subpattern count = 1 Line 6546  Capturing subpattern count = 1
6546  No options  No options
6547  No first char  No first char
6548  Need char = 'z'  Need char = 'z'
6549    Subject length lower bound = 4
6550  Starting byte set: a b c d  Starting byte set: a b c d
6551    
6552  /^a*b\d/DZ  /^a*b\d/DZ
6553  ------------------------------------------------------------------  ------------------------------------------------------------------
6554          Bra 0          Bra
6555          ^          ^
6556          a*+          a*+
6557          b          b
# Line 6672  Starting byte set: a b c d Line 6560  Starting byte set: a b c d
6560          End          End
6561  ------------------------------------------------------------------  ------------------------------------------------------------------
6562  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
6563  Options: anchored  Options: anchored
6564  No first char  No first char
6565  Need char = 'b'  Need char = 'b'
6566    
6567  /^a*+b\d/DZ  /^a*+b\d/DZ
6568  ------------------------------------------------------------------  ------------------------------------------------------------------
6569          Bra 0          Bra
6570          ^          ^
6571          a*+          a*+
6572          b          b
# Line 6688  Need char = 'b' Line 6575  Need char = 'b'
6575          End          End
6576  ------------------------------------------------------------------  ------------------------------------------------------------------
6577  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
6578  Options: anchored  Options: anchored
6579  No first char  No first char
6580  Need char = 'b'  Need char = 'b'
6581    
6582  /^a*?b\d/DZ  /^a*?b\d/DZ
6583  ------------------------------------------------------------------  ------------------------------------------------------------------
6584          Bra 0          Bra
6585          ^          ^
6586          a*+          a*+
6587          b          b
# Line 6704  Need char = 'b' Line 6590  Need char = 'b'
6590          End          End
6591  ------------------------------------------------------------------  ------------------------------------------------------------------
6592  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
6593  Options: anchored  Options: anchored
6594  No first char  No first char
6595  Need char = 'b'  Need char = 'b'
6596    
6597  /^a+A\d/DZ  /^a+A\d/DZ
6598  ------------------------------------------------------------------  ------------------------------------------------------------------
6599          Bra 0          Bra
6600          ^          ^
6601          a++          a++
6602          A          A
# Line 6720  Need char = 'b' Line 6605  Need char = 'b'
6605          End          End
6606  ------------------------------------------------------------------  ------------------------------------------------------------------
6607  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
6608  Options: anchored  Options: anchored
6609  No first char  No first char
6610  Need char = 'A'  Need char = 'A'
# Line 6733  No match Line 6617  No match
6617    
6618  /^a*A\d/IiDZ  /^a*A\d/IiDZ
6619  ------------------------------------------------------------------  ------------------------------------------------------------------
6620          Bra 0          Bra
6621          ^          ^
6622          a*          a*
6623       NC A       NC A
# Line 6742  No match Line 6626  No match
6626          End          End
6627  ------------------------------------------------------------------  ------------------------------------------------------------------
6628  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
6629  Options: anchored caseless  Options: anchored caseless
6630  No first char  No first char
6631  Need char = 'A' (caseless)  Need char = 'A' (caseless)
# Line 6753  Need char = 'A' (caseless) Line 6636  Need char = 'A' (caseless)
6636    
6637  /(a*|b*)[cd]/IS  /(a*|b*)[cd]/IS
6638  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
6639  No options  No options
6640  No first char  No first char
6641  No need char  No need char
6642    Subject length lower bound = 1
6643  Starting byte set: a b c d  Starting byte set: a b c d
6644    
6645  /(a+|b*)[cd]/IS  /(a+|b*)[cd]/IS
6646  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
6647  No options  No options
6648  No first char  No first char
6649  No need char  No need char
6650    Subject length lower bound = 1
6651  Starting byte set: a b c d  Starting byte set: a b c d
6652    
6653  /(a*|b+)[cd]/IS  /(a*|b+)[cd]/IS
6654  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
6655  No options  No options
6656  No first char  No first char
6657  No need char  No need char
6658    Subject length lower bound = 1
6659  Starting byte set: a b c d  Starting byte set: a b c d
6660    
6661  /(a+|b+)[cd]/IS  /(a+|b+)[cd]/IS
6662  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
6663  No options  No options
6664  No first char  No first char
6665  No need char  No need char
6666    Subject length lower bound = 2
6667  Starting byte set: a b  Starting byte set: a b
6668    
6669  /((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((  /((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
# Line 6815  Matched, but too many substrings Line 6698  Matched, but too many substrings
6698    
6699  /a*\d/BZ  /a*\d/BZ
6700  ------------------------------------------------------------------  ------------------------------------------------------------------
6701          Bra 0          Bra
6702          a*+          a*+
6703          \d          \d
6704          Ket          Ket
# Line 6824  Matched, but too many substrings Line 6707  Matched, but too many substrings
6707    
6708  /a*\D/BZ  /a*\D/BZ
6709  ------------------------------------------------------------------  ------------------------------------------------------------------
6710          Bra 0          Bra
6711          a*          a*
6712          \D          \D
6713          Ket          Ket
# Line 6833  Matched, but too many substrings Line 6716  Matched, but too many substrings
6716    
6717  /0*\d/BZ  /0*\d/BZ
6718  ------------------------------------------------------------------  ------------------------------------------------------------------
6719          Bra 0          Bra
6720          0*          0*
6721          \d          \d
6722          Ket          Ket
# Line 6842  Matched, but too many substrings Line 6725  Matched, but too many substrings
6725    
6726  /0*\D/BZ  /0*\D/BZ
6727  ------------------------------------------------------------------  ------------------------------------------------------------------
6728          Bra 0          Bra
6729          0*+          0*+
6730          \D          \D
6731          Ket          Ket
# Line 6851  Matched, but too many substrings Line 6734  Matched, but too many substrings
6734    
6735  /a*\s/BZ  /a*\s/BZ
6736  ------------------------------------------------------------------  ------------------------------------------------------------------
6737          Bra 0          Bra
6738          a*+          a*+
6739          \s          \s
6740          Ket          Ket
# Line 6860  Matched, but too many substrings Line 6743  Matched, but too many substrings
6743    
6744  /a*\S/BZ  /a*\S/BZ
6745  ------------------------------------------------------------------  ------------------------------------------------------------------
6746          Bra 0          Bra
6747          a*          a*
6748          \S          \S
6749          Ket          Ket
# Line 6869  Matched, but too many substrings Line 6752  Matched, but too many substrings
6752    
6753  / *\s/BZ  / *\s/BZ
6754  ------------------------------------------------------------------  ------------------------------------------------------------------
6755          Bra 0          Bra
6756           *           *
6757          \s          \s
6758          Ket          Ket
# Line 6878  Matched, but too many substrings Line 6761  Matched, but too many substrings
6761    
6762  / *\S/BZ  / *\S/BZ
6763  ------------------------------------------------------------------  ------------------------------------------------------------------
6764          Bra 0          Bra
6765           *+           *+
6766          \S          \S
6767          Ket          Ket
# Line 6887  Matched, but too many substrings Line 6770  Matched, but too many substrings
6770    
6771  /a*\w/BZ  /a*\w/BZ
6772  ------------------------------------------------------------------  ------------------------------------------------------------------
6773          Bra 0          Bra
6774          a*          a*
6775          \w          \w
6776          Ket          Ket
# Line 6896  Matched, but too many substrings Line 6779  Matched, but too many substrings
6779    
6780  /a*\W/BZ  /a*\W/BZ
6781  ------------------------------------------------------------------  ------------------------------------------------------------------
6782          Bra 0          Bra
6783          a*+          a*+
6784          \W          \W
6785          Ket          Ket
# Line 6905  Matched, but too many substrings Line 6788  Matched, but too many substrings
6788    
6789  /=*\w/BZ  /=*\w/BZ
6790  ------------------------------------------------------------------  ------------------------------------------------------------------
6791          Bra 0          Bra
6792          =*+          =*+
6793          \w          \w
6794          Ket          Ket
# Line 6914  Matched, but too many substrings Line 6797  Matched, but too many substrings
6797    
6798  /=*\W/BZ  /=*\W/BZ
6799  ------------------------------------------------------------------  ------------------------------------------------------------------
6800          Bra 0          Bra
6801          =*          =*
6802          \W          \W
6803          Ket          Ket
# Line 6923  Matched, but too many substrings Line 6806  Matched, but too many substrings
6806    
6807  /\d*a/BZ  /\d*a/BZ
6808  ------------------------------------------------------------------  ------------------------------------------------------------------
6809          Bra 0          Bra
6810          \d*+          \d*+
6811          a          a
6812          Ket          Ket
# Line 6932  Matched, but too many substrings Line 6815  Matched, but too many substrings
6815    
6816  /\d*2/BZ  /\d*2/BZ
6817  ------------------------------------------------------------------  ------------------------------------------------------------------
6818          Bra 0          Bra
6819          \d*          \d*
6820          2          2
6821          Ket          Ket
# Line 6941  Matched, but too many substrings Line 6824  Matched, but too many substrings
6824    
6825  /\d*\d/BZ  /\d*\d/BZ
6826  ------------------------------------------------------------------  ------------------------------------------------------------------
6827          Bra 0          Bra
6828          \d*          \d*
6829          \d          \d
6830          Ket          Ket
# Line 6950  Matched, but too many substrings Line 6833  Matched, but too many substrings
6833    
6834  /\d*\D/BZ  /\d*\D/BZ
6835  ------------------------------------------------------------------  ------------------------------------------------------------------
6836          Bra 0          Bra
6837          \d*+          \d*+
6838          \D          \D
6839          Ket          Ket
# Line 6959  Matched, but too many substrings Line 6842  Matched, but too many substrings
6842    
6843  /\d*\s/BZ  /\d*\s/BZ
6844  ------------------------------------------------------------------  ------------------------------------------------------------------
6845          Bra 0          Bra
6846          \d*+          \d*+
6847          \s          \s
6848          Ket          Ket
# Line 6968  Matched, but too many substrings Line 6851  Matched, but too many substrings
6851    
6852  /\d*\S/BZ  /\d*\S/BZ
6853  ------------------------------------------------------------------  ------------------------------------------------------------------
6854          Bra 0          Bra
6855          \d*          \d*
6856          \S          \S
6857          Ket          Ket
# Line 6977  Matched, but too many substrings Line 6860  Matched, but too many substrings
6860    
6861  /\d*\w/BZ  /\d*\w/BZ
6862  ------------------------------------------------------------------  ------------------------------------------------------------------
6863          Bra 0          Bra
6864          \d*          \d*
6865          \w          \w
6866          Ket          Ket
# Line 6986  Matched, but too many substrings Line 6869  Matched, but too many substrings
6869    
6870  /\d*\W/BZ  /\d*\W/BZ
6871  ------------------------------------------------------------------  ------------------------------------------------------------------
6872          Bra 0          Bra
6873          \d*+          \d*+
6874          \W          \W
6875          Ket          Ket
# Line 6995  Matched, but too many substrings Line 6878  Matched, but too many substrings
6878    
6879  /\D*a/BZ  /\D*a/BZ
6880  ------------------------------------------------------------------  ------------------------------------------------------------------
6881          Bra 0          Bra
6882          \D*          \D*
6883          a          a
6884          Ket          Ket
# Line 7004  Matched, but too many substrings Line 6887  Matched, but too many substrings
6887    
6888  /\D*2/BZ  /\D*2/BZ
6889  ------------------------------------------------------------------  ------------------------------------------------------------------
6890          Bra 0          Bra
6891          \D*+          \D*+
6892          2          2
6893          Ket          Ket
# Line 7013  Matched, but too many substrings Line 6896  Matched, but too many substrings
6896    
6897  /\D*\d/BZ  /\D*\d/BZ
6898  ------------------------------------------------------------------  ------------------------------------------------------------------
6899          Bra 0          Bra
6900          \D*+          \D*+
6901          \d          \d
6902          Ket          Ket
# Line 7022  Matched, but too many substrings Line 6905  Matched, but too many substrings
6905    
6906  /\D*\D/BZ  /\D*\D/BZ
6907  ------------------------------------------------------------------  ------------------------------------------------------------------
6908          Bra 0          Bra
6909          \D*          \D*
6910          \D          \D
6911          Ket          Ket
# Line 7031  Matched, but too many substrings Line 6914  Matched, but too many substrings
6914    
6915  /\D*\s/BZ  /\D*\s/BZ
6916  ------------------------------------------------------------------  ------------------------------------------------------------------
6917          Bra 0          Bra
6918          \D*          \D*
6919          \s          \s
6920          Ket          Ket
# Line 7040  Matched, but too many substrings Line 6923  Matched, but too many substrings
6923    
6924  /\D*\S/BZ  /\D*\S/BZ
6925  ------------------------------------------------------------------  ------------------------------------------------------------------
6926          Bra 0          Bra
6927          \D*          \D*
6928          \S          \S
6929          Ket          Ket
# Line 7049  Matched, but too many substrings Line 6932  Matched, but too many substrings
6932    
6933  /\D*\w/BZ  /\D*\w/BZ
6934  ------------------------------------------------------------------  ------------------------------------------------------------------
6935          Bra 0          Bra
6936          \D*          \D*
6937          \w          \w
6938          Ket          Ket
# Line 7058  Matched, but too many substrings Line 6941  Matched, but too many substrings
6941    
6942  /\D*\W/BZ  /\D*\W/BZ
6943  ------------------------------------------------------------------  ------------------------------------------------------------------
6944          Bra 0          Bra
6945          \D*          \D*
6946          \W          \W
6947          Ket          Ket
# Line 7067  Matched, but too many substrings Line 6950  Matched, but too many substrings
6950    
6951  /\s*a/BZ  /\s*a/BZ
6952  ------------------------------------------------------------------  ------------------------------------------------------------------
6953          Bra 0          Bra
6954          \s*+          \s*+
6955          a          a
6956          Ket          Ket
# Line 7076  Matched, but too many substrings Line 6959  Matched, but too many substrings
6959    
6960  /\s*2/BZ  /\s*2/BZ
6961  ------------------------------------------------------------------  ------------------------------------------------------------------
6962          Bra 0          Bra
6963          \s*+          \s*+
6964          2          2
6965          Ket          Ket
# Line 7085  Matched, but too many substrings Line 6968  Matched, but too many substrings
6968    
6969  /\s*\d/BZ  /\s*\d/BZ
6970  ------------------------------------------------------------------  ------------------------------------------------------------------
6971          Bra 0          Bra
6972          \s*+          \s*+
6973          \d          \d
6974          Ket          Ket
# Line 7094  Matched, but too many substrings Line 6977  Matched, but too many substrings
6977    
6978  /\s*\D/BZ  /\s*\D/BZ
6979  ------------------------------------------------------------------  ------------------------------------------------------------------
6980          Bra 0          Bra
6981          \s*          \s*
6982          \D          \D
6983          Ket          Ket
# Line 7103  Matched, but too many substrings Line 6986  Matched, but too many substrings
6986    
6987  /\s*\s/BZ  /\s*\s/BZ
6988  ------------------------------------------------------------------  ------------------------------------------------------------------
6989          Bra 0          Bra
6990          \s*          \s*
6991          \s          \s
6992          Ket          Ket
# Line 7112  Matched, but too many substrings Line 6995  Matched, but too many substrings
6995    
6996  /\s*\S/BZ  /\s*\S/BZ
6997  ------------------------------------------------------------------  ------------------------------------------------------------------
6998          Bra 0          Bra
6999          \s*+          \s*+
7000          \S          \S
7001          Ket          Ket
# Line 7121  Matched, but too many substrings Line 7004  Matched, but too many substrings
7004    
7005  /\s*\w/BZ  /\s*\w/BZ
7006  ------------------------------------------------------------------  ------------------------------------------------------------------
7007          Bra 0          Bra
7008          \s*+          \s*+
7009          \w          \w
7010          Ket          Ket
# Line 7130  Matched, but too many substrings Line 7013  Matched, but too many substrings
7013    
7014  /\s*\W/BZ  /\s*\W/BZ
7015  ------------------------------------------------------------------  ------------------------------------------------------------------
7016          Bra 0          Bra
7017          \s*          \s*
7018          \W          \W
7019          Ket          Ket
# Line 7139  Matched, but too many substrings Line 7022  Matched, but too many substrings
7022    
7023  /\S*a/BZ  /\S*a/BZ
7024  ------------------------------------------------------------------  ------------------------------------------------------------------
7025          Bra 0          Bra
7026          \S*          \S*
7027          a          a
7028          Ket          Ket
# Line 7148  Matched, but too many substrings Line 7031  Matched, but too many substrings
7031    
7032  /\S*2/BZ  /\S*2/BZ
7033  ------------------------------------------------------------------  ------------------------------------------------------------------
7034          Bra 0          Bra
7035          \S*          \S*
7036          2          2
7037          Ket          Ket
# Line 7157  Matched, but too many substrings Line 7040  Matched, but too many substrings
7040    
7041  /\S*\d/BZ  /\S*\d/BZ
7042  ------------------------------------------------------------------  ------------------------------------------------------------------
7043          Bra 0          Bra
7044          \S*          \S*
7045          \d          \d
7046          Ket          Ket
# Line 7166  Matched, but too many substrings Line 7049  Matched, but too many substrings
7049    
7050  /\S*\D/BZ  /\S*\D/BZ
7051  ------------------------------------------------------------------  ------------------------------------------------------------------
7052          Bra 0          Bra
7053          \S*          \S*
7054          \D          \D
7055          Ket          Ket
# Line 7175  Matched, but too many substrings Line 7058  Matched, but too many substrings
7058    
7059  /\S*\s/BZ  /\S*\s/BZ
7060  ------------------------------------------------------------------  ------------------------------------------------------------------
7061          Bra 0          Bra
7062          \S*+          \S*+
7063          \s          \s
7064          Ket          Ket
# Line 7184  Matched, but too many substrings Line 7067  Matched, but too many substrings
7067    
7068  /\S*\S/BZ  /\S*\S/BZ
7069  ------------------------------------------------------------------  ------------------------------------------------------------------
7070          Bra 0          Bra
7071          \S*          \S*
7072          \S          \S
7073          Ket          Ket
# Line 7193  Matched, but too many substrings Line 7076  Matched, but too many substrings
7076    
7077  /\S*\w/BZ  /\S*\w/BZ
7078  ------------------------------------------------------------------  ------------------------------------------------------------------
7079          Bra 0          Bra
7080          \S*          \S*
7081          \w          \w
7082          Ket          Ket
# Line 7202  Matched, but too many substrings Line 7085  Matched, but too many substrings
7085    
7086  /\S*\W/BZ  /\S*\W/BZ
7087  ------------------------------------------------------------------  ------------------------------------------------------------------
7088          Bra 0          Bra
7089          \S*          \S*
7090          \W          \W
7091          Ket          Ket
# Line 7211  Matched, but too many substrings Line 7094  Matched, but too many substrings
7094    
7095  /\w*a/BZ  /\w*a/BZ
7096  ------------------------------------------------------------------  ------------------------------------------------------------------
7097          Bra 0          Bra
7098          \w*          \w*
7099          a          a
7100          Ket          Ket
# Line 7220  Matched, but too many substrings Line 7103  Matched, but too many substrings
7103    
7104  /\w*2/BZ  /\w*2/BZ
7105  ------------------------------------------------------------------  ------------------------------------------------------------------
7106          Bra 0          Bra
7107          \w*          \w*
7108          2          2
7109          Ket          Ket
# Line 7229  Matched, but too many substrings Line 7112  Matched, but too many substrings
7112    
7113  /\w*\d/BZ  /\w*\d/BZ
7114  ------------------------------------------------------------------  ------------------------------------------------------------------
7115          Bra 0          Bra
7116          \w*          \w*
7117          \d          \d
7118          Ket          Ket
# Line 7238  Matched, but too many substrings Line 7121  Matched, but too many substrings
7121    
7122  /\w*\D/BZ  /\w*\D/BZ
7123  ------------------------------------------------------------------  ------------------------------------------------------------------
7124          Bra 0          Bra
7125          \w*          \w*
7126          \D          \D
7127          Ket          Ket
# Line 7247  Matched, but too many substrings Line 7130  Matched, but too many substrings
7130    
7131  /\w*\s/BZ  /\w*\s/BZ
7132  ------------------------------------------------------------------  ------------------------------------------------------------------
7133          Bra 0          Bra
7134          \w*+          \w*+
7135          \s          \s
7136          Ket          Ket
# Line 7256  Matched, but too many substrings Line 7139  Matched, but too many substrings
7139    
7140  /\w*\S/BZ  /\w*\S/BZ
7141  ------------------------------------------------------------------  ------------------------------------------------------------------
7142          Bra 0          Bra
7143          \w*          \w*
7144          \S          \S
7145          Ket          Ket
# Line 7265  Matched, but too many substrings Line 7148  Matched, but too many substrings
7148    
7149  /\w*\w/BZ  /\w*\w/BZ
7150  ------------------------------------------------------------------  ------------------------------------------------------------------
7151          Bra 0          Bra
7152          \w*          \w*
7153          \w          \w
7154          Ket          Ket
# Line 7274  Matched, but too many substrings Line 7157  Matched, but too many substrings
7157    
7158  /\w*\W/BZ  /\w*\W/BZ
7159  ------------------------------------------------------------------  ------------------------------------------------------------------
7160          Bra 0          Bra
7161          \w*+          \w*+
7162          \W          \W
7163          Ket          Ket
# Line 7283  Matched, but too many substrings Line 7166  Matched, but too many substrings
7166    
7167  /\W*a/BZ  /\W*a/BZ
7168  ------------------------------------------------------------------  ------------------------------------------------------------------
7169          Bra 0          Bra
7170          \W*+          \W*+
7171          a          a
7172          Ket          Ket
# Line 7292  Matched, but too many substrings Line 7175  Matched, but too many substrings
7175    
7176  /\W*2/BZ  /\W*2/BZ
7177  ------------------------------------------------------------------  ------------------------------------------------------------------
7178          Bra 0          Bra
7179          \W*+          \W*+
7180          2          2
7181          Ket          Ket
# Line 7301  Matched, but too many substrings Line 7184  Matched, but too many substrings
7184    
7185  /\W*\d/BZ  /\W*\d/BZ
7186  ------------------------------------------------------------------  ------------------------------------------------------------------
7187          Bra 0          Bra
7188          \W*+          \W*+
7189          \d          \d
7190          Ket          Ket
# Line 7310  Matched, but too many substrings Line 7193  Matched, but too many substrings
7193    
7194  /\W*\D/BZ  /\W*\D/BZ
7195  ------------------------------------------------------------------  ------------------------------------------------------------------
7196          Bra 0          Bra
7197          \W*          \W*
7198          \D          \D
7199          Ket          Ket
# Line 7319  Matched, but too many substrings Line 7202  Matched, but too many substrings
7202    
7203  /\W*\s/BZ  /\W*\s/BZ
7204  ------------------------------------------------------------------  ------------------------------------------------------------------
7205          Bra 0          Bra
7206          \W*          \W*
7207          \s          \s
7208          Ket          Ket
# Line 7328  Matched, but too many substrings Line 7211  Matched, but too many substrings
7211    
7212  /\W*\S/BZ  /\W*\S/BZ
7213  ------------------------------------------------------------------  ------------------------------------------------------------------
7214          Bra 0          Bra
7215          \W*          \W*
7216          \S          \S
7217          Ket          Ket
# Line 7337  Matched, but too many substrings Line 7220  Matched, but too many substrings
7220    
7221  /\W*\w/BZ  /\W*\w/BZ
7222  ------------------------------------------------------------------  ------------------------------------------------------------------
7223          Bra 0          Bra
7224          \W*+          \W*+
7225          \w          \w
7226          Ket          Ket
# Line 7346  Matched, but too many substrings Line 7229  Matched, but too many substrings
7229    
7230  /\W*\W/BZ  /\W*\W/BZ
7231  ------------------------------------------------------------------  ------------------------------------------------------------------
7232          Bra 0          Bra
7233          \W*          \W*
7234          \W          \W
7235          Ket          Ket
# Line 7355  Matched, but too many substrings Line 7238  Matched, but too many substrings
7238    
7239  /[^a]+a/BZ  /[^a]+a/BZ
7240  ------------------------------------------------------------------  ------------------------------------------------------------------
7241          Bra 0          Bra
7242          [^a]++          [^a]++
7243          a          a
7244          Ket          Ket
# Line 7364  Matched, but too many substrings Line 7247  Matched, but too many substrings
7247    
7248  /[^a]+a/BZi  /[^a]+a/BZi
7249  ------------------------------------------------------------------  ------------------------------------------------------------------
7250          Bra 0          Bra
7251          [^A]++          [^A]++
7252       NC a       NC a
7253          Ket          Ket
# Line 7373  Matched, but too many substrings Line 7256  Matched, but too many substrings
7256    
7257  /[^a]+A/BZi  /[^a]+A/BZi
7258  ------------------------------------------------------------------  ------------------------------------------------------------------
7259          Bra 0          Bra
7260          [^A]++          [^A]++
7261       NC A       NC A
7262          Ket          Ket
# Line 7382  Matched, but too many substrings Line 7265  Matched, but too many substrings
7265    
7266  /[^a]+b/BZ  /[^a]+b/BZ
7267  ------------------------------------------------------------------  ------------------------------------------------------------------
7268          Bra 0          Bra
7269          [^a]+          [^a]+
7270          b          b
7271          Ket          Ket
# Line 7391  Matched, but too many substrings Line 7274  Matched, but too many substrings
7274    
7275  /[^a]+\d/BZ  /[^a]+\d/BZ
7276  ------------------------------------------------------------------  ------------------------------------------------------------------
7277          Bra 0          Bra
7278          [^a]+          [^a]+
7279          \d          \d
7280          Ket          Ket
# Line 7400  Matched, but too many substrings Line 7283  Matched, but too many substrings
7283    
7284  /a*[^a]/BZ  /a*[^a]/BZ
7285  ------------------------------------------------------------------  ------------------------------------------------------------------
7286          Bra 0          Bra
7287          a*          a*
7288          [^a]          [^a]
7289          Ket          Ket
# Line 7541  No match Line 7424  No match
7424    
7425  /^[\E\Qa\E-\Qz\E]+/BZ  /^[\E\Qa\E-\Qz\E]+/BZ
7426  ------------------------------------------------------------------  ------------------------------------------------------------------
7427          Bra 0          Bra
7428          ^          ^
7429          [a-z]+          [a-z]+
7430          Ket          Ket
# Line 7550  No match Line 7433  No match
7433    
7434  /^[a\Q]bc\E]/BZ  /^[a\Q]bc\E]/BZ
7435  ------------------------------------------------------------------  ------------------------------------------------------------------
7436          Bra 0          Bra
7437          ^          ^
7438          [\]a-c]          [\]a-c]
7439          Ket          Ket
# Line 7559  No match Line 7442  No match
7442    
7443  /^[a-\Q\E]/BZ  /^[a-\Q\E]/BZ
7444  ------------------------------------------------------------------  ------------------------------------------------------------------
7445          Bra 0          Bra
7446          ^          ^
7447          [\-a]          [\-a]
7448          Ket          Ket
# Line 7568  No match Line 7451  No match
7451    
7452  /^(?P>abc)[()](?<abc>)/BZ  /^(?P>abc)[()](?<abc>)/BZ
7453  ------------------------------------------------------------------  ------------------------------------------------------------------
7454          Bra 0          Bra
7455          ^          ^
7456          Once          Once
7457          Recurse          Recurse
7458          Ket          Ket
7459          [()]          [()]
7460          Bra 1          CBra 1
7461          Ket          Ket
7462          Ket          Ket
7463          End          End
# Line 7582  No match Line 7465  No match
7465    
7466  /^((?(abc)y)[()](?P<abc>x))+/BZ  /^((?(abc)y)[()](?P<abc>x))+/BZ
7467  ------------------------------------------------------------------  ------------------------------------------------------------------
7468          Bra 0          Bra
7469          ^          ^
7470          Bra 1          CBra 1
7471          Cond          Cond
7472        2 Cond ref        2 Cond nref
7473          y          y
7474          Ket          Ket
7475          [()]          [()]
7476          Bra 2          CBra 2
7477          x          x
7478          Ket          Ket
7479          KetRmax          KetRmax
# Line 7604  No match Line 7487  No match
7487    
7488  /^(?P>abc)\Q()\E(?<abc>)/BZ  /^(?P>abc)\Q()\E(?<abc>)/BZ
7489  ------------------------------------------------------------------  ------------------------------------------------------------------
7490          Bra 0          Bra
7491          ^          ^
7492          Once          Once
7493          Recurse          Recurse
7494          Ket          Ket
7495          ()          ()
7496          Bra 1          CBra 1
7497          Ket          Ket
7498          Ket          Ket
7499          End          End
# Line 7618  No match Line 7501  No match
7501    
7502  /^(?P>abc)[a\Q(]\E(](?<abc>)/BZ  /^(?P>abc)[a\Q(]\E(](?<abc>)/BZ
7503  ------------------------------------------------------------------  ------------------------------------------------------------------
7504          Bra 0          Bra
7505          ^          ^
7506          Once          Once
7507          Recurse          Recurse
7508          Ket          Ket
7509          [(\]a]          [(\]a]
7510          Bra 1          CBra 1
7511          Ket          Ket
7512          Ket          Ket
7513          End          End
# Line 7633  No match Line 7516  No match
7516  /^(?P>abc) # this is (a comment)  /^(?P>abc) # this is (a comment)
7517    (?<abc>)/BZx    (?<abc>)/BZx
7518  ------------------------------------------------------------------  ------------------------------------------------------------------
7519          Bra 0          Bra
7520          ^          ^
7521          Once          Once
7522          Recurse          Recurse
7523          Ket          Ket
7524          Bra 1          CBra 1
7525          Ket          Ket
7526          Ket          Ket
7527          End          End
# Line 7652  Named capturing subpatterns: Line 7535  Named capturing subpatterns:
7535    one     1    one     1
7536    three   3    three   3
7537    two     2    two     2
 Partial matching not supported  
7538  Options: anchored caseless  Options: anchored caseless
7539  No first char  No first char
7540  No need char  No need char
# Line 7686  No match Line 7568  No match
7568  /(?=(\w+))\1:/I  /(?=(\w+))\1:/I
7569  Capturing subpattern count = 1  Capturing subpattern count = 1
7570  Max back reference = 1  Max back reference = 1
 Partial matching not supported  
7571  No options  No options
7572  No first char  No first char
7573  Need char = ':'  Need char = ':'
# Line 7699  Capturing subpattern count = 1 Line 7580  Capturing subpattern count = 1
7580  Max back reference = 1  Max back reference = 1
7581  Named capturing subpatterns:  Named capturing subpatterns:
7582    abc   1    abc   1
 Partial matching not supported  
7583  No options  No options
7584  No first char  No first char
7585  Need char = ':'  Need char = ':'
# Line 7707  Need char = ':' Line 7587  Need char = ':'
7587   0: abcd:   0: abcd:
7588   1: abcd   1: abcd
7589    
 /(?'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  
   
7590  /(?'abc'a|b)(?<abc>d|e)\k<abc>{2}/J  /(?'abc'a|b)(?<abc>d|e)\k<abc>{2}/J
7591      adaa      adaa
7592   0: adaa   0: adaa
# Line 7747  No match Line 7613  No match
7613      bddd      bddd
7614  No match  No match
7615    
 /^(?<ab>a)? (?(<ab>)b|c) (?('ab')d|e)/x  
     abd  
  0: abd  
  1: a  
     ce  
  0: ce  
   
7616  /(?(<bc))/  /(?(<bc))/
7617  Failed: malformed number or name after (?( at offset 6  Failed: malformed number or name after (?( at offset 6
7618    
# Line 7784  Failed: reference to non-existent subpat Line 7643  Failed: reference to non-existent subpat
7643   1: abcabc1Xabc2XabcX   1: abcabc1Xabc2XabcX
7644   2: abcabc1Xabc2XabcX   2: abcabc1Xabc2XabcX
7645    
 /^(?(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>  
   
7646  /^(?(DEFINE) abc | xyz ) /x  /^(?(DEFINE) abc | xyz ) /x
7647  Failed: DEFINE group contains more than one branch at offset 22  Failed: DEFINE group contains more than one branch at offset 22
7648    
# Line 7843  No match Line 7684  No match
7684  No match  No match
7685    
7686  /^abc./mgx<any>  /^abc./mgx<any>
7687      abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x85abc7 \x{2028}abc8 \x{2029}abc9 JUNK      abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x85abc7 JUNK
7688   0: abc1   0: abc1
7689   0: abc2   0: abc2
7690   0: abc3   0: abc3
# Line 7853  No match Line 7694  No match
7694   0: abc7   0: abc7
7695    
7696  /abc.$/mgx<any>  /abc.$/mgx<any>
7697      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
7698   0: abc1   0: abc1
7699   0: abc2   0: abc2
7700   0: abc3   0: abc3
# Line 7867  No match Line 7708  No match
7708  /a/<any><crlf>  /a/<any><crlf>
7709  Failed: inconsistent NEWLINE options at offset 0  Failed: inconsistent NEWLINE options at offset 0
7710    
7711  /^a\Rb/  /^a\Rb/<bsr_unicode>
7712      a\nb      a\nb
7713   0: a\x0ab   0: a\x0ab
7714      a\rb      a\rb
# Line 7885  No match Line 7726  No match
7726      a\n\rb      a\n\rb
7727  No match  No match
7728    
7729  /^a\R*b/  /^a\R*b/<bsr_unicode>
7730      ab      ab
7731   0: ab   0: ab
7732      a\nb      a\nb
# Line 7905  No match Line 7746  No match
7746      a\n\r\x85\x0cb      a\n\r\x85\x0cb
7747   0: a\x0a\x0d\x85\x0cb   0: a\x0a\x0d\x85\x0cb
7748    
7749  /^a\R+b/  /^a\R+b/<bsr_unicode>
7750      a\nb      a\nb
7751   0: a\x0ab   0: a\x0ab
7752      a\rb      a\rb
# Line 7927  No match Line 7768  No match
7768      ab      ab
7769  No match  No match
7770    
7771  /^a\R{1,3}b/  /^a\R{1,3}b/<bsr_unicode>
7772      a\nb      a\nb
7773   0: a\x0ab   0: a\x0ab
7774      a\n\rb      a\n\rb
# Line 7949  No match Line 7790  No match
7790      a\r      a\r
7791  No match  No match
7792    
7793  /^a[\R]b/  /^a[\R]b/<bsr_unicode>
7794      aRb      aRb
7795   0: aRb   0: aRb
7796      ** Failers      ** Failers
# Line 7979  Need char = 'P' Line 7820  Need char = 'P'
7820   0: PXP   0: PXP
7821   1: P   1: P
7822    
 /(?(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