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

Contents of /code/trunk/testdata/testoutput2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 550 - (show annotations) (download)
Sun Oct 10 16:24:11 2010 UTC (3 years, 10 months ago) by ph10
File size: 225513 byte(s)
Fix problem with (*THEN) not backing up far enough.

1 /-- This set of tests is not Perl-compatible. It checks on special features
2 of PCRE's API, error diagnostics, and the compiled code of some patterns.
3 It also checks the non-Perl syntax the PCRE supports (Python, .NET,
4 Oniguruma). Finally, there are some tests where PCRE and Perl differ,
5 either because PCRE can't be compatible, or there is a possible Perl
6 bug. --/
7
8 /-- Originally, the Perl 5.10 and 5.11 things were in here too, but now I have
9 separated many (most?) of them out into test 11. However, there may still
10 be some that were overlooked. --/
11
12 /(a)b|/I
13 Capturing subpattern count = 1
14 No options
15 No first char
16 No need char
17
18 /abc/I
19 Capturing subpattern count = 0
20 No options
21 First char = 'a'
22 Need char = 'c'
23 abc
24 0: abc
25 defabc
26 0: abc
27 \Aabc
28 0: abc
29 *** Failers
30 No match
31 \Adefabc
32 No match
33 ABC
34 No match
35
36 /^abc/I
37 Capturing subpattern count = 0
38 Options: anchored
39 No first char
40 No need char
41 abc
42 0: abc
43 \Aabc
44 0: abc
45 *** Failers
46 No match
47 defabc
48 No match
49 \Adefabc
50 No match
51
52 /a+bc/I
53 Capturing subpattern count = 0
54 No options
55 First char = 'a'
56 Need char = 'c'
57
58 /a*bc/I
59 Capturing subpattern count = 0
60 No options
61 No first char
62 Need char = 'c'
63
64 /a{3}bc/I
65 Capturing subpattern count = 0
66 No options
67 First char = 'a'
68 Need char = 'c'
69
70 /(abc|a+z)/I
71 Capturing subpattern count = 1
72 No options
73 First char = 'a'
74 No need char
75
76 /^abc$/I
77 Capturing subpattern count = 0
78 Options: anchored
79 No first char
80 No need char
81 abc
82 0: abc
83 *** Failers
84 No match
85 def\nabc
86 No match
87
88 /ab\idef/X
89 Failed: unrecognized character follows \ at offset 3
90
91 /(?X)ab\idef/X
92 Failed: unrecognized character follows \ at offset 7
93
94 /x{5,4}/
95 Failed: numbers out of order in {} quantifier at offset 5
96
97 /z{65536}/
98 Failed: number too big in {} quantifier at offset 7
99
100 /[abcd/
101 Failed: missing terminating ] for character class at offset 5
102
103 /(?X)[\B]/
104 Failed: invalid escape sequence in character class at offset 6
105
106 /(?X)[\R]/
107 Failed: invalid escape sequence in character class at offset 6
108
109 /(?X)[\X]/
110 Failed: invalid escape sequence in character class at offset 6
111
112 /[\B]/BZ
113 ------------------------------------------------------------------
114 Bra
115 B
116 Ket
117 End
118 ------------------------------------------------------------------
119
120 /[\R]/BZ
121 ------------------------------------------------------------------
122 Bra
123 R
124 Ket
125 End
126 ------------------------------------------------------------------
127
128 /[\X]/BZ
129 ------------------------------------------------------------------
130 Bra
131 X
132 Ket
133 End
134 ------------------------------------------------------------------
135
136 /[z-a]/
137 Failed: range out of order in character class at offset 3
138
139 /^*/
140 Failed: nothing to repeat at offset 1
141
142 /(abc/
143 Failed: missing ) at offset 4
144
145 /(?# abc/
146 Failed: missing ) after comment at offset 7
147
148 /(?z)abc/
149 Failed: unrecognized character after (? or (?- at offset 2
150
151 /.*b/I
152 Capturing subpattern count = 0
153 No options
154 First char at start or follows newline
155 Need char = 'b'
156
157 /.*?b/I
158 Capturing subpattern count = 0
159 No options
160 First char at start or follows newline
161 Need char = 'b'
162
163 /cat|dog|elephant/I
164 Capturing subpattern count = 0
165 No options
166 No first char
167 No need char
168 this sentence eventually mentions a cat
169 0: cat
170 this sentences rambles on and on for a while and then reaches elephant
171 0: elephant
172
173 /cat|dog|elephant/IS
174 Capturing subpattern count = 0
175 No options
176 No first char
177 No need char
178 Subject length lower bound = 3
179 Starting byte set: c d e
180 this sentence eventually mentions a cat
181 0: cat
182 this sentences rambles on and on for a while and then reaches elephant
183 0: elephant
184
185 /cat|dog|elephant/IiS
186 Capturing subpattern count = 0
187 Options: caseless
188 No first char
189 No need char
190 Subject length lower bound = 3
191 Starting byte set: C D E c d e
192 this sentence eventually mentions a CAT cat
193 0: CAT
194 this sentences rambles on and on for a while to elephant ElePhant
195 0: elephant
196
197 /a|[bcd]/IS
198 Capturing subpattern count = 0
199 No options
200 No first char
201 No need char
202 Subject length lower bound = 1
203 Starting byte set: a b c d
204
205 /(a|[^\dZ])/IS
206 Capturing subpattern count = 1
207 No options
208 No first char
209 No need char
210 Subject length lower bound = 1
211 Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
212 \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19
213 \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / : ; < = >
214 ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y [ \ ] ^ _ ` a b c d
215 e f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f \x80 \x81 \x82 \x83
216 \x84 \x85 \x86 \x87 \x88 \x89 \x8a \x8b \x8c \x8d \x8e \x8f \x90 \x91 \x92
217 \x93 \x94 \x95 \x96 \x97 \x98 \x99 \x9a \x9b \x9c \x9d \x9e \x9f \xa0 \xa1
218 \xa2 \xa3 \xa4 \xa5 \xa6 \xa7 \xa8 \xa9 \xaa \xab \xac \xad \xae \xaf \xb0
219 \xb1 \xb2 \xb3 \xb4 \xb5 \xb6 \xb7 \xb8 \xb9 \xba \xbb \xbc \xbd \xbe \xbf
220 \xc0 \xc1 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce
221 \xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd
222 \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec
223 \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb
224 \xfc \xfd \xfe \xff
225
226 /(a|b)*[\s]/IS
227 Capturing subpattern count = 1
228 No options
229 No first char
230 No need char
231 Subject length lower bound = 1
232 Starting byte set: \x09 \x0a \x0c \x0d \x20 a b
233
234 /(ab\2)/
235 Failed: reference to non-existent subpattern at offset 6
236
237 /{4,5}abc/
238 Failed: nothing to repeat at offset 4
239
240 /(a)(b)(c)\2/I
241 Capturing subpattern count = 3
242 Max back reference = 2
243 No options
244 First char = 'a'
245 Need char = 'c'
246 abcb
247 0: abcb
248 1: a
249 2: b
250 3: c
251 \O0abcb
252 Matched, but too many substrings
253 \O3abcb
254 Matched, but too many substrings
255 0: abcb
256 \O6abcb
257 Matched, but too many substrings
258 0: abcb
259 1: a
260 \O9abcb
261 Matched, but too many substrings
262 0: abcb
263 1: a
264 2: b
265 \O12abcb
266 0: abcb
267 1: a
268 2: b
269 3: c
270
271 /(a)bc|(a)(b)\2/I
272 Capturing subpattern count = 3
273 Max back reference = 2
274 No options
275 First char = 'a'
276 No need char
277 abc
278 0: abc
279 1: a
280 \O0abc
281 Matched, but too many substrings
282 \O3abc
283 Matched, but too many substrings
284 0: abc
285 \O6abc
286 0: abc
287 1: a
288 aba
289 0: aba
290 1: <unset>
291 2: a
292 3: b
293 \O0aba
294 Matched, but too many substrings
295 \O3aba
296 Matched, but too many substrings
297 0: aba
298 \O6aba
299 Matched, but too many substrings
300 0: aba
301 1: <unset>
302 \O9aba
303 Matched, but too many substrings
304 0: aba
305 1: <unset>
306 2: a
307 \O12aba
308 0: aba
309 1: <unset>
310 2: a
311 3: b
312
313 /abc$/IE
314 Capturing subpattern count = 0
315 Options: dollar_endonly
316 First char = 'a'
317 Need char = 'c'
318 abc
319 0: abc
320 *** Failers
321 No match
322 abc\n
323 No match
324 abc\ndef
325 No match
326
327 /(a)(b)(c)(d)(e)\6/
328 Failed: reference to non-existent subpattern at offset 17
329
330 /the quick brown fox/I
331 Capturing subpattern count = 0
332 No options
333 First char = 't'
334 Need char = 'x'
335 the quick brown fox
336 0: the quick brown fox
337 this is a line with the quick brown fox
338 0: the quick brown fox
339
340 /the quick brown fox/IA
341 Capturing subpattern count = 0
342 Options: anchored
343 No first char
344 No need char
345 the quick brown fox
346 0: the quick brown fox
347 *** Failers
348 No match
349 this is a line with the quick brown fox
350 No match
351
352 /ab(?z)cd/
353 Failed: unrecognized character after (? or (?- at offset 4
354
355 /^abc|def/I
356 Capturing subpattern count = 0
357 No options
358 No first char
359 No need char
360 abcdef
361 0: abc
362 abcdef\B
363 0: def
364
365 /.*((abc)$|(def))/I
366 Capturing subpattern count = 3
367 No options
368 First char at start or follows newline
369 No need char
370 defabc
371 0: defabc
372 1: abc
373 2: abc
374 \Zdefabc
375 0: def
376 1: def
377 2: <unset>
378 3: def
379
380 /abc/P
381 abc
382 0: abc
383 *** Failers
384 No match: POSIX code 17: match failed
385
386 /^abc|def/P
387 abcdef
388 0: abc
389 abcdef\B
390 0: def
391
392 /.*((abc)$|(def))/P
393 defabc
394 0: defabc
395 1: abc
396 2: abc
397 \Zdefabc
398 0: def
399 1: def
400 3: def
401
402 /the quick brown fox/P
403 the quick brown fox
404 0: the quick brown fox
405 *** Failers
406 No match: POSIX code 17: match failed
407 The Quick Brown Fox
408 No match: POSIX code 17: match failed
409
410 /the quick brown fox/Pi
411 the quick brown fox
412 0: the quick brown fox
413 The Quick Brown Fox
414 0: The Quick Brown Fox
415
416 /abc.def/P
417 *** Failers
418 No match: POSIX code 17: match failed
419 abc\ndef
420 No match: POSIX code 17: match failed
421
422 /abc$/P
423 abc
424 0: abc
425 abc\n
426 0: abc
427
428 /(abc)\2/P
429 Failed: POSIX code 15: bad back reference at offset 7
430
431 /(abc\1)/P
432 abc
433 No match: POSIX code 17: match failed
434
435 /)/
436 Failed: unmatched parentheses at offset 0
437
438 /a[]b/
439 Failed: missing terminating ] for character class at offset 4
440
441 /[^aeiou ]{3,}/I
442 Capturing subpattern count = 0
443 No options
444 No first char
445 No need char
446 co-processors, and for
447 0: -pr
448
449 /<.*>/I
450 Capturing subpattern count = 0
451 No options
452 First char = '<'
453 Need char = '>'
454 abc<def>ghi<klm>nop
455 0: <def>ghi<klm>
456
457 /<.*?>/I
458 Capturing subpattern count = 0
459 No options
460 First char = '<'
461 Need char = '>'
462 abc<def>ghi<klm>nop
463 0: <def>
464
465 /<.*>/IU
466 Capturing subpattern count = 0
467 Options: ungreedy
468 First char = '<'
469 Need char = '>'
470 abc<def>ghi<klm>nop
471 0: <def>
472
473 /(?U)<.*>/I
474 Capturing subpattern count = 0
475 Options: ungreedy
476 First char = '<'
477 Need char = '>'
478 abc<def>ghi<klm>nop
479 0: <def>
480
481 /<.*?>/IU
482 Capturing subpattern count = 0
483 Options: ungreedy
484 First char = '<'
485 Need char = '>'
486 abc<def>ghi<klm>nop
487 0: <def>ghi<klm>
488
489 /={3,}/IU
490 Capturing subpattern count = 0
491 Options: ungreedy
492 First char = '='
493 Need char = '='
494 abc========def
495 0: ===
496
497 /(?U)={3,}?/I
498 Capturing subpattern count = 0
499 Options: ungreedy
500 First char = '='
501 Need char = '='
502 abc========def
503 0: ========
504
505 /(?<!bar|cattle)foo/I
506 Capturing subpattern count = 0
507 No options
508 First char = 'f'
509 Need char = 'o'
510 foo
511 0: foo
512 catfoo
513 0: foo
514 *** Failers
515 No match
516 the barfoo
517 No match
518 and cattlefoo
519 No match
520
521 /(?<=a+)b/
522 Failed: lookbehind assertion is not fixed length at offset 6
523
524 /(?<=aaa|b{0,3})b/
525 Failed: lookbehind assertion is not fixed length at offset 14
526
527 /(?<!(foo)a\1)bar/
528 Failed: lookbehind assertion is not fixed length at offset 12
529
530 /(?i)abc/I
531 Capturing subpattern count = 0
532 Options: caseless
533 First char = 'a' (caseless)
534 Need char = 'c' (caseless)
535
536 /(a|(?m)a)/I
537 Capturing subpattern count = 1
538 No options
539 First char = 'a'
540 No need char
541
542 /(?i)^1234/I
543 Capturing subpattern count = 0
544 Options: anchored caseless
545 No first char
546 No need char
547
548 /(^b|(?i)^d)/I
549 Capturing subpattern count = 1
550 Options: anchored
551 No first char
552 No need char
553
554 /(?s).*/I
555 Capturing subpattern count = 0
556 Options: anchored dotall
557 No first char
558 No need char
559
560 /[abcd]/IS
561 Capturing subpattern count = 0
562 No options
563 No first char
564 No need char
565 Subject length lower bound = 1
566 Starting byte set: a b c d
567
568 /(?i)[abcd]/IS
569 Capturing subpattern count = 0
570 Options: caseless
571 No first char
572 No need char
573 Subject length lower bound = 1
574 Starting byte set: A B C D a b c d
575
576 /(?m)[xy]|(b|c)/IS
577 Capturing subpattern count = 1
578 Options: multiline
579 No first char
580 No need char
581 Subject length lower bound = 1
582 Starting byte set: b c x y
583
584 /(^a|^b)/Im
585 Capturing subpattern count = 1
586 Options: multiline
587 First char at start or follows newline
588 No need char
589
590 /(?i)(^a|^b)/Im
591 Capturing subpattern count = 1
592 Options: caseless multiline
593 First char at start or follows newline
594 No need char
595
596 /(a)(?(1)a|b|c)/
597 Failed: conditional group contains more than two branches at offset 13
598
599 /(?(?=a)a|b|c)/
600 Failed: conditional group contains more than two branches at offset 12
601
602 /(?(1a)/
603 Failed: missing ) at offset 6
604
605 /(?(1a))/
606 Failed: reference to non-existent subpattern at offset 6
607
608 /(?(?i))/
609 Failed: assertion expected after (?( at offset 3
610
611 /(?(abc))/
612 Failed: reference to non-existent subpattern at offset 7
613
614 /(?(?<ab))/
615 Failed: syntax error in subpattern name (missing terminator) at offset 7
616
617 /((?s)blah)\s+\1/I
618 Capturing subpattern count = 1
619 Max back reference = 1
620 No options
621 First char = 'b'
622 Need char = 'h'
623
624 /((?i)blah)\s+\1/I
625 Capturing subpattern count = 1
626 Max back reference = 1
627 No options
628 First char = 'b' (caseless)
629 Need char = 'h' (caseless)
630
631 /((?i)b)/IDZS
632 ------------------------------------------------------------------
633 Bra
634 CBra 1
635 01 Opt
636 NC b
637 Ket
638 00 Opt
639 Ket
640 End
641 ------------------------------------------------------------------
642 Capturing subpattern count = 1
643 No options
644 First char = 'b' (caseless)
645 No need char
646 Subject length lower bound = 1
647 No set of starting bytes
648
649 /(a*b|(?i:c*(?-i)d))/IS
650 Capturing subpattern count = 1
651 No options
652 No first char
653 No need char
654 Subject length lower bound = 1
655 Starting byte set: C a b c d
656
657 /a$/I
658 Capturing subpattern count = 0
659 No options
660 First char = 'a'
661 No need char
662 a
663 0: a
664 a\n
665 0: a
666 *** Failers
667 No match
668 \Za
669 No match
670 \Za\n
671 No match
672
673 /a$/Im
674 Capturing subpattern count = 0
675 Options: multiline
676 First char = 'a'
677 No need char
678 a
679 0: a
680 a\n
681 0: a
682 \Za\n
683 0: a
684 *** Failers
685 No match
686 \Za
687 No match
688
689 /\Aabc/Im
690 Capturing subpattern count = 0
691 Options: anchored multiline
692 No first char
693 No need char
694
695 /^abc/Im
696 Capturing subpattern count = 0
697 Options: multiline
698 First char at start or follows newline
699 Need char = 'c'
700
701 /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/I
702 Capturing subpattern count = 5
703 Options: anchored
704 No first char
705 No need char
706 aaaaabbbbbcccccdef
707 0: aaaaabbbbbcccccdef
708 1: aaaaabbbbbcccccdef
709 2: aaaaa
710 3: b
711 4: bbbbccccc
712 5: def
713
714 /(?<=foo)[ab]/IS
715 Capturing subpattern count = 0
716 No options
717 No first char
718 No need char
719 Subject length lower bound = 1
720 Starting byte set: a b
721
722 /(?<!foo)(alpha|omega)/IS
723 Capturing subpattern count = 1
724 No options
725 No first char
726 Need char = 'a'
727 Subject length lower bound = 5
728 Starting byte set: a o
729
730 /(?!alphabet)[ab]/IS
731 Capturing subpattern count = 0
732 No options
733 No first char
734 No need char
735 Subject length lower bound = 1
736 Starting byte set: a b
737
738 /(?<=foo\n)^bar/Im
739 Capturing subpattern count = 0
740 Contains explicit CR or LF match
741 Options: multiline
742 No first char
743 Need char = 'r'
744 foo\nbarbar
745 0: bar
746 ***Failers
747 No match
748 rhubarb
749 No match
750 barbell
751 No match
752 abc\nbarton
753 No match
754
755 /^(?<=foo\n)bar/Im
756 Capturing subpattern count = 0
757 Contains explicit CR or LF match
758 Options: multiline
759 First char at start or follows newline
760 Need char = 'r'
761 foo\nbarbar
762 0: bar
763 ***Failers
764 No match
765 rhubarb
766 No match
767 barbell
768 No match
769 abc\nbarton
770 No match
771
772 /(?>^abc)/Im
773 Capturing subpattern count = 0
774 Options: multiline
775 First char at start or follows newline
776 Need char = 'c'
777 abc
778 0: abc
779 def\nabc
780 0: abc
781 *** Failers
782 No match
783 defabc
784 No match
785
786 /(?<=ab(c+)d)ef/
787 Failed: lookbehind assertion is not fixed length at offset 11
788
789 /(?<=ab(?<=c+)d)ef/
790 Failed: lookbehind assertion is not fixed length at offset 12
791
792 /(?<=ab(c|de)f)g/
793 Failed: lookbehind assertion is not fixed length at offset 13
794
795 /The next three are in testinput2 because they have variable length branches/
796
797 /(?<=bullock|donkey)-cart/I
798 Capturing subpattern count = 0
799 No options
800 First char = '-'
801 Need char = 't'
802 the bullock-cart
803 0: -cart
804 a donkey-cart race
805 0: -cart
806 *** Failers
807 No match
808 cart
809 No match
810 horse-and-cart
811 No match
812
813 /(?<=ab(?i)x|y|z)/I
814 Capturing subpattern count = 0
815 No options
816 No first char
817 No need char
818
819 /(?>.*)(?<=(abcd)|(xyz))/I
820 Capturing subpattern count = 2
821 No options
822 First char at start or follows newline
823 No need char
824 alphabetabcd
825 0: alphabetabcd
826 1: abcd
827 endingxyz
828 0: endingxyz
829 1: <unset>
830 2: xyz
831
832 /(?<=ab(?i)x(?-i)y|(?i)z|b)ZZ/I
833 Capturing subpattern count = 0
834 No options
835 First char = 'Z'
836 Need char = 'Z'
837 abxyZZ
838 0: ZZ
839 abXyZZ
840 0: ZZ
841 ZZZ
842 0: ZZ
843 zZZ
844 0: ZZ
845 bZZ
846 0: ZZ
847 BZZ
848 0: ZZ
849 *** Failers
850 No match
851 ZZ
852 No match
853 abXYZZ
854 No match
855 zzz
856 No match
857 bzz
858 No match
859
860 /(?<!(foo)a)bar/I
861 Capturing subpattern count = 1
862 No options
863 First char = 'b'
864 Need char = 'r'
865 bar
866 0: bar
867 foobbar
868 0: bar
869 *** Failers
870 No match
871 fooabar
872 No match
873
874 /This one is here because Perl 5.005_02 doesn't fail it/I
875 Capturing subpattern count = 0
876 No options
877 First char = 'T'
878 Need char = 't'
879
880 /^(a)?(?(1)a|b)+$/I
881 Capturing subpattern count = 1
882 Options: anchored
883 No first char
884 No need char
885 *** Failers
886 No match
887 a
888 No match
889
890 /This one is here because Perl behaves differently; see also the following/I
891 Capturing subpattern count = 0
892 No options
893 First char = 'T'
894 Need char = 'g'
895
896 /^(a\1?){4}$/I
897 Capturing subpattern count = 1
898 Max back reference = 1
899 Options: anchored
900 No first char
901 No need char
902 aaaa
903 No match
904 aaaaaa
905 No match
906
907 /Perl does not fail these two for the final subjects. Neither did PCRE until/
908 /release 8.01. The problem is in backtracking into a subpattern that contains/
909 No match
910 /a recursive reference to itself. PCRE has now made these into atomic patterns./
911 No match
912
913 /^(xa|=?\1a){2}$/
914 xa=xaa
915 0: xa=xaa
916 1: =xaa
917 ** Failers
918 No match
919 xa=xaaa
920 No match
921
922 /^(xa|=?\1a)+$/
923 xa=xaa
924 0: xa=xaa
925 1: =xaa
926 ** Failers
927 No match
928 xa=xaaa
929 No match
930
931 /These are syntax tests from Perl 5.005/I
932 Capturing subpattern count = 0
933 No options
934 First char = 'T'
935 Need char = '5'
936
937 /a[b-a]/
938 Failed: range out of order in character class at offset 4
939
940 /a[]b/
941 Failed: missing terminating ] for character class at offset 4
942
943 /a[/
944 Failed: missing terminating ] for character class at offset 2
945
946 /*a/
947 Failed: nothing to repeat at offset 0
948
949 /(*)b/
950 Failed: nothing to repeat at offset 1
951
952 /abc)/
953 Failed: unmatched parentheses at offset 3
954
955 /(abc/
956 Failed: missing ) at offset 4
957
958 /a**/
959 Failed: nothing to repeat at offset 2
960
961 /)(/
962 Failed: unmatched parentheses at offset 0
963
964 /\1/
965 Failed: reference to non-existent subpattern at offset 2
966
967 /\2/
968 Failed: reference to non-existent subpattern at offset 2
969
970 /(a)|\2/
971 Failed: reference to non-existent subpattern at offset 6
972
973 /a[b-a]/Ii
974 Failed: range out of order in character class at offset 4
975
976 /a[]b/Ii
977 Failed: missing terminating ] for character class at offset 4
978
979 /a[/Ii
980 Failed: missing terminating ] for character class at offset 2
981
982 /*a/Ii
983 Failed: nothing to repeat at offset 0
984
985 /(*)b/Ii
986 Failed: nothing to repeat at offset 1
987
988 /abc)/Ii
989 Failed: unmatched parentheses at offset 3
990
991 /(abc/Ii
992 Failed: missing ) at offset 4
993
994 /a**/Ii
995 Failed: nothing to repeat at offset 2
996
997 /)(/Ii
998 Failed: unmatched parentheses at offset 0
999
1000 /:(?:/
1001 Failed: missing ) at offset 4
1002
1003 /(?<%)b/
1004 Failed: unrecognized character after (?< at offset 3
1005
1006 /a(?{)b/
1007 Failed: unrecognized character after (? or (?- at offset 3
1008
1009 /a(?{{})b/
1010 Failed: unrecognized character after (? or (?- at offset 3
1011
1012 /a(?{}})b/
1013 Failed: unrecognized character after (? or (?- at offset 3
1014
1015 /a(?{"{"})b/
1016 Failed: unrecognized character after (? or (?- at offset 3
1017
1018 /a(?{"{"}})b/
1019 Failed: unrecognized character after (? or (?- at offset 3
1020
1021 /(?(1?)a|b)/
1022 Failed: malformed number or name after (?( at offset 4
1023
1024 /[a[:xyz:/
1025 Failed: missing terminating ] for character class at offset 8
1026
1027 /(?<=x+)y/
1028 Failed: lookbehind assertion is not fixed length at offset 6
1029
1030 /a{37,17}/
1031 Failed: numbers out of order in {} quantifier at offset 7
1032
1033 /abc/\
1034 Failed: \ at end of pattern at offset 4
1035
1036 /abc/\P
1037 Failed: POSIX code 9: bad escape sequence at offset 4
1038
1039 /abc/\i
1040 Failed: \ at end of pattern at offset 4
1041
1042 /(a)bc(d)/I
1043 Capturing subpattern count = 2
1044 No options
1045 First char = 'a'
1046 Need char = 'd'
1047 abcd
1048 0: abcd
1049 1: a
1050 2: d
1051 abcd\C2
1052 0: abcd
1053 1: a
1054 2: d
1055 2C d (1)
1056 abcd\C5
1057 0: abcd
1058 1: a
1059 2: d
1060 copy substring 5 failed -7
1061
1062 /(.{20})/I
1063 Capturing subpattern count = 1
1064 No options
1065 No first char
1066 No need char
1067 abcdefghijklmnopqrstuvwxyz
1068 0: abcdefghijklmnopqrst
1069 1: abcdefghijklmnopqrst
1070 abcdefghijklmnopqrstuvwxyz\C1
1071 0: abcdefghijklmnopqrst
1072 1: abcdefghijklmnopqrst
1073 1C abcdefghijklmnopqrst (20)
1074 abcdefghijklmnopqrstuvwxyz\G1
1075 0: abcdefghijklmnopqrst
1076 1: abcdefghijklmnopqrst
1077 1G abcdefghijklmnopqrst (20)
1078
1079 /(.{15})/I
1080 Capturing subpattern count = 1
1081 No options
1082 No first char
1083 No need char
1084 abcdefghijklmnopqrstuvwxyz
1085 0: abcdefghijklmno
1086 1: abcdefghijklmno
1087 abcdefghijklmnopqrstuvwxyz\C1\G1
1088 0: abcdefghijklmno
1089 1: abcdefghijklmno
1090 1C abcdefghijklmno (15)
1091 1G abcdefghijklmno (15)
1092
1093 /(.{16})/I
1094 Capturing subpattern count = 1
1095 No options
1096 No first char
1097 No need char
1098 abcdefghijklmnopqrstuvwxyz
1099 0: abcdefghijklmnop
1100 1: abcdefghijklmnop
1101 abcdefghijklmnopqrstuvwxyz\C1\G1\L
1102 0: abcdefghijklmnop
1103 1: abcdefghijklmnop
1104 1C abcdefghijklmnop (16)
1105 1G abcdefghijklmnop (16)
1106 0L abcdefghijklmnop
1107 1L abcdefghijklmnop
1108
1109 /^(a|(bc))de(f)/I
1110 Capturing subpattern count = 3
1111 Options: anchored
1112 No first char
1113 No need char
1114 adef\G1\G2\G3\G4\L
1115 0: adef
1116 1: a
1117 2: <unset>
1118 3: f
1119 1G a (1)
1120 2G (0)
1121 3G f (1)
1122 get substring 4 failed -7
1123 0L adef
1124 1L a
1125 2L
1126 3L f
1127 bcdef\G1\G2\G3\G4\L
1128 0: bcdef
1129 1: bc
1130 2: bc
1131 3: f
1132 1G bc (2)
1133 2G bc (2)
1134 3G f (1)
1135 get substring 4 failed -7
1136 0L bcdef
1137 1L bc
1138 2L bc
1139 3L f
1140 adefghijk\C0
1141 0: adef
1142 1: a
1143 2: <unset>
1144 3: f
1145 0C adef (4)
1146
1147 /^abc\00def/I
1148 Capturing subpattern count = 0
1149 Options: anchored
1150 No first char
1151 No need char
1152 abc\00def\L\C0
1153 0: abc\x00def
1154 0C abc (7)
1155 0L abc
1156
1157 /word ((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+
1158 )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+
1159 )?)?)?)?)?)?)?)?)?otherword/I
1160 Capturing subpattern count = 8
1161 Contains explicit CR or LF match
1162 No options
1163 First char = 'w'
1164 Need char = 'd'
1165
1166 /.*X/IDZ
1167 ------------------------------------------------------------------
1168 Bra
1169 Any*
1170 X
1171 Ket
1172 End
1173 ------------------------------------------------------------------
1174 Capturing subpattern count = 0
1175 No options
1176 First char at start or follows newline
1177 Need char = 'X'
1178
1179 /.*X/IDZs
1180 ------------------------------------------------------------------
1181 Bra
1182 AllAny*
1183 X
1184 Ket
1185 End
1186 ------------------------------------------------------------------
1187 Capturing subpattern count = 0
1188 Options: anchored dotall
1189 No first char
1190 Need char = 'X'
1191
1192 /(.*X|^B)/IDZ
1193 ------------------------------------------------------------------
1194 Bra
1195 CBra 1
1196 Any*
1197 X
1198 Alt
1199 ^
1200 B
1201 Ket
1202 Ket
1203 End
1204 ------------------------------------------------------------------
1205 Capturing subpattern count = 1
1206 No options
1207 First char at start or follows newline
1208 No need char
1209
1210 /(.*X|^B)/IDZs
1211 ------------------------------------------------------------------
1212 Bra
1213 CBra 1
1214 AllAny*
1215 X
1216 Alt
1217 ^
1218 B
1219 Ket
1220 Ket
1221 End
1222 ------------------------------------------------------------------
1223 Capturing subpattern count = 1
1224 Options: anchored dotall
1225 No first char
1226 No need char
1227
1228 /(?s)(.*X|^B)/IDZ
1229 ------------------------------------------------------------------
1230 Bra
1231 CBra 1
1232 AllAny*
1233 X
1234 Alt
1235 ^
1236 B
1237 Ket
1238 Ket
1239 End
1240 ------------------------------------------------------------------
1241 Capturing subpattern count = 1
1242 Options: anchored dotall
1243 No first char
1244 No need char
1245
1246 /(?s:.*X|^B)/IDZ
1247 ------------------------------------------------------------------
1248 Bra
1249 Bra
1250 04 Opt
1251 AllAny*
1252 X
1253 Alt
1254 04 Opt
1255 ^
1256 B
1257 Ket
1258 00 Opt
1259 Ket
1260 End
1261 ------------------------------------------------------------------
1262 Capturing subpattern count = 0
1263 Options: anchored
1264 No first char
1265 No need char
1266
1267 /\Biss\B/I+
1268 Capturing subpattern count = 0
1269 No options
1270 First char = 'i'
1271 Need char = 's'
1272 Mississippi
1273 0: iss
1274 0+ issippi
1275
1276 /\Biss\B/I+P
1277 Mississippi
1278 0: iss
1279 0+ issippi
1280
1281 /iss/IG+
1282 Capturing subpattern count = 0
1283 No options
1284 First char = 'i'
1285 Need char = 's'
1286 Mississippi
1287 0: iss
1288 0+ issippi
1289 0: iss
1290 0+ ippi
1291
1292 /\Biss\B/IG+
1293 Capturing subpattern count = 0
1294 No options
1295 First char = 'i'
1296 Need char = 's'
1297 Mississippi
1298 0: iss
1299 0+ issippi
1300
1301 /\Biss\B/Ig+
1302 Capturing subpattern count = 0
1303 No options
1304 First char = 'i'
1305 Need char = 's'
1306 Mississippi
1307 0: iss
1308 0+ issippi
1309 0: iss
1310 0+ ippi
1311 *** Failers
1312 No match
1313 Mississippi\A
1314 No match
1315
1316 /(?<=[Ms])iss/Ig+
1317 Capturing subpattern count = 0
1318 No options
1319 First char = 'i'
1320 Need char = 's'
1321 Mississippi
1322 0: iss
1323 0+ issippi
1324 0: iss
1325 0+ ippi
1326
1327 /(?<=[Ms])iss/IG+
1328 Capturing subpattern count = 0
1329 No options
1330 First char = 'i'
1331 Need char = 's'
1332 Mississippi
1333 0: iss
1334 0+ issippi
1335
1336 /^iss/Ig+
1337 Capturing subpattern count = 0
1338 Options: anchored
1339 No first char
1340 No need char
1341 ississippi
1342 0: iss
1343 0+ issippi
1344
1345 /.*iss/Ig+
1346 Capturing subpattern count = 0
1347 No options
1348 First char at start or follows newline
1349 Need char = 's'
1350 abciss\nxyzisspqr
1351 0: abciss
1352 0+ \x0axyzisspqr
1353 0: xyziss
1354 0+ pqr
1355
1356 /.i./I+g
1357 Capturing subpattern count = 0
1358 No options
1359 No first char
1360 Need char = 'i'
1361 Mississippi
1362 0: Mis
1363 0+ sissippi
1364 0: sis
1365 0+ sippi
1366 0: sip
1367 0+ pi
1368 Mississippi\A
1369 0: Mis
1370 0+ sissippi
1371 0: sis
1372 0+ sippi
1373 0: sip
1374 0+ pi
1375 Missouri river
1376 0: Mis
1377 0+ souri river
1378 0: ri
1379 0+ river
1380 0: riv
1381 0+ er
1382 Missouri river\A
1383 0: Mis
1384 0+ souri river
1385
1386 /^.is/I+g
1387 Capturing subpattern count = 0
1388 Options: anchored
1389 No first char
1390 No need char
1391 Mississippi
1392 0: Mis
1393 0+ sissippi
1394
1395 /^ab\n/Ig+
1396 Capturing subpattern count = 0
1397 Contains explicit CR or LF match
1398 Options: anchored
1399 No first char
1400 No need char
1401 ab\nab\ncd
1402 0: ab\x0a
1403 0+ ab\x0acd
1404
1405 /^ab\n/Img+
1406 Capturing subpattern count = 0
1407 Contains explicit CR or LF match
1408 Options: multiline
1409 First char at start or follows newline
1410 Need char = 10
1411 ab\nab\ncd
1412 0: ab\x0a
1413 0+ ab\x0acd
1414 0: ab\x0a
1415 0+ cd
1416
1417 /abc/I
1418 Capturing subpattern count = 0
1419 No options
1420 First char = 'a'
1421 Need char = 'c'
1422
1423 /abc|bac/I
1424 Capturing subpattern count = 0
1425 No options
1426 No first char
1427 Need char = 'c'
1428
1429 /(abc|bac)/I
1430 Capturing subpattern count = 1
1431 No options
1432 No first char
1433 Need char = 'c'
1434
1435 /(abc|(c|dc))/I
1436 Capturing subpattern count = 2
1437 No options
1438 No first char
1439 Need char = 'c'
1440
1441 /(abc|(d|de)c)/I
1442 Capturing subpattern count = 2
1443 No options
1444 No first char
1445 Need char = 'c'
1446
1447 /a*/I
1448 Capturing subpattern count = 0
1449 No options
1450 No first char
1451 No need char
1452
1453 /a+/I
1454 Capturing subpattern count = 0
1455 No options
1456 First char = 'a'
1457 No need char
1458
1459 /(baa|a+)/I
1460 Capturing subpattern count = 1
1461 No options
1462 No first char
1463 Need char = 'a'
1464
1465 /a{0,3}/I
1466 Capturing subpattern count = 0
1467 No options
1468 No first char
1469 No need char
1470
1471 /baa{3,}/I
1472 Capturing subpattern count = 0
1473 No options
1474 First char = 'b'
1475 Need char = 'a'
1476
1477 /"([^\\"]+|\\.)*"/I
1478 Capturing subpattern count = 1
1479 No options
1480 First char = '"'
1481 Need char = '"'
1482
1483 /(abc|ab[cd])/I
1484 Capturing subpattern count = 1
1485 No options
1486 First char = 'a'
1487 No need char
1488
1489 /(a|.)/I
1490 Capturing subpattern count = 1
1491 No options
1492 No first char
1493 No need char
1494
1495 /a|ba|\w/I
1496 Capturing subpattern count = 0
1497 No options
1498 No first char
1499 No need char
1500
1501 /abc(?=pqr)/I
1502 Capturing subpattern count = 0
1503 No options
1504 First char = 'a'
1505 Need char = 'r'
1506
1507 /...(?<=abc)/I
1508 Capturing subpattern count = 0
1509 No options
1510 No first char
1511 No need char
1512
1513 /abc(?!pqr)/I
1514 Capturing subpattern count = 0
1515 No options
1516 First char = 'a'
1517 Need char = 'c'
1518
1519 /ab./I
1520 Capturing subpattern count = 0
1521 No options
1522 First char = 'a'
1523 Need char = 'b'
1524
1525 /ab[xyz]/I
1526 Capturing subpattern count = 0
1527 No options
1528 First char = 'a'
1529 Need char = 'b'
1530
1531 /abc*/I
1532 Capturing subpattern count = 0
1533 No options
1534 First char = 'a'
1535 Need char = 'b'
1536
1537 /ab.c*/I
1538 Capturing subpattern count = 0
1539 No options
1540 First char = 'a'
1541 Need char = 'b'
1542
1543 /a.c*/I
1544 Capturing subpattern count = 0
1545 No options
1546 First char = 'a'
1547 No need char
1548
1549 /.c*/I
1550 Capturing subpattern count = 0
1551 No options
1552 No first char
1553 No need char
1554
1555 /ac*/I
1556 Capturing subpattern count = 0
1557 No options
1558 First char = 'a'
1559 No need char
1560
1561 /(a.c*|b.c*)/I
1562 Capturing subpattern count = 1
1563 No options
1564 No first char
1565 No need char
1566
1567 /a.c*|aba/I
1568 Capturing subpattern count = 0
1569 No options
1570 First char = 'a'
1571 No need char
1572
1573 /.+a/I
1574 Capturing subpattern count = 0
1575 No options
1576 No first char
1577 Need char = 'a'
1578
1579 /(?=abcda)a.*/I
1580 Capturing subpattern count = 0
1581 No options
1582 First char = 'a'
1583 Need char = 'a'
1584
1585 /(?=a)a.*/I
1586 Capturing subpattern count = 0
1587 No options
1588 First char = 'a'
1589 No need char
1590
1591 /a(b)*/I
1592 Capturing subpattern count = 1
1593 No options
1594 First char = 'a'
1595 No need char
1596
1597 /a\d*/I
1598 Capturing subpattern count = 0
1599 No options
1600 First char = 'a'
1601 No need char
1602
1603 /ab\d*/I
1604 Capturing subpattern count = 0
1605 No options
1606 First char = 'a'
1607 Need char = 'b'
1608
1609 /a(\d)*/I
1610 Capturing subpattern count = 1
1611 No options
1612 First char = 'a'
1613 No need char
1614
1615 /abcde{0,0}/I
1616 Capturing subpattern count = 0
1617 No options
1618 First char = 'a'
1619 Need char = 'd'
1620
1621 /ab\d+/I
1622 Capturing subpattern count = 0
1623 No options
1624 First char = 'a'
1625 Need char = 'b'
1626
1627 /a(?(1)b)(.)/I
1628 Capturing subpattern count = 1
1629 No options
1630 First char = 'a'
1631 No need char
1632
1633 /a(?(1)bag|big)(.)/I
1634 Capturing subpattern count = 1
1635 No options
1636 First char = 'a'
1637 Need char = 'g'
1638
1639 /a(?(1)bag|big)*(.)/I
1640 Capturing subpattern count = 1
1641 No options
1642 First char = 'a'
1643 No need char
1644
1645 /a(?(1)bag|big)+(.)/I
1646 Capturing subpattern count = 1
1647 No options
1648 First char = 'a'
1649 Need char = 'g'
1650
1651 /a(?(1)b..|b..)(.)/I
1652 Capturing subpattern count = 1
1653 No options
1654 First char = 'a'
1655 Need char = 'b'
1656
1657 /ab\d{0}e/I
1658 Capturing subpattern count = 0
1659 No options
1660 First char = 'a'
1661 Need char = 'e'
1662
1663 /a?b?/I
1664 Capturing subpattern count = 0
1665 No options
1666 No first char
1667 No need char
1668 a
1669 0: a
1670 b
1671 0: b
1672 ab
1673 0: ab
1674 \
1675 0:
1676 *** Failers
1677 0:
1678 \N
1679 No match
1680
1681 /|-/I
1682 Capturing subpattern count = 0
1683 No options
1684 No first char
1685 No need char
1686 abcd
1687 0:
1688 -abc
1689 0:
1690 \Nab-c
1691 0: -
1692 *** Failers
1693 0:
1694 \Nabc
1695 No match
1696
1697 /a*(b+)(z)(z)/P
1698 aaaabbbbzzzz
1699 0: aaaabbbbzz
1700 1: bbbb
1701 2: z
1702 3: z
1703 aaaabbbbzzzz\O0
1704 aaaabbbbzzzz\O1
1705 0: aaaabbbbzz
1706 aaaabbbbzzzz\O2
1707 0: aaaabbbbzz
1708 1: bbbb
1709 aaaabbbbzzzz\O3
1710 0: aaaabbbbzz
1711 1: bbbb
1712 2: z
1713 aaaabbbbzzzz\O4
1714 0: aaaabbbbzz
1715 1: bbbb
1716 2: z
1717 3: z
1718 aaaabbbbzzzz\O5
1719 0: aaaabbbbzz
1720 1: bbbb
1721 2: z
1722 3: z
1723
1724 /^.?abcd/IS
1725 Capturing subpattern count = 0
1726 Options: anchored
1727 No first char
1728 Need char = 'd'
1729 Subject length lower bound = 4
1730 No set of starting bytes
1731
1732 /\( # ( at start
1733 (?: # Non-capturing bracket
1734 (?>[^()]+) # Either a sequence of non-brackets (no backtracking)
1735 | # Or
1736 (?R) # Recurse - i.e. nested bracketed string
1737 )* # Zero or more contents
1738 \) # Closing )
1739 /Ix
1740 Capturing subpattern count = 0
1741 Options: extended
1742 First char = '('
1743 Need char = ')'
1744 (abcd)
1745 0: (abcd)
1746 (abcd)xyz
1747 0: (abcd)
1748 xyz(abcd)
1749 0: (abcd)
1750 (ab(xy)cd)pqr
1751 0: (ab(xy)cd)
1752 (ab(xycd)pqr
1753 0: (xycd)
1754 () abc ()
1755 0: ()
1756 12(abcde(fsh)xyz(foo(bar))lmno)89
1757 0: (abcde(fsh)xyz(foo(bar))lmno)
1758 *** Failers
1759 No match
1760 abcd
1761 No match
1762 abcd)
1763 No match
1764 (abcd
1765 No match
1766
1767 /\( ( (?>[^()]+) | (?R) )* \) /Ixg
1768 Capturing subpattern count = 1
1769 Options: extended
1770 First char = '('
1771 Need char = ')'
1772 (ab(xy)cd)pqr
1773 0: (ab(xy)cd)
1774 1: cd
1775 1(abcd)(x(y)z)pqr
1776 0: (abcd)
1777 1: abcd
1778 0: (x(y)z)
1779 1: z
1780
1781 /\( (?: (?>[^()]+) | (?R) ) \) /Ix
1782 Capturing subpattern count = 0
1783 Options: extended
1784 First char = '('
1785 Need char = ')'
1786 (abcd)
1787 0: (abcd)
1788 (ab(xy)cd)
1789 0: (xy)
1790 (a(b(c)d)e)
1791 0: (c)
1792 ((ab))
1793 0: ((ab))
1794 *** Failers
1795 No match
1796 ()
1797 No match
1798
1799 /\( (?: (?>[^()]+) | (?R) )? \) /Ix
1800 Capturing subpattern count = 0
1801 Options: extended
1802 First char = '('
1803 Need char = ')'
1804 ()
1805 0: ()
1806 12(abcde(fsh)xyz(foo(bar))lmno)89
1807 0: (fsh)
1808
1809 /\( ( (?>[^()]+) | (?R) )* \) /Ix
1810 Capturing subpattern count = 1
1811 Options: extended
1812 First char = '('
1813 Need char = ')'
1814 (ab(xy)cd)
1815 0: (ab(xy)cd)
1816 1: cd
1817
1818 /\( ( ( (?>[^()]+) | (?R) )* ) \) /Ix
1819 Capturing subpattern count = 2
1820 Options: extended
1821 First char = '('
1822 Need char = ')'
1823 (ab(xy)cd)
1824 0: (ab(xy)cd)
1825 1: ab(xy)cd
1826 2: cd
1827
1828 /\( (123)? ( ( (?>[^()]+) | (?R) )* ) \) /Ix
1829 Capturing subpattern count = 3
1830 Options: extended
1831 First char = '('
1832 Need char = ')'
1833 (ab(xy)cd)
1834 0: (ab(xy)cd)
1835 1: <unset>
1836 2: ab(xy)cd
1837 3: cd
1838 (123ab(xy)cd)
1839 0: (123ab(xy)cd)
1840 1: 123
1841 2: ab(xy)cd
1842 3: cd
1843
1844 /\( ( (123)? ( (?>[^()]+) | (?R) )* ) \) /Ix
1845 Capturing subpattern count = 3
1846 Options: extended
1847 First char = '('
1848 Need char = ')'
1849 (ab(xy)cd)
1850 0: (ab(xy)cd)
1851 1: ab(xy)cd
1852 2: <unset>
1853 3: cd
1854 (123ab(xy)cd)
1855 0: (123ab(xy)cd)
1856 1: 123ab(xy)cd
1857 2: 123
1858 3: cd
1859
1860 /\( (((((((((( ( (?>[^()]+) | (?R) )* )))))))))) \) /Ix
1861 Capturing subpattern count = 11
1862 Options: extended
1863 First char = '('
1864 Need char = ')'
1865 (ab(xy)cd)
1866 0: (ab(xy)cd)
1867 1: ab(xy)cd
1868 2: ab(xy)cd
1869 3: ab(xy)cd
1870 4: ab(xy)cd
1871 5: ab(xy)cd
1872 6: ab(xy)cd
1873 7: ab(xy)cd
1874 8: ab(xy)cd
1875 9: ab(xy)cd
1876 10: ab(xy)cd
1877 11: cd
1878
1879 /\( ( ( (?>[^()<>]+) | ((?>[^()]+)) | (?R) )* ) \) /Ix
1880 Capturing subpattern count = 3
1881 Options: extended
1882 First char = '('
1883 Need char = ')'
1884 (abcd(xyz<p>qrs)123)
1885 0: (abcd(xyz<p>qrs)123)
1886 1: abcd(xyz<p>qrs)123
1887 2: 123
1888
1889 /\( ( ( (?>[^()]+) | ((?R)) )* ) \) /Ix
1890 Capturing subpattern count = 3
1891 Options: extended
1892 First char = '('
1893 Need char = ')'
1894 (ab(cd)ef)
1895 0: (ab(cd)ef)
1896 1: ab(cd)ef
1897 2: ef
1898 3: (cd)
1899 (ab(cd(ef)gh)ij)
1900 0: (ab(cd(ef)gh)ij)
1901 1: ab(cd(ef)gh)ij
1902 2: ij
1903 3: (cd(ef)gh)
1904
1905 /^[[:alnum:]]/DZ
1906 ------------------------------------------------------------------
1907 Bra
1908 ^
1909 [0-9A-Za-z]
1910 Ket
1911 End
1912 ------------------------------------------------------------------
1913 Capturing subpattern count = 0
1914 Options: anchored
1915 No first char
1916 No need char
1917
1918 /^[[:^alnum:]]/DZ
1919 ------------------------------------------------------------------
1920 Bra
1921 ^
1922 [\x00-/:-@[-`{-\xff] (neg)
1923 Ket
1924 End
1925 ------------------------------------------------------------------
1926 Capturing subpattern count = 0
1927 Options: anchored
1928 No first char
1929 No need char
1930
1931 /^[[:alpha:]]/DZ
1932 ------------------------------------------------------------------
1933 Bra
1934 ^
1935 [A-Za-z]
1936 Ket
1937 End
1938 ------------------------------------------------------------------
1939 Capturing subpattern count = 0
1940 Options: anchored
1941 No first char
1942 No need char
1943
1944 /^[[:^alpha:]]/DZ
1945 ------------------------------------------------------------------
1946 Bra
1947 ^
1948 [\x00-@[-`{-\xff] (neg)
1949 Ket
1950 End
1951 ------------------------------------------------------------------
1952 Capturing subpattern count = 0
1953 Options: anchored
1954 No first char
1955 No need char
1956
1957 /[_[:alpha:]]/IS
1958 Capturing subpattern count = 0
1959 No options
1960 No first char
1961 No need char
1962 Subject length lower bound = 1
1963 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
1964 _ 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
1965
1966 /^[[:ascii:]]/DZ
1967 ------------------------------------------------------------------
1968 Bra
1969 ^
1970 [\x00-\x7f]
1971 Ket
1972 End
1973 ------------------------------------------------------------------
1974 Capturing subpattern count = 0
1975 Options: anchored
1976 No first char
1977 No need char
1978
1979 /^[[:^ascii:]]/DZ
1980 ------------------------------------------------------------------
1981 Bra
1982 ^
1983 [\x80-\xff] (neg)
1984 Ket
1985 End
1986 ------------------------------------------------------------------
1987 Capturing subpattern count = 0
1988 Options: anchored
1989 No first char
1990 No need char
1991
1992 /^[[:blank:]]/DZ
1993 ------------------------------------------------------------------
1994 Bra
1995 ^
1996 [\x09 ]
1997 Ket
1998 End
1999 ------------------------------------------------------------------
2000 Capturing subpattern count = 0
2001 Options: anchored
2002 No first char
2003 No need char
2004
2005 /^[[:^blank:]]/DZ
2006 ------------------------------------------------------------------
2007 Bra
2008 ^
2009 [\x00-\x08\x0a-\x1f!-\xff] (neg)
2010 Ket
2011 End
2012 ------------------------------------------------------------------
2013 Capturing subpattern count = 0
2014 Options: anchored
2015 No first char
2016 No need char
2017
2018 /[\n\x0b\x0c\x0d[:blank:]]/IS
2019 Capturing subpattern count = 0
2020 Contains explicit CR or LF match
2021 No options
2022 No first char
2023 No need char
2024 Subject length lower bound = 1
2025 Starting byte set: \x09 \x0a \x0b \x0c \x0d \x20
2026
2027 /^[[:cntrl:]]/DZ
2028 ------------------------------------------------------------------
2029 Bra
2030 ^
2031 [\x00-\x1f\x7f]
2032 Ket
2033 End
2034 ------------------------------------------------------------------
2035 Capturing subpattern count = 0
2036 Options: anchored
2037 No first char
2038 No need char
2039
2040 /^[[:digit:]]/DZ
2041 ------------------------------------------------------------------
2042 Bra
2043 ^
2044 [0-9]
2045 Ket
2046 End
2047 ------------------------------------------------------------------
2048 Capturing subpattern count = 0
2049 Options: anchored
2050 No first char
2051 No need char
2052
2053 /^[[:graph:]]/DZ
2054 ------------------------------------------------------------------
2055 Bra
2056 ^
2057 [!-~]
2058 Ket
2059 End
2060 ------------------------------------------------------------------
2061 Capturing subpattern count = 0
2062 Options: anchored
2063 No first char
2064 No need char
2065
2066 /^[[:lower:]]/DZ
2067 ------------------------------------------------------------------
2068 Bra
2069 ^
2070 [a-z]
2071 Ket
2072 End
2073 ------------------------------------------------------------------
2074 Capturing subpattern count = 0
2075 Options: anchored
2076 No first char
2077 No need char
2078
2079 /^[[:print:]]/DZ
2080 ------------------------------------------------------------------
2081 Bra
2082 ^
2083 [ -~]
2084 Ket
2085 End
2086 ------------------------------------------------------------------
2087 Capturing subpattern count = 0
2088 Options: anchored
2089 No first char
2090 No need char
2091
2092 /^[[:punct:]]/DZ
2093 ------------------------------------------------------------------
2094 Bra
2095 ^
2096 [!-/:-@[-`{-~]
2097 Ket
2098 End
2099 ------------------------------------------------------------------
2100 Capturing subpattern count = 0
2101 Options: anchored
2102 No first char
2103 No need char
2104
2105 /^[[:space:]]/DZ
2106 ------------------------------------------------------------------
2107 Bra
2108 ^
2109 [\x09-\x0d ]
2110 Ket
2111 End
2112 ------------------------------------------------------------------
2113 Capturing subpattern count = 0
2114 Options: anchored
2115 No first char
2116 No need char
2117
2118 /^[[:upper:]]/DZ
2119 ------------------------------------------------------------------
2120 Bra
2121 ^
2122 [A-Z]
2123 Ket
2124 End
2125 ------------------------------------------------------------------
2126 Capturing subpattern count = 0
2127 Options: anchored
2128 No first char
2129 No need char
2130
2131 /^[[:xdigit:]]/DZ
2132 ------------------------------------------------------------------
2133 Bra
2134 ^
2135 [0-9A-Fa-f]
2136 Ket
2137 End
2138 ------------------------------------------------------------------
2139 Capturing subpattern count = 0
2140 Options: anchored
2141 No first char
2142 No need char
2143
2144 /^[[:word:]]/DZ
2145 ------------------------------------------------------------------
2146 Bra
2147 ^
2148 [0-9A-Z_a-z]
2149 Ket
2150 End
2151 ------------------------------------------------------------------
2152 Capturing subpattern count = 0
2153 Options: anchored
2154 No first char
2155 No need char
2156
2157 /^[[:^cntrl:]]/DZ
2158 ------------------------------------------------------------------
2159 Bra
2160 ^
2161 [ -~\x80-\xff] (neg)
2162 Ket
2163 End
2164 ------------------------------------------------------------------
2165 Capturing subpattern count = 0
2166 Options: anchored
2167 No first char
2168 No need char
2169
2170 /^[12[:^digit:]]/DZ
2171 ------------------------------------------------------------------
2172 Bra
2173 ^
2174 [\x00-/12:-\xff] (neg)
2175 Ket
2176 End
2177 ------------------------------------------------------------------
2178 Capturing subpattern count = 0
2179 Options: anchored
2180 No first char
2181 No need char
2182
2183 /^[[:^blank:]]/DZ
2184 ------------------------------------------------------------------
2185 Bra
2186 ^
2187 [\x00-\x08\x0a-\x1f!-\xff] (neg)
2188 Ket
2189 End
2190 ------------------------------------------------------------------
2191 Capturing subpattern count = 0
2192 Options: anchored
2193 No first char
2194 No need char
2195
2196 /[01[:alpha:]%]/DZ
2197 ------------------------------------------------------------------
2198 Bra
2199 [%01A-Za-z]
2200 Ket
2201 End
2202 ------------------------------------------------------------------
2203 Capturing subpattern count = 0
2204 No options
2205 No first char
2206 No need char
2207
2208 /[[.ch.]]/I
2209 Failed: POSIX collating elements are not supported at offset 1
2210
2211 /[[=ch=]]/I
2212 Failed: POSIX collating elements are not supported at offset 1
2213
2214 /[[:rhubarb:]]/I
2215 Failed: unknown POSIX class name at offset 3
2216
2217 /[[:upper:]]/Ii
2218 Capturing subpattern count = 0
2219 Options: caseless
2220 No first char
2221 No need char
2222 A
2223 0: A
2224 a
2225 0: a
2226
2227 /[[:lower:]]/Ii
2228 Capturing subpattern count = 0
2229 Options: caseless
2230 No first char
2231 No need char
2232 A
2233 0: A
2234 a
2235 0: a
2236
2237 /((?-i)[[:lower:]])[[:lower:]]/Ii
2238 Capturing subpattern count = 1
2239 Options: caseless
2240 No first char
2241 No need char
2242 ab
2243 0: ab
2244 1: a
2245 aB
2246 0: aB
2247 1: a
2248 *** Failers
2249 0: ai
2250 1: a
2251 Ab
2252 No match
2253 AB
2254 No match
2255
2256 /[\200-\110]/I
2257 Failed: range out of order in character class at offset 9
2258
2259 /^(?(0)f|b)oo/I
2260 Failed: invalid condition (?(0) at offset 6
2261
2262 /This one's here because of the large output vector needed/I
2263 Capturing subpattern count = 0
2264 No options
2265 First char = 'T'
2266 Need char = 'd'
2267
2268 /(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\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
2269 Capturing subpattern count = 271
2270 Max back reference = 270
2271 No options
2272 No first char
2273 No need char
2274 \O900 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 ABC ABC
2275 0: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 ABC ABC
2276 1: 1
2277 2: 2
2278 3: 3
2279 4: 4
2280 5: 5
2281 6: 6
2282 7: 7
2283 8: 8
2284 9: 9
2285 10: 10
2286 11: 11
2287 12: 12
2288 13: 13
2289 14: 14
2290 15: 15
2291 16: 16
2292 17: 17
2293 18: 18
2294 19: 19
2295 20: 20
2296 21: 21
2297 22: 22
2298 23: 23
2299 24: 24
2300 25: 25
2301 26: 26
2302 27: 27
2303 28: 28
2304 29: 29
2305 30: 30
2306 31: 31
2307 32: 32
2308 33: 33
2309 34: 34
2310 35: 35
2311 36: 36
2312 37: 37
2313 38: 38
2314 39: 39
2315 40: 40
2316 41: 41
2317 42: 42
2318 43: 43
2319 44: 44
2320 45: 45
2321 46: 46
2322 47: 47
2323 48: 48
2324 49: 49
2325 50: 50
2326 51: 51
2327 52: 52
2328 53: 53
2329 54: 54
2330 55: 55
2331 56: 56
2332 57: 57
2333 58: 58
2334 59: 59
2335 60: 60
2336 61: 61
2337 62: 62
2338 63: 63
2339 64: 64
2340 65: 65
2341 66: 66
2342 67: 67
2343 68: 68
2344 69: 69
2345 70: 70
2346 71: 71
2347 72: 72
2348 73: 73
2349 74: 74
2350 75: 75
2351 76: 76
2352 77: 77
2353 78: 78
2354 79: 79
2355 80: 80
2356 81: 81
2357 82: 82
2358 83: 83
2359 84: 84
2360 85: 85
2361 86: 86
2362 87: 87
2363 88: 88
2364 89: 89
2365 90: 90
2366 91: 91
2367 92: 92
2368 93: 93
2369 94: 94
2370 95: 95
2371 96: 96
2372 97: 97
2373 98: 98
2374 99: 99
2375 100: 100
2376 101: 101
2377 102: 102
2378 103: 103
2379 104: 104
2380 105: 105
2381 106: 106
2382 107: 107
2383 108: 108
2384 109: 109
2385 110: 110
2386 111: 111
2387 112: 112
2388 113: 113
2389 114: 114
2390 115: 115
2391 116: 116
2392 117: 117
2393 118: 118
2394 119: 119
2395 120: 120
2396 121: 121
2397 122: 122
2398 123: 123
2399 124: 124
2400 125: 125
2401 126: 126
2402 127: 127
2403 128: 128
2404 129: 129
2405 130: 130
2406 131: 131
2407 132: 132
2408 133: 133
2409 134: 134
2410 135: 135
2411 136: 136
2412 137: 137
2413 138: 138
2414 139: 139
2415 140: 140
2416 141: 141
2417 142: 142
2418 143: 143
2419 144: 144
2420 145: 145
2421 146: 146
2422 147: 147
2423 148: 148
2424 149: 149
2425 150: 150
2426 151: 151
2427 152: 152
2428 153: 153
2429 154: 154
2430 155: 155
2431 156: 156
2432 157: 157
2433 158: 158
2434 159: 159
2435 160: 160
2436 161: 161
2437 162: 162
2438 163: 163
2439 164: 164
2440 165: 165
2441 166: 166
2442 167: 167
2443 168: 168
2444 169: 169
2445 170: 170
2446 171: 171
2447 172: 172
2448 173: 173
2449 174: 174
2450 175: 175
2451 176: 176
2452 177: 177
2453 178: 178
2454 179: 179
2455 180: 180
2456 181: 181
2457 182: 182
2458 183: 183
2459 184: 184
2460 185: 185
2461 186: 186
2462 187: 187
2463 188: 188
2464 189: 189
2465 190: 190
2466 191: 191
2467 192: 192
2468 193: 193
2469 194: 194
2470 195: 195
2471 196: 196
2472 197: 197
2473 198: 198
2474 199: 199
2475 200: 200
2476 201: 201
2477 202: 202
2478 203: 203
2479 204: 204
2480 205: 205
2481 206: 206
2482 207: 207
2483 208: 208
2484 209: 209
2485 210: 210
2486 211: 211
2487 212: 212
2488 213: 213
2489 214: 214
2490 215: 215
2491 216: 216
2492 217: 217
2493 218: 218
2494 219: 219
2495 220: 220
2496 221: 221
2497 222: 222
2498 223: 223
2499 224: 224
2500 225: 225
2501 226: 226
2502 227: 227
2503 228: 228
2504 229: 229
2505 230: 230
2506 231: 231
2507 232: 232
2508 233: 233
2509 234: 234
2510 235: 235
2511 236: 236
2512 237: 237
2513 238: 238
2514 239: 239
2515 240: 240
2516 241: 241
2517 242: 242
2518 243: 243
2519 244: 244
2520 245: 245
2521 246: 246
2522 247: 247
2523 248: 248
2524 249: 249
2525 250: 250
2526 251: 251
2527 252: 252
2528 253: 253
2529 254: 254
2530 255: 255
2531 256: 256
2532 257: 257
2533 258: 258
2534 259: 259
2535 260: 260
2536 261: 261
2537 262: 262
2538 263: 263
2539 264: 264
2540 265: 265
2541 266: 266
2542 267: 267
2543 268: 268
2544 269: 269
2545 270: ABC
2546 271: ABC
2547
2548 /This one's here because Perl does this differently and PCRE can't at present/I
2549 Capturing subpattern count = 0
2550 No options
2551 First char = 'T'
2552 Need char = 't'
2553
2554 /(main(O)?)+/I
2555 Capturing subpattern count = 2
2556 No options
2557 First char = 'm'
2558 Need char = 'n'
2559 mainmain
2560 0: mainmain
2561 1: main
2562 mainOmain
2563 0: mainOmain
2564 1: main
2565 2: O
2566
2567 /These are all cases where Perl does it differently (nested captures)/I
2568 Capturing subpattern count = 1
2569 No options
2570 First char = 'T'
2571 Need char = 's'
2572
2573 /^(a(b)?)+$/I
2574 Capturing subpattern count = 2
2575 Options: anchored
2576 No first char
2577 No need char
2578 aba
2579 0: aba
2580 1: a
2581 2: b
2582
2583 /^(aa(bb)?)+$/I
2584 Capturing subpattern count = 2
2585 Options: anchored
2586 No first char
2587 No need char
2588 aabbaa
2589 0: aabbaa
2590 1: aa
2591 2: bb
2592
2593 /^(aa|aa(bb))+$/I
2594 Capturing subpattern count = 2
2595 Options: anchored
2596 No first char
2597 No need char
2598 aabbaa
2599 0: aabbaa
2600 1: aa
2601 2: bb
2602
2603 /^(aa(bb)??)+$/I
2604 Capturing subpattern count = 2
2605 Options: anchored
2606 No first char
2607 No need char
2608 aabbaa
2609 0: aabbaa
2610 1: aa
2611 2: bb
2612
2613 /^(?:aa(bb)?)+$/I
2614 Capturing subpattern count = 1
2615 Options: anchored
2616 No first char
2617 No need char
2618 aabbaa
2619 0: aabbaa
2620 1: bb
2621
2622 /^(aa(b(b))?)+$/I
2623 Capturing subpattern count = 3
2624 Options: anchored
2625 No first char
2626 No need char
2627 aabbaa
2628 0: aabbaa
2629 1: aa
2630 2: bb
2631 3: b
2632
2633 /^(?:aa(b(b))?)+$/I
2634 Capturing subpattern count = 2
2635 Options: anchored
2636 No first char
2637 No need char
2638 aabbaa
2639 0: aabbaa
2640 1: bb
2641 2: b
2642
2643 /^(?:aa(b(?:b))?)+$/I
2644 Capturing subpattern count = 1
2645 Options: anchored
2646 No first char
2647 No need char
2648 aabbaa
2649 0: aabbaa
2650 1: bb
2651
2652 /^(?:aa(bb(?:b))?)+$/I
2653 Capturing subpattern count = 1
2654 Options: anchored
2655 No first char
2656 No need char
2657 aabbbaa
2658 0: aabbbaa
2659 1: bbb
2660
2661 /^(?:aa(b(?:bb))?)+$/I
2662 Capturing subpattern count = 1
2663 Options: anchored
2664 No first char
2665 No need char
2666 aabbbaa
2667 0: aabbbaa
2668 1: bbb
2669
2670 /^(?:aa(?:b(b))?)+$/I
2671 Capturing subpattern count = 1
2672 Options: anchored
2673 No first char
2674 No need char
2675 aabbaa
2676 0: aabbaa
2677 1: b
2678
2679 /^(?:aa(?:b(bb))?)+$/I
2680 Capturing subpattern count = 1
2681 Options: anchored
2682 No first char
2683 No need char
2684 aabbbaa
2685 0: aabbbaa
2686 1: bb
2687
2688 /^(aa(b(bb))?)+$/I
2689 Capturing subpattern count = 3
2690 Options: anchored
2691 No first char
2692 No need char
2693 aabbbaa
2694 0: aabbbaa
2695 1: aa
2696 2: bbb
2697 3: bb
2698
2699 /^(aa(bb(bb))?)+$/I
2700 Capturing subpattern count = 3
2701 Options: anchored
2702 No first char
2703 No need char
2704 aabbbbaa
2705 0: aabbbbaa
2706 1: aa
2707 2: bbbb
2708 3: bb
2709
2710 /--------------------------------------------------------------------/I
2711 Capturing subpattern count = 0
2712 No options
2713 First char = '-'
2714 Need char = '-'
2715
2716 /#/IxDZ
2717 ------------------------------------------------------------------
2718 Bra
2719 Ket
2720 End
2721 ------------------------------------------------------------------
2722 Capturing subpattern count = 0
2723 Options: extended
2724 No first char
2725 No need char
2726
2727 /a#/IxDZ
2728 ------------------------------------------------------------------
2729 Bra
2730 a
2731 Ket
2732 End
2733 ------------------------------------------------------------------
2734 Capturing subpattern count = 0
2735 Options: extended
2736 First char = 'a'
2737 No need char
2738
2739 /[\s]/DZ
2740 ------------------------------------------------------------------
2741 Bra
2742 [\x09\x0a\x0c\x0d ]
2743 Ket
2744 End
2745 ------------------------------------------------------------------
2746 Capturing subpattern count = 0
2747 No options
2748 No first char
2749 No need char
2750
2751 /[\S]/DZ
2752 ------------------------------------------------------------------
2753 Bra
2754 [\x00-\x08\x0b\x0e-\x1f!-\xff] (neg)
2755 Ket
2756 End
2757 ------------------------------------------------------------------
2758 Capturing subpattern count = 0
2759 No options
2760 No first char
2761 No need char
2762
2763 /a(?i)b/DZ
2764 ------------------------------------------------------------------
2765 Bra
2766 a
2767 01 Opt
2768 NC b
2769 Ket
2770 End
2771 ------------------------------------------------------------------
2772 Capturing subpattern count = 0
2773 No options
2774 First char = 'a'
2775 Need char = 'b' (caseless)
2776 ab
2777 0: ab
2778 aB
2779 0: aB
2780 *** Failers
2781 No match
2782 AB
2783 No match
2784
2785 /(a(?i)b)/DZ
2786 ------------------------------------------------------------------
2787 Bra
2788 CBra 1
2789 a
2790 01 Opt
2791 NC b
2792 Ket
2793 00 Opt
2794 Ket
2795 End
2796 ------------------------------------------------------------------
2797 Capturing subpattern count = 1
2798 No options
2799 First char = 'a'
2800 Need char = 'b' (caseless)
2801 ab
2802 0: ab
2803 1: ab
2804 aB
2805 0: aB
2806 1: aB
2807 *** Failers
2808 No match
2809 AB
2810 No match
2811
2812 / (?i)abc/IxDZ
2813 ------------------------------------------------------------------
2814 Bra
2815 NC abc
2816 Ket
2817 End
2818 ------------------------------------------------------------------
2819 Capturing subpattern count = 0
2820 Options: caseless extended
2821 First char = 'a' (caseless)
2822 Need char = 'c' (caseless)
2823
2824 /#this is a comment
2825 (?i)abc/IxDZ
2826 ------------------------------------------------------------------
2827 Bra
2828 NC abc
2829 Ket
2830 End
2831 ------------------------------------------------------------------
2832 Capturing subpattern count = 0
2833 Options: caseless extended
2834 First char = 'a' (caseless)
2835 Need char = 'c' (caseless)
2836
2837 /123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/DZ
2838 ------------------------------------------------------------------
2839 Bra
2840 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
2841 Ket
2842 End
2843 ------------------------------------------------------------------
2844 Capturing subpattern count = 0
2845 No options
2846 First char = '1'
2847 Need char = '0'
2848
2849 /\Q123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/DZ
2850 ------------------------------------------------------------------
2851 Bra
2852 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
2853 Ket
2854 End
2855 ------------------------------------------------------------------
2856 Capturing subpattern count = 0
2857 No options
2858 First char = '1'
2859 Need char = '0'
2860
2861 /\Q\E/DZ
2862 ------------------------------------------------------------------
2863 Bra
2864 Ket
2865 End
2866 ------------------------------------------------------------------
2867 Capturing subpattern count = 0
2868 No options
2869 No first char
2870 No need char
2871 \
2872 0:
2873
2874 /\Q\Ex/DZ
2875 ------------------------------------------------------------------
2876 Bra
2877 x
2878 Ket
2879 End
2880 ------------------------------------------------------------------
2881 Capturing subpattern count = 0
2882 No options
2883 First char = 'x'
2884 No need char
2885
2886 / \Q\E/DZ
2887 ------------------------------------------------------------------
2888 Bra
2889
2890 Ket
2891 End
2892 ------------------------------------------------------------------
2893 Capturing subpattern count = 0
2894 No options
2895 First char = ' '
2896 No need char
2897
2898 /a\Q\E/DZ
2899 ------------------------------------------------------------------
2900 Bra
2901 a
2902 Ket
2903 End
2904 ------------------------------------------------------------------
2905 Capturing subpattern count = 0
2906 No options
2907 First char = 'a'
2908 No need char
2909 abc
2910 0: a
2911 bca
2912 0: a
2913 bac
2914 0: a
2915
2916 /a\Q\Eb/DZ
2917 ------------------------------------------------------------------
2918 Bra
2919 ab
2920 Ket
2921 End
2922 ------------------------------------------------------------------
2923 Capturing subpattern count = 0
2924 No options
2925 First char = 'a'
2926 Need char = 'b'
2927 abc
2928 0: ab
2929
2930 /\Q\Eabc/DZ
2931 ------------------------------------------------------------------
2932 Bra
2933 abc
2934 Ket
2935 End
2936 ------------------------------------------------------------------
2937 Capturing subpattern count = 0
2938 No options
2939 First char = 'a'
2940 Need char = 'c'
2941
2942 /x*+\w/DZ
2943 ------------------------------------------------------------------
2944 Bra
2945 x*+
2946 \w
2947 Ket
2948 End
2949 ------------------------------------------------------------------
2950 Capturing subpattern count = 0
2951 No options
2952 No first char
2953 No need char
2954 *** Failers
2955 0: F
2956 xxxxx
2957 No match
2958
2959 /x?+/DZ
2960 ------------------------------------------------------------------
2961 Bra
2962 x?+
2963 Ket
2964 End
2965 ------------------------------------------------------------------
2966 Capturing subpattern count = 0
2967 No options
2968 No first char
2969 No need char
2970
2971 /x++/DZ
2972 ------------------------------------------------------------------
2973 Bra
2974 x++
2975 Ket
2976 End
2977 ------------------------------------------------------------------
2978 Capturing subpattern count = 0
2979 No options
2980 First char = 'x'
2981 No need char
2982
2983 /x{1,3}+/DZ
2984 ------------------------------------------------------------------
2985 Bra
2986 Once
2987 x
2988 x{0,2}
2989 Ket
2990 Ket
2991 End
2992 ------------------------------------------------------------------
2993 Capturing subpattern count = 0
2994 No options
2995 First char = 'x'
2996 No need char
2997
2998 /(x)*+/DZ
2999 ------------------------------------------------------------------
3000 Bra
3001 Once
3002 Brazero
3003 CBra 1
3004 x
3005 KetRmax
3006 Ket
3007 Ket
3008 End
3009 ------------------------------------------------------------------
3010 Capturing subpattern count = 1
3011 No options
3012 No first char
3013 No need char
3014
3015 /^(\w++|\s++)*$/I
3016 Capturing subpattern count = 1
3017 Options: anchored
3018 No first char
3019 No need char
3020 now is the time for all good men to come to the aid of the party
3021 0: now is the time for all good men to come to the aid of the party
3022 1: party
3023 *** Failers
3024 No match
3025 this is not a line with only words and spaces!
3026 No match
3027
3028 /(\d++)(\w)/I
3029 Capturing subpattern count = 2
3030 No options
3031 No first char
3032 No need char
3033 12345a
3034 0: 12345a
3035 1: 12345
3036 2: a
3037 *** Failers
3038 No match
3039 12345+
3040 No match
3041
3042 /a++b/I
3043 Capturing subpattern count = 0
3044 No options
3045 First char = 'a'
3046 Need char = 'b'
3047 aaab
3048 0: aaab
3049
3050 /(a++b)/I
3051 Capturing subpattern count = 1
3052 No options
3053 First char = 'a'
3054 Need char = 'b'
3055 aaab
3056 0: aaab
3057 1: aaab
3058
3059 /(a++)b/I
3060 Capturing subpattern count = 1
3061 No options
3062 First char = 'a'
3063 Need char = 'b'
3064 aaab
3065 0: aaab
3066 1: aaa
3067
3068 /([^()]++|\([^()]*\))+/I
3069 Capturing subpattern count = 1
3070 No options
3071 No first char
3072 No need char
3073 ((abc(ade)ufh()()x
3074 0: abc(ade)ufh()()x
3075 1: x
3076
3077 /\(([^()]++|\([^()]+\))+\)/I
3078 Capturing subpattern count = 1
3079 No options
3080 First char = '('
3081 Need char = ')'
3082 (abc)
3083 0: (abc)
3084 1: abc
3085 (abc(def)xyz)
3086 0: (abc(def)xyz)
3087 1: xyz
3088 *** Failers
3089 No match
3090 ((()aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
3091 No match
3092
3093 /(abc){1,3}+/DZ
3094 ------------------------------------------------------------------
3095 Bra
3096 Once
3097 CBra 1
3098 abc
3099 Ket
3100 Brazero
3101 Bra
3102 CBra 1
3103 abc
3104 Ket
3105 Brazero
3106 CBra 1
3107 abc
3108 Ket
3109 Ket
3110 Ket
3111 Ket
3112 End
3113 ------------------------------------------------------------------
3114 Capturing subpattern count = 1
3115 No options
3116 First char = 'a'
3117 Need char = 'c'
3118
3119 /a+?+/I
3120 Failed: nothing to repeat at offset 3
3121
3122 /a{2,3}?+b/I
3123 Failed: nothing to repeat at offset 7
3124
3125 /(?U)a+?+/I
3126 Failed: nothing to repeat at offset 7
3127
3128 /a{2,3}?+b/IU
3129 Failed: nothing to repeat at offset 7
3130
3131 /x(?U)a++b/DZ
3132 ------------------------------------------------------------------
3133 Bra
3134 x
3135 a++
3136 b
3137 Ket
3138 End
3139 ------------------------------------------------------------------
3140 Capturing subpattern count = 0
3141 No options
3142 First char = 'x'
3143 Need char = 'b'
3144 xaaaab
3145 0: xaaaab
3146
3147 /(?U)xa++b/DZ
3148 ------------------------------------------------------------------
3149 Bra
3150 x
3151 a++
3152 b
3153 Ket
3154 End
3155 ------------------------------------------------------------------
3156 Capturing subpattern count = 0
3157 Options: ungreedy
3158 First char = 'x'
3159 Need char = 'b'
3160 xaaaab
3161 0: xaaaab
3162
3163 /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/DZ
3164 ------------------------------------------------------------------
3165 Bra
3166 ^
3167 CBra 1
3168 CBra 2
3169 a+
3170 Ket
3171 CBra 3
3172 [ab]+?
3173 Ket
3174 CBra 4
3175 [bc]+
3176 Ket
3177 CBra 5
3178 \w*
3179 Ket
3180 Ket
3181 Ket
3182 End
3183 ------------------------------------------------------------------
3184 Capturing subpattern count = 5
3185 Options: anchored
3186 No first char
3187 No need char
3188
3189 /^x(?U)a+b/DZ
3190 ------------------------------------------------------------------
3191 Bra
3192 ^
3193 x
3194 a++
3195 b
3196 Ket
3197 End
3198 ------------------------------------------------------------------
3199 Capturing subpattern count = 0
3200 Options: anchored
3201 No first char
3202 Need char = 'b'
3203
3204 /^x(?U)(a+)b/DZ
3205 ------------------------------------------------------------------
3206 Bra
3207 ^
3208 x
3209 CBra 1
3210 a+?
3211 Ket
3212 b
3213 Ket
3214 End
3215 ------------------------------------------------------------------
3216 Capturing subpattern count = 1
3217 Options: anchored
3218 No first char
3219 Need char = 'b'
3220
3221 /[.x.]/I
3222 Failed: POSIX collating elements are not supported at offset 0
3223
3224 /[=x=]/I
3225 Failed: POSIX collating elements are not supported at offset 0
3226
3227 /[:x:]/I
3228 Failed: POSIX named classes are supported only within a class at offset 0
3229
3230 /\l/I
3231 Failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 1
3232
3233 /\L/I
3234 Failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 1
3235
3236 /\N{name}/I
3237 Failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 1
3238
3239 /\u/I
3240 Failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 1
3241
3242 /\U/I
3243 Failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 1
3244
3245 /[/I
3246 Failed: missing terminating ] for character class at offset 1
3247
3248 /[a-/I
3249 Failed: missing terminating ] for character class at offset 3
3250
3251 /[[:space:]/I
3252 Failed: missing terminating ] for character class at offset 10
3253
3254 /[\s]/IDZ
3255 ------------------------------------------------------------------
3256 Bra
3257 [\x09\x0a\x0c\x0d ]
3258 Ket
3259 End
3260 ------------------------------------------------------------------
3261 Capturing subpattern count = 0
3262 No options
3263 No first char
3264 No need char
3265
3266 /[[:space:]]/IDZ
3267 ------------------------------------------------------------------
3268 Bra
3269 [\x09-\x0d ]
3270 Ket
3271 End
3272 ------------------------------------------------------------------
3273 Capturing subpattern count = 0
3274 No options
3275 No first char
3276 No need char
3277
3278 /[[:space:]abcde]/IDZ
3279 ------------------------------------------------------------------
3280 Bra
3281 [\x09-\x0d a-e]
3282 Ket
3283 End
3284 ------------------------------------------------------------------
3285 Capturing subpattern count = 0
3286 No options
3287 No first char
3288 No need char
3289
3290 /< (?: (?(R) \d++ | [^<>]*+) | (?R)) * >/Ix
3291 Capturing subpattern count = 0
3292 Options: extended
3293 First char = '<'
3294 Need char = '>'
3295 <>
3296 0: <>
3297 <abcd>
3298 0: <abcd>
3299 <abc <123> hij>
3300 0: <abc <123> hij>
3301 <abc <def> hij>
3302 0: <def>
3303 <abc<>def>
3304 0: <abc<>def>
3305 <abc<>
3306 0: <>
3307 *** Failers
3308 No match
3309 <abc
3310 No match
3311
3312 |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
3313 ------------------------------------------------------------------
3314 Bra
3315 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
3316 \b
3317 Ket
3318 End
3319 ------------------------------------------------------------------
3320 Capturing subpattern count = 0
3321 No options
3322 First char = '8'
3323 Need char = 'X'
3324
3325 |\$\<\.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
3326 ------------------------------------------------------------------
3327 Bra
3328 $<.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
3329 \b
3330 Ket
3331 End
3332 ------------------------------------------------------------------
3333 Capturing subpattern count = 0
3334 No options
3335 First char = '$'
3336 Need char = 'X'
3337
3338 /(.*)\d+\1/I
3339 Capturing subpattern count = 1
3340 Max back reference = 1
3341 No options
3342 No first char
3343 No need char
3344
3345 /(.*)\d+/I
3346 Capturing subpattern count = 1
3347 No options
3348 First char at start or follows newline
3349 No need char
3350
3351 /(.*)\d+\1/Is
3352 Capturing subpattern count = 1
3353 Max back reference = 1
3354 Options: dotall
3355 No first char
3356 No need char
3357
3358 /(.*)\d+/Is
3359 Capturing subpattern count = 1
3360 Options: anchored dotall
3361 No first char
3362 No need char
3363
3364 /(.*(xyz))\d+\2/I
3365 Capturing subpattern count = 2
3366 Max back reference = 2
3367 No options
3368 First char at start or follows newline
3369 Need char = 'z'
3370
3371 /((.*))\d+\1/I
3372 Capturing subpattern count = 2
3373 Max back reference = 1
3374 No options
3375 No first char
3376 No need char
3377 abc123bc
3378 0: bc123bc
3379 1: bc
3380 2: bc
3381
3382 /a[b]/I
3383 Capturing subpattern count = 0
3384 No options
3385 First char = 'a'
3386 Need char = 'b'
3387
3388 /(?=a).*/I
3389 Capturing subpattern count = 0
3390 No options
3391 First char = 'a'
3392 No need char
3393
3394 /(?=abc).xyz/IiI
3395 Capturing subpattern count = 0
3396 Options: caseless
3397 First char = 'a' (caseless)
3398 Need char = 'z' (caseless)
3399
3400 /(?=abc)(?i).xyz/I
3401 Capturing subpattern count = 0
3402 No options
3403 First char = 'a'
3404 Need char = 'z' (caseless)
3405
3406 /(?=a)(?=b)/I
3407 Capturing subpattern count = 0
3408 No options
3409 First char = 'a'
3410 No need char
3411
3412 /(?=.)a/I
3413 Capturing subpattern count = 0
3414 No options
3415 First char = 'a'
3416 No need char
3417
3418 /((?=abcda)a)/I
3419 Capturing subpattern count = 1
3420 No options
3421 First char = 'a'
3422 Need char = 'a'
3423
3424 /((?=abcda)ab)/I
3425 Capturing subpattern count = 1
3426 No options
3427 First char = 'a'
3428 Need char = 'b'
3429
3430 /()a/I
3431 Capturing subpattern count = 1
3432 No options
3433 No first char
3434 Need char = 'a'
3435
3436 /(?(1)ab|ac)(.)/I
3437 Capturing subpattern count = 1
3438 No options
3439 First char = 'a'
3440 No need char
3441
3442 /(?(1)abz|acz)(.)/I
3443 Capturing subpattern count = 1
3444 No options
3445 First char = 'a'
3446 Need char = 'z'
3447
3448 /(?(1)abz)(.)/I
3449 Capturing subpattern count = 1
3450 No options
3451 No first char
3452 No need char
3453
3454 /(?(1)abz)(1)23/I
3455 Capturing subpattern count = 1
3456 No options
3457 No first char
3458 Need char = '3'
3459
3460 /(a)+/I
3461 Capturing subpattern count = 1
3462 No options
3463 First char = 'a'
3464 No need char
3465
3466 /(a){2,3}/I
3467 Capturing subpattern count = 1
3468 No options
3469 First char = 'a'
3470 Need char = 'a'
3471
3472 /(a)*/I
3473 Capturing subpattern count = 1
3474 No options
3475 No first char
3476 No need char
3477
3478 /[a]/I
3479 Capturing subpattern count = 0
3480 No options
3481 First char = 'a'
3482 No need char
3483
3484 /[ab]/I
3485 Capturing subpattern count = 0
3486 No options
3487 No first char
3488 No need char
3489
3490 /[ab]/IS
3491 Capturing subpattern count = 0
3492 No options
3493 No first char
3494 No need char
3495 Subject length lower bound = 1
3496 Starting byte set: a b
3497
3498 /[^a]/I
3499 Capturing subpattern count = 0
3500 No options
3501 No first char
3502 No need char
3503
3504 /\d456/I
3505 Capturing subpattern count = 0
3506 No options
3507 No first char
3508 Need char = '6'
3509
3510 /\d456/IS
3511 Capturing subpattern count = 0
3512 No options
3513 No first char
3514 Need char = '6'
3515 Subject length lower bound = 4
3516 Starting byte set: 0 1 2 3 4 5 6 7 8 9
3517
3518 /a^b/I
3519 Capturing subpattern count = 0
3520 No options
3521 First char = 'a'
3522 Need char = 'b'
3523
3524 /^a/Im
3525 Capturing subpattern count = 0
3526 Options: multiline
3527 First char at start or follows newline
3528 Need char = 'a'
3529 abcde
3530 0: a
3531 xy\nabc
3532 0: a
3533 *** Failers
3534 No match
3535 xyabc
3536 No match
3537
3538 /c|abc/I
3539 Capturing subpattern count = 0
3540 No options
3541 No first char
3542 Need char = 'c'
3543
3544 /(?i)[ab]/IS
3545 Capturing subpattern count = 0
3546 Options: caseless
3547 No first char
3548 No need char
3549 Subject length lower bound = 1
3550 Starting byte set: A B a b
3551
3552 /[ab](?i)cd/IS
3553 Capturing subpattern count = 0
3554 No options
3555 No first char
3556 Need char = 'd' (caseless)
3557 Subject length lower bound = 3
3558 Starting byte set: a b
3559
3560 /abc(?C)def/I
3561 Capturing subpattern count = 0
3562 No options
3563 First char = 'a'
3564 Need char = 'f'
3565 abcdef
3566 --->abcdef
3567 0 ^ ^ d
3568 0: abcdef
3569 1234abcdef
3570 --->1234abcdef
3571 0 ^ ^ d
3572 0: abcdef
3573 *** Failers
3574 No match
3575 abcxyz
3576 No match
3577 abcxyzf
3578 --->abcxyzf
3579 0 ^ ^ d
3580 No match
3581
3582 /abc(?C)de(?C1)f/I
3583 Capturing subpattern count = 0
3584 No options
3585 First char = 'a'
3586 Need char = 'f'
3587 123abcdef
3588 --->123abcdef
3589 0 ^ ^ d
3590 1 ^ ^ f
3591 0: abcdef
3592
3593 /(?C1)\dabc(?C2)def/I
3594 Capturing subpattern count = 0
3595 No options
3596 No first char
3597 Need char = 'f'
3598 1234abcdef
3599 --->1234abcdef
3600 1 ^ \d
3601 1 ^ \d
3602 1 ^ \d
3603 1 ^ \d
3604 2 ^ ^ d
3605 0: 4abcdef
3606 *** Failers
3607 No match
3608 abcdef
3609 --->abcdef
3610 1 ^ \d
3611 1 ^ \d
3612 1 ^ \d
3613 1 ^ \d
3614 1 ^ \d
3615 1 ^ \d
3616 No match
3617
3618 /(?C255)ab/I
3619 Capturing subpattern count = 0
3620 No options
3621 First char = 'a'
3622 Need char = 'b'
3623
3624 /(?C256)ab/I
3625 Failed: number after (?C is > 255 at offset 6
3626
3627 /(?Cab)xx/I
3628 Failed: closing ) for (?C expected at offset 3
3629
3630 /(?C12vr)x/I
3631 Failed: closing ) for (?C expected at offset 5
3632
3633 /abc(?C)def/I
3634 Capturing subpattern count = 0
3635 No options
3636 First char = 'a'
3637 Need char = 'f'
3638 *** Failers
3639 No match
3640 \x83\x0\x61bcdef
3641 --->\x83\x00abcdef
3642 0 ^ ^ d
3643 0: abcdef
3644
3645 /(abc)(?C)de(?C1)f/I
3646 Capturing subpattern count = 1
3647 No options
3648 First char = 'a'
3649 Need char = 'f'
3650 123abcdef
3651 --->123abcdef
3652 0 ^ ^ d
3653 1 ^ ^ f
3654 0: abcdef
3655 1: abc
3656 123abcdef\C+
3657 Callout 0: last capture = 1
3658 0: <unset>
3659 1: abc
3660 --->123abcdef
3661 ^ ^ d
3662 Callout 1: last capture = 1
3663 0: <unset>
3664 1: abc
3665 --->123abcdef
3666 ^ ^ f
3667 0: abcdef
3668 1: abc
3669 123abcdef\C-
3670 0: abcdef
3671 1: abc
3672 *** Failers
3673 No match
3674 123abcdef\C!1
3675 --->123abcdef
3676 0 ^ ^ d
3677 1 ^ ^ f
3678 No match
3679
3680 /(?C0)(abc(?C1))*/I
3681 Capturing subpattern count = 1
3682 No options
3683 No first char
3684 No need char
3685 abcabcabc
3686 --->abcabcabc
3687 0 ^ (abc(?C1))*
3688 1 ^ ^ )
3689 1 ^ ^ )
3690 1 ^ ^ )
3691 0: abcabcabc
3692 1: abc
3693 abcabc\C!1!3
3694 --->abcabc
3695 0 ^ (abc(?C1))*
3696 1 ^ ^ )
3697 1 ^ ^ )
3698 0: abcabc
3699 1: abc
3700 *** Failers
3701 --->*** Failers
3702 0 ^ (abc(?C1))*
3703 0:
3704 abcabcabc\C!1!3
3705 --->abcabcabc
3706 0 ^ (abc(?C1))*
3707 1 ^ ^ )
3708 1 ^ ^ )
3709 1 ^ ^ )
3710 0: abcabc
3711 1: abc
3712
3713 /(\d{3}(?C))*/I
3714 Capturing subpattern count = 1
3715 No options
3716 No first char
3717 No need char
3718 123\C+
3719 Callout 0: last capture = -1
3720 0: <unset>
3721 --->123
3722 ^ ^ )
3723 0: 123
3724 1: 123
3725 123456\C+
3726 Callout 0: last capture = -1
3727 0: <unset>
3728 --->123456
3729 ^ ^ )
3730 Callout 0: last capture = 1
3731 0: <unset>
3732 1: 123
3733 --->123456
3734 ^ ^ )
3735 0: 123456
3736 1: 456
3737 123456789\C+
3738 Callout 0: last capture = -1
3739 0: <unset>
3740 --->123456789
3741 ^ ^ )
3742 Callout 0: last capture = 1
3743 0: <unset>
3744 1: 123
3745 --->123456789
3746 ^ ^ )
3747 Callout 0: last capture = 1
3748 0: <unset>
3749 1: 456
3750 --->123456789
3751 ^ ^ )
3752 0: 123456789
3753 1: 789
3754
3755 /((xyz)(?C)p|(?C1)xyzabc)/I
3756 Capturing subpattern count = 2
3757 No options
3758 First char = 'x'
3759 No need char
3760 xyzabc\C+
3761 Callout 0: last capture = 2
3762 0: <unset>
3763 1: <unset>
3764 2: xyz
3765 --->xyzabc
3766 ^ ^ p
3767 Callout 1: last capture = -1
3768 0: <unset>
3769 --->xyzabc
3770 ^ x
3771 0: xyzabc
3772 1: xyzabc
3773
3774 /(X)((xyz)(?C)p|(?C1)xyzabc)/I
3775 Capturing subpattern count = 3
3776 No options
3777 First char = 'X'
3778 Need char = 'x'
3779 Xxyzabc\C+
3780 Callout 0: last capture = 3
3781 0: <unset>
3782 1: X
3783 2: <unset>
3784 3: xyz
3785 --->Xxyzabc
3786 ^ ^ p
3787 Callout 1: last capture = 1
3788 0: <unset>
3789 1: X
3790 --->Xxyzabc
3791 ^^ x
3792 0: Xxyzabc
3793 1: X
3794 2: xyzabc
3795
3796 /(?=(abc))(?C)abcdef/I
3797 Capturing subpattern count = 1
3798 No options
3799 First char = 'a'
3800 Need char = 'f'
3801 abcdef\C+
3802 Callout 0: last capture = 1
3803 0: <unset>
3804 1: abc
3805 --->abcdef
3806 ^ a
3807 0: abcdef
3808 1: abc
3809
3810 /(?!(abc)(?C1)d)(?C2)abcxyz/I
3811 Capturing subpattern count = 1
3812 No options
3813 First char = 'a'
3814 Need char = 'z'
3815 abcxyz\C+
3816 Callout 1: last capture = 1
3817 0: <unset>
3818 1: abc
3819 --->abcxyz
3820 ^ ^ d
3821 Callout 2: last capture = -1
3822 0: <unset>
3823 --->abcxyz
3824 ^ a
3825 0: abcxyz
3826
3827 /(?<=(abc)(?C))xyz/I
3828 Capturing subpattern count = 1
3829 No options
3830 First char = 'x'
3831 Need char = 'z'
3832 abcxyz\C+
3833 Callout 0: last capture = 1
3834 0: <unset>
3835 1: abc
3836 --->abcxyz
3837 ^ )
3838 0: xyz
3839 1: abc
3840
3841 /a(b+)(c*)(?C1)/I
3842 Capturing subpattern count = 2
3843 No options
3844 First char = 'a'
3845 Need char = 'b'
3846 abbbbbccc\C*1
3847 --->abbbbbccc
3848 1 ^ ^
3849 Callout data = 1
3850 1 ^ ^
3851 Callout data = 1
3852 1 ^ ^
3853 Callout data = 1
3854 1 ^ ^
3855 Callout data = 1
3856 1 ^ ^
3857 Callout data = 1
3858 1 ^ ^
3859 Callout data = 1
3860 1 ^ ^
3861 Callout data = 1
3862 1 ^ ^
3863 Callout data = 1
3864 No match
3865
3866 /a(b+?)(c*?)(?C1)/I
3867 Capturing subpattern count = 2
3868 No options
3869 First char = 'a'
3870 Need char = 'b'
3871 abbbbbccc\C*1
3872 --->abbbbbccc
3873 1 ^ ^
3874 Callout data = 1
3875 1 ^ ^
3876 Callout data = 1
3877 1 ^ ^
3878 Callout data = 1
3879 1 ^ ^
3880 Callout data = 1
3881 1 ^ ^
3882 Callout data = 1
3883 1 ^ ^
3884 Callout data = 1
3885 1 ^ ^
3886 Callout data = 1
3887 1 ^ ^
3888 Callout data = 1
3889 No match
3890
3891 /(?C)abc/I
3892 Capturing subpattern count = 0
3893 No options
3894 First char = 'a'
3895 Need char = 'c'
3896
3897 /(?C)^abc/I
3898 Capturing subpattern count = 0
3899 Options: anchored
3900 No first char
3901 No need char
3902
3903 /(?C)a|b/IS
3904 Capturing subpattern count = 0
3905 No options
3906 No first char
3907 No need char
3908 Subject length lower bound = 1
3909 Starting byte set: a b
3910
3911 /(?R)/I
3912 Failed: recursive call could loop indefinitely at offset 3
3913
3914 /(a|(?R))/I
3915 Failed: recursive call could loop indefinitely at offset 6
3916
3917 /(ab|(bc|(de|(?R))))/I
3918 Failed: recursive call could loop indefinitely at offset 15
3919
3920 /x(ab|(bc|(de|(?R))))/I
3921 Capturing subpattern count = 3
3922 No options
3923 First char = 'x'
3924 No need char
3925 xab
3926 0: xab
3927 1: ab
3928 xbc
3929 0: xbc
3930 1: bc
3931 2: bc
3932 xde
3933 0: xde
3934 1: de
3935 2: de
3936 3: de
3937 xxab
3938 0: xxab
3939 1: xab
3940 2: xab
3941 3: xab
3942 xxxab
3943 0: xxxab
3944 1: xxab
3945 2: xxab
3946 3: xxab
3947 *** Failers
3948 No match
3949 xyab
3950 No match
3951
3952 /(ab|(bc|(de|(?1))))/I
3953 Failed: recursive call could loop indefinitely at offset 15
3954
3955 /x(ab|(bc|(de|(?1)x)x)x)/I
3956 Failed: recursive call could loop indefinitely at offset 16
3957
3958 /^([^()]|\((?1)*\))*$/I
3959 Capturing subpattern count = 1
3960 Options: anchored
3961 No first char
3962 No need char
3963 abc
3964 0: abc
3965 1: c
3966 a(b)c
3967 0: a(b)c
3968 1: c
3969 a(b(c))d
3970 0: a(b(c))d
3971 1: d
3972 *** Failers)
3973 No match
3974 a(b(c)d
3975 No match
3976
3977 /^>abc>([^()]|\((?1)*\))*<xyz<$/I
3978 Capturing subpattern count = 1
3979 Options: anchored
3980 No first char
3981 Need char = '<'
3982 >abc>123<xyz<
3983 0: >abc>123<xyz<
3984 1: 3
3985 >abc>1(2)3<xyz<
3986 0: >abc>1(2)3<xyz<
3987 1: 3
3988 >abc>(1(2)3)<xyz<
3989 0: >abc>(1(2)3)<xyz<
3990 1: (1(2)3)
3991
3992 /(a(?1)b)/DZ
3993 ------------------------------------------------------------------
3994 Bra
3995 CBra 1
3996 a
3997 Once
3998 Recurse
3999 Ket
4000 b
4001 Ket
4002 Ket
4003 End
4004 ------------------------------------------------------------------
4005 Capturing subpattern count = 1
4006 No options
4007 First char = 'a'
4008 Need char = 'b'
4009
4010 /(a(?1)+b)/DZ
4011 ------------------------------------------------------------------
4012 Bra
4013 CBra 1
4014 a
4015 Once
4016 Recurse
4017 KetRmax
4018 b
4019 Ket
4020 Ket
4021 End
4022 ------------------------------------------------------------------
4023 Capturing subpattern count = 1
4024 No options
4025 First char = 'a'
4026 Need char = 'b'
4027
4028 /^(\d+|\((?1)([+*-])(?1)\)|-(?1))$/I
4029 Capturing subpattern count = 2
4030 Options: anchored
4031 No first char
4032 No need char
4033 12
4034 0: 12
4035 1: 12
4036 (((2+2)*-3)-7)
4037 0: (((2+2)*-3)-7)
4038 1: (((2+2)*-3)-7)
4039 2: -
4040 -12
4041 0: -12
4042 1: -12
4043 *** Failers
4044 No match
4045 ((2+2)*-3)-7)
4046 No match
4047
4048 /^(x(y|(?1){2})z)/I
4049 Capturing subpattern count = 2
4050 Options: anchored
4051 No first char
4052 No need char
4053 xyz
4054 0: xyz
4055 1: xyz
4056 2: y
4057 xxyzxyzz
4058 0: xxyzxyzz
4059 1: xxyzxyzz
4060 2: xyzxyz
4061 *** Failers
4062 No match
4063 xxyzz
4064 No match
4065 xxyzxyzxyzz
4066 No match
4067
4068 /((< (?: (?(R) \d++ | [^<>]*+) | (?2)) * >))/Ix
4069 Capturing subpattern count = 2
4070 Options: extended
4071 First char = '<'
4072 Need char = '>'
4073 <>
4074 0: <>
4075 1: <>
4076 2: <>
4077 <abcd>
4078 0: <abcd>
4079 1: <abcd>
4080 2: <abcd>
4081 <abc <123> hij>
4082 0: <abc <123> hij>
4083 1: <abc <123> hij>
4084 2: <abc <123> hij>
4085 <abc <def> hij>
4086 0: <def>
4087 1: <def>
4088 2: <def>
4089 <abc<>def>
4090 0: <abc<>def>
4091 1: <abc<>def>
4092 2: <abc<>def>
4093 <abc<>
4094 0: <>
4095 1: <>
4096 2: <>
4097 *** Failers
4098 No match
4099 <abc
4100 No match
4101
4102 /(?1)/I
4103 Failed: reference to non-existent subpattern at offset 3
4104
4105 /((?2)(abc)/I
4106 Failed: missing ) at offset 10
4107
4108 /^(abc)def(?1)/I
4109 Capturing subpattern count = 1
4110 Options: anchored
4111 No first char
4112 No need char
4113 abcdefabc
4114 0: abcdefabc
4115 1: abc
4116
4117 /^(a|b|c)=(?1)+/I
4118 Capturing subpattern count = 1
4119 Options: anchored
4120 No first char
4121 No need char
4122 a=a
4123 0: a=a
4124 1: a
4125 a=b
4126 0: a=b
4127 1: a
4128 a=bc
4129 0: a=bc
4130 1: a
4131
4132 /^(a|b|c)=((?1))+/I
4133 Capturing subpattern count = 2
4134 Options: anchored
4135 No first char
4136 No need char
4137 a=a
4138 0: a=a
4139 1: a
4140 2: a
4141 a=b
4142 0: a=b
4143 1: a
4144 2: b
4145 a=bc
4146 0: a=bc
4147 1: a
4148 2: c
4149
4150 /a(?P<name1>b|c)d(?P<longername2>e)/DZ
4151 ------------------------------------------------------------------
4152 Bra
4153 a
4154 CBra 1
4155 b
4156 Alt
4157 c
4158 Ket
4159 d
4160 CBra 2
4161 e
4162 Ket
4163 Ket
4164 End
4165 ------------------------------------------------------------------
4166 Capturing subpattern count = 2
4167 Named capturing subpatterns:
4168 longername2 2
4169 name1 1
4170 No options
4171 First char = 'a'
4172 Need char = 'e'
4173 abde
4174 0: abde
4175 1: b
4176 2: e
4177 acde
4178 0: acde
4179 1: c
4180 2: e
4181
4182 /(?:a(?P<c>c(?P<d>d)))(?P<a>a)/DZ
4183 ------------------------------------------------------------------
4184 Bra
4185 Bra
4186 a
4187 CBra 1
4188 c
4189 CBra 2
4190 d
4191 Ket
4192 Ket
4193 Ket
4194 CBra 3
4195 a
4196 Ket
4197 Ket
4198 End
4199 ------------------------------------------------------------------
4200 Capturing subpattern count = 3
4201 Named capturing subpatterns:
4202 a 3
4203 c 1
4204 d 2
4205 No options
4206 First char = 'a'
4207 Need char = 'a'
4208
4209 /(?P<a>a)...(?P=a)bbb(?P>a)d/DZ
4210 ------------------------------------------------------------------
4211 Bra
4212 CBra 1
4213 a
4214 Ket
4215 Any
4216 Any
4217 Any
4218 \1
4219 bbb
4220 Once
4221 Recurse
4222 Ket
4223 d
4224 Ket
4225 End
4226 ------------------------------------------------------------------
4227 Capturing subpattern count = 1
4228 Max back reference = 1
4229 Named capturing subpatterns:
4230 a 1
4231 No options
4232 First char = 'a'
4233 Need char = 'd'
4234
4235 /^\W*(?:(?P<one>(?P<two>.)\W*(?P>one)\W*(?P=two)|)|(?P<three>(?P<four>.)\W*(?P>three)\W*(?P=four)|\W*.\W*))\W*$/Ii
4236 Capturing subpattern count = 4
4237 Max back reference = 4
4238 Named capturing subpatterns:
4239 four 4
4240 one 1
4241 three 3
4242 two 2
4243 Options: anchored caseless
4244 No first char
4245 No need char
4246 1221
4247 0: 1221
4248 1: 1221
4249 2: 1
4250 Satan, oscillate my metallic sonatas!
4251 0: Satan, oscillate my metallic sonatas!
4252 1: <unset>
4253 2: <unset>
4254 3: Satan, oscillate my metallic sonatas
4255 4: S
4256 A man, a plan, a canal: Panama!
4257 0: A man, a plan, a canal: Panama!
4258 1: <unset>
4259 2: <unset>
4260 3: A man, a plan, a canal: Panama
4261 4: A
4262 Able was I ere I saw Elba.
4263 0: Able was I ere I saw Elba.
4264 1: <unset>
4265 2: <unset>
4266 3: Able was I ere I saw Elba
4267 4: A
4268 *** Failers
4269 No match
4270 The quick brown fox
4271 No match
4272
4273 /((?(R)a|b))\1(?1)?/I
4274 Capturing subpattern count = 1
4275 Max back reference = 1
4276 No options
4277 No first char
4278 No need char
4279 bb
4280 0: bb
4281 1: b
4282 bbaa
4283 0: bba
4284 1: b
4285
4286 /(.*)a/Is
4287 Capturing subpattern count = 1
4288 Options: anchored dotall
4289 No first char
4290 Need char = 'a'
4291
4292 /(.*)a\1/Is
4293 Capturing subpattern count = 1
4294 Max back reference = 1
4295 Options: dotall
4296 No first char
4297 Need char = 'a'
4298
4299 /(.*)a(b)\2/Is
4300 Capturing subpattern count = 2
4301 Max back reference = 2
4302 Options: anchored dotall
4303 No first char
4304 Need char = 'b'
4305
4306 /((.*)a|(.*)b)z/Is
4307 Capturing subpattern count = 3
4308 Options: anchored dotall
4309 No first char
4310 Need char = 'z'
4311
4312 /((.*)a|(.*)b)z\1/Is
4313 Capturing subpattern count = 3
4314 Max back reference = 1
4315 Options: dotall
4316 No first char
4317 Need char = 'z'
4318
4319 /((.*)a|(.*)b)z\2/Is
4320 Capturing subpattern count = 3
4321 Max back reference = 2
4322 Options: dotall
4323 No first char
4324 Need char = 'z'
4325
4326 /((.*)a|(.*)b)z\3/Is
4327 Capturing subpattern count = 3
4328 Max back reference = 3
4329 Options: dotall
4330 No first char
4331 Need char = 'z'
4332
4333 /((.*)a|^(.*)b)z\3/Is
4334 Capturing subpattern count = 3
4335 Max back reference = 3
4336 Options: anchored dotall
4337 No first char
4338 Need char = 'z'
4339
4340 /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a/Is
4341 Capturing subpattern count = 31
4342 Options: anchored dotall
4343 No first char
4344 No need char
4345
4346 /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\31/Is
4347 Capturing subpattern count = 31
4348 Max back reference = 31
4349 Options: dotall
4350 No first char
4351 No need char
4352
4353 /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\32/Is
4354 Capturing subpattern count = 32
4355 Max back reference = 32
4356 Options: dotall
4357 No first char
4358 No need char
4359
4360 /(a)(bc)/INDZ
4361 ------------------------------------------------------------------
4362 Bra
4363 Bra
4364 a
4365 Ket
4366 Bra
4367 bc
4368 Ket
4369 Ket
4370 End
4371 ------------------------------------------------------------------
4372 Capturing subpattern count = 0
4373 Options: no_auto_capture
4374 First char = 'a'
4375 Need char = 'c'
4376 abc
4377 0: abc
4378
4379 /(?P<one>a)(bc)/INDZ
4380 ------------------------------------------------------------------
4381 Bra
4382 CBra 1
4383 a
4384 Ket
4385 Bra
4386 bc
4387 Ket
4388 Ket
4389 End
4390 ------------------------------------------------------------------
4391 Capturing subpattern count = 1
4392 Named capturing subpatterns:
4393 one 1
4394 Options: no_auto_capture
4395 First char = 'a'
4396 Need char = 'c'
4397 abc
4398 0: abc
4399 1: a
4400
4401 /(a)(?P<named>bc)/INDZ
4402 ------------------------------------------------------------------
4403 Bra
4404 Bra
4405 a
4406 Ket
4407 CBra 1
4408 bc
4409 Ket
4410 Ket
4411 End
4412 ------------------------------------------------------------------
4413 Capturing subpattern count = 1
4414 Named capturing subpatterns:
4415 named 1
4416 Options: no_auto_capture
4417 First char = 'a'
4418 Need char = 'c'
4419
4420 /(a+)*zz/I
4421 Capturing subpattern count = 1
4422 No options
4423 No first char
4424 Need char = 'z'
4425 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazzbbbbbb\M
4426 Minimum match() limit = 8
4427 Minimum match() recursion limit = 6
4428 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazz
4429 1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
4430 aaaaaaaaaaaaaz\M
4431 Minimum match() limit = 32768
4432 Minimum match() recursion limit = 42
4433 No match
4434
4435 /(aaa(?C1)bbb|ab)/I
4436 Capturing subpattern count = 1
4437 No options
4438 First char = 'a'
4439 Need char = 'b'
4440 aaabbb
4441 --->aaabbb
4442 1 ^ ^ b
4443 0: aaabbb
4444 1: aaabbb
4445 aaabbb\C*0
4446 --->aaabbb
4447 1 ^ ^ b
4448 0: aaabbb
4449 1: aaabbb
4450 aaabbb\C*1
4451 --->aaabbb
4452 1 ^ ^ b
4453 Callout data = 1
4454 0: ab
4455 1: ab
4456 aaabbb\C*-1
4457 --->aaabbb
4458 1 ^ ^ b
4459 Callout data = -1
4460 No match
4461
4462 /ab(?P<one>cd)ef(?P<two>gh)/I
4463 Capturing subpattern count = 2
4464 Named capturing subpatterns:
4465 one 1
4466 two 2
4467 No options
4468 First char = 'a'
4469 Need char = 'h'
4470 abcdefgh
4471 0: abcdefgh
4472 1: cd
4473 2: gh
4474 abcdefgh\C1\Gtwo
4475 0: abcdefgh
4476 1: cd
4477 2: gh
4478 1C cd (2)
4479 G gh (2) two
4480 abcdefgh\Cone\Ctwo
4481 0: abcdefgh
4482 1: cd
4483 2: gh
4484 C cd (2) one
4485 C gh (2) two
4486 abcdefgh\Cthree
4487 no parentheses with name "three"
4488 0: abcdefgh
4489 1: cd
4490 2: gh
4491 copy substring three failed -7
4492
4493 /(?P<Tes>)(?P<Test>)/DZ
4494 ------------------------------------------------------------------
4495 Bra
4496 CBra 1
4497 Ket
4498 CBra 2
4499 Ket
4500 Ket
4501 End
4502 ------------------------------------------------------------------
4503 Capturing subpattern count = 2
4504 Named capturing subpatterns:
4505 Tes 1
4506 Test 2
4507 No options
4508 No first char
4509 No need char
4510
4511 /(?P<Test>)(?P<Tes>)/DZ
4512 ------------------------------------------------------------------
4513 Bra
4514 CBra 1
4515 Ket
4516 CBra 2
4517 Ket
4518 Ket
4519 End
4520 ------------------------------------------------------------------
4521 Capturing subpattern count = 2
4522 Named capturing subpatterns:
4523 Tes 2
4524 Test 1
4525 No options
4526 No first char
4527 No need char
4528
4529 /(?P<Z>zz)(?P<A>aa)/I
4530 Capturing subpattern count = 2
4531 Named capturing subpatterns:
4532 A 2
4533 Z 1
4534 No options
4535 First char = 'z'
4536 Need char = 'a'
4537 zzaa\CZ
4538 0: zzaa
4539 1: zz
4540 2: aa
4541 C zz (2) Z
4542 zzaa\CA
4543 0: zzaa
4544 1: zz
4545 2: aa
4546 C aa (2) A
4547
4548 /(?P<x>eks)(?P<x>eccs)/I
4549 Failed: two named subpatterns have the same name at offset 15
4550
4551 /(?P<abc>abc(?P<def>def)(?P<abc>xyz))/I
4552 Failed: two named subpatterns have the same name at offset 30
4553
4554 "\[((?P<elem>\d+)(,(?P>elem))*)\]"I
4555 Capturing subpattern count = 3
4556 Named capturing subpatterns:
4557 elem 2
4558 No options
4559 First char = '['
4560 Need char = ']'
4561 [10,20,30,5,5,4,4,2,43,23,4234]
4562 0: [10,20,30,5,5,4,4,2,43,23,4234]
4563 1: 10,20,30,5,5,4,4,2,43,23,4234
4564 2: 10
4565 3: ,4234
4566 *** Failers
4567 No match
4568 []
4569 No match
4570
4571 "\[((?P<elem>\d+)(,(?P>elem))*)?\]"I
4572 Capturing subpattern count = 3
4573 Named capturing subpatterns:
4574 elem 2
4575 No options
4576 First char = '['
4577 Need char = ']'
4578 [10,20,30,5,5,4,4,2,43,23,4234]
4579 0: [10,20,30,5,5,4,4,2,43,23,4234]
4580 1: 10,20,30,5,5,4,4,2,43,23,4234
4581 2: 10
4582 3: ,4234
4583 []
4584 0: []
4585
4586 /(a(b(?2)c))?/DZ
4587 ------------------------------------------------------------------
4588 Bra
4589 Brazero
4590 CBra 1
4591 a
4592 CBra 2
4593 b
4594 Once
4595 Recurse
4596 Ket
4597 c
4598 Ket
4599 Ket
4600 Ket
4601 End
4602 ------------------------------------------------------------------
4603 Capturing subpattern count = 2
4604 No options
4605 No first char
4606 No need char
4607
4608 /(a(b(?2)c))*/DZ
4609 ------------------------------------------------------------------
4610 Bra
4611 Brazero
4612 CBra 1
4613 a
4614 CBra 2
4615 b
4616 Once
4617 Recurse
4618 Ket
4619 c
4620 Ket
4621 KetRmax
4622 Ket
4623 End
4624 ------------------------------------------------------------------
4625 Capturing subpattern count = 2
4626 No options
4627 No first char
4628 No need char
4629
4630 /(a(b(?2)c)){0,2}/DZ
4631 ------------------------------------------------------------------
4632 Bra
4633 Brazero
4634 Bra
4635 CBra 1
4636 a
4637 CBra 2
4638 b
4639 Once
4640 Recurse
4641 Ket
4642 c
4643 Ket
4644 Ket
4645 Brazero
4646 CBra 1
4647 a
4648 CBra 2
4649 b
4650 Once
4651 Recurse
4652 Ket
4653 c
4654 Ket
4655 Ket
4656 Ket
4657 Ket
4658 End
4659 ------------------------------------------------------------------
4660 Capturing subpattern count = 2
4661 No options
4662 No first char
4663 No need char
4664
4665 /[ab]{1}+/DZ
4666 ------------------------------------------------------------------
4667 Bra
4668 Once
4669 [ab]{1,1}
4670 Ket
4671 Ket
4672 End
4673 ------------------------------------------------------------------
4674 Capturing subpattern count = 0
4675 No options
4676 No first char
4677 No need char
4678
4679 /((w\/|-|with)*(free|immediate)*.*?shipping\s*[!.-]*)/Ii
4680 Capturing subpattern count = 3
4681 Options: caseless
4682 No first char
4683 Need char = 'g' (caseless)
4684 Baby Bjorn Active Carrier - With free SHIPPING!!
4685 0: Baby Bjorn Active Carrier - With free SHIPPING!!
4686 1: Baby Bjorn Active Carrier - With free SHIPPING!!
4687
4688 /((w\/|-|with)*(free|immediate)*.*?shipping\s*[!.-]*)/IiS
4689 Capturing subpattern count = 3
4690 Options: caseless
4691 No first char
4692 Need char = 'g' (caseless)
4693 Subject length lower bound = 8
4694 No set of starting bytes
4695 Baby Bjorn Active Carrier - With free SHIPPING!!
4696 0: Baby Bjorn Active Carrier - With free SHIPPING!!
4697 1: Baby Bjorn Active Carrier - With free SHIPPING!!
4698
4699 /a*.*b/ISDZ
4700 ------------------------------------------------------------------
4701 Bra
4702 a*
4703 Any*
4704 b
4705 Ket
4706 End
4707 ------------------------------------------------------------------
4708 Capturing subpattern count = 0
4709 No options
4710 No first char
4711 Need char = 'b'
4712 Subject length lower bound = 1
4713 No set of starting bytes
4714
4715 /(a|b)*.?c/ISDZ
4716 ------------------------------------------------------------------
4717 Bra
4718 Brazero
4719 CBra 1
4720 a
4721 Alt
4722 b
4723 KetRmax
4724 Any?
4725 c
4726 Ket
4727 End
4728 ------------------------------------------------------------------
4729 Capturing subpattern count = 1
4730 No options
4731 No first char
4732 Need char = 'c'
4733 Subject length lower bound = 1
4734 No set of starting bytes
4735
4736 /abc(?C255)de(?C)f/DZ
4737 ------------------------------------------------------------------
4738 Bra
4739 abc
4740 Callout 255 10 1
4741 de
4742 Callout 0 16 1
4743 f
4744 Ket
4745 End
4746 ------------------------------------------------------------------
4747 Capturing subpattern count = 0
4748 No options
4749 First char = 'a'
4750 Need char = 'f'
4751
4752 /abcde/ICDZ
4753 ------------------------------------------------------------------
4754 Bra
4755 Callout 255 0 1
4756 a
4757 Callout 255 1 1
4758 b
4759 Callout 255 2 1
4760 c
4761 Callout 255 3 1
4762 d
4763 Callout 255 4 1
4764 e
4765 Callout 255 5 0
4766 Ket
4767 End
4768 ------------------------------------------------------------------
4769 Capturing subpattern count = 0
4770 Options:
4771 First char = 'a'
4772 Need char = 'e'
4773 abcde
4774 --->abcde
4775 +0 ^ a
4776 +1 ^^ b
4777 +2 ^ ^ c
4778 +3 ^ ^ d
4779 +4 ^ ^ e
4780 +5 ^ ^
4781 0: abcde
4782 abcdfe
4783 --->abcdfe
4784 +0 ^ a
4785 +1 ^^ b
4786 +2 ^ ^ c
4787 +3 ^ ^ d
4788 +4 ^ ^ e
4789 No match
4790
4791 /a*b/ICDZ
4792 ------------------------------------------------------------------
4793 Bra
4794 Callout 255 0 2
4795 a*+
4796 Callout 255 2 1
4797 b
4798 Callout 255 3 0
4799 Ket
4800 End
4801 ------------------------------------------------------------------
4802 Capturing subpattern count = 0
4803 Options:
4804 No first char
4805 Need char = 'b'
4806 ab
4807 --->ab
4808 +0 ^ a*
4809 +2 ^^ b
4810 +3 ^ ^
4811 0: ab
4812 aaaab
4813 --->aaaab
4814 +0 ^ a*
4815 +2 ^ ^ b
4816 +3 ^ ^
4817 0: aaaab
4818 aaaacb
4819 --->aaaacb
4820 +0 ^ a*
4821 +2 ^ ^ b
4822 +0 ^ a*
4823 +2 ^ ^ b
4824 +0 ^ a*
4825 +2 ^ ^ b
4826 +0 ^ a*
4827 +2 ^^ b
4828 +0 ^ a*
4829 +2 ^ b
4830 +0 ^ a*
4831 +2 ^ b
4832 +3 ^^
4833 0: b
4834
4835 /a+b/ICDZ
4836 ------------------------------------------------------------------
4837 Bra
4838 Callout 255 0 2
4839 a++
4840 Callout 255 2 1
4841 b
4842 Callout 255 3 0
4843 Ket
4844 End
4845 ------------------------------------------------------------------
4846 Capturing subpattern count = 0
4847 Options:
4848 First char = 'a'
4849 Need char = 'b'
4850 ab
4851 --->ab
4852 +0 ^ a+
4853 +2 ^^ b
4854 +3 ^ ^
4855 0: ab
4856 aaaab
4857 --->aaaab
4858 +0 ^ a+
4859 +2 ^ ^ b
4860 +3 ^ ^
4861 0: aaaab
4862 aaaacb
4863 --->aaaacb
4864 +0 ^ a+
4865 +2 ^ ^ b
4866 +0 ^ a+
4867 +2 ^ ^ b
4868 +0 ^ a+
4869 +2 ^ ^ b
4870 +0 ^ a+
4871 +2 ^^ b
4872 No match
4873
4874 /(abc|def)x/ICDZ
4875 ------------------------------------------------------------------
4876 Bra
4877 Callout 255 0 9
4878 CBra 1
4879 Callout 255 1 1
4880 a
4881 Callout 255 2 1
4882 b
4883 Callout 255 3 1
4884 c
4885 Callout 255 4 0
4886 Alt
4887 Callout 255 5 1
4888 d
4889 Callout 255 6 1
4890 e
4891 Callout 255 7 1
4892 f
4893 Callout 255 8 0
4894 Ket
4895 Callout 255 9 1
4896 x
4897 Callout 255 10 0
4898 Ket
4899 End
4900 ------------------------------------------------------------------
4901 Capturing subpattern count = 1
4902 Options:
4903 No first char
4904 Need char = 'x'
4905 abcx
4906 --->abcx
4907 +0 ^ (abc|def)
4908 +1 ^ a
4909 +2 ^^ b
4910 +3 ^ ^ c
4911 +4 ^ ^ |
4912 +9 ^ ^ x
4913 +10 ^ ^
4914 0: abcx
4915 1: abc
4916 defx
4917 --->defx
4918 +0 ^ (abc|def)
4919 +1 ^ a
4920 +5 ^ d
4921 +6 ^^ e
4922 +7 ^ ^ f
4923 +8 ^ ^ )
4924 +9 ^ ^ x
4925 +10 ^ ^
4926 0: defx
4927 1: def
4928 abcdefzx
4929 --->abcdefzx
4930 +0 ^ (abc|def)
4931 +1 ^ a
4932 +2 ^^ b
4933 +3 ^ ^ c
4934 +4 ^ ^ |
4935 +9 ^ ^ x
4936 +5 ^ d
4937 +0 ^ (abc|def)
4938 +1 ^ a
4939 +5 ^ d
4940 +0 ^ (abc|def)
4941 +1 ^ a
4942 +5 ^ d
4943 +0 ^ (abc|def)
4944 +1 ^ a
4945 +5 ^ d
4946 +6 ^^ e
4947 +7 ^ ^ f
4948 +8 ^ ^ )
4949 +9 ^ ^ x
4950 +0 ^ (abc|def)
4951 +1 ^ a
4952 +5 ^ d
4953 +0 ^ (abc|def)
4954 +1 ^ a
4955 +5 ^ d
4956 +0 ^ (abc|def)
4957 +1 ^ a
4958 +5 ^ d
4959 +0 ^ (abc|def)
4960 +1 ^ a
4961 +5 ^ d
4962 No match
4963
4964 /(ab|cd){3,4}/IC
4965 Capturing subpattern count = 1
4966 Options:
4967 No first char
4968 No need char
4969 ababab
4970 --->ababab
4971 +0 ^ (ab|cd){3,4}
4972 +1 ^ a
4973 +2 ^^ b
4974 +3 ^ ^ |
4975 +1 ^ ^ a
4976 +2 ^ ^ b
4977 +3 ^ ^ |
4978 +1 ^ ^ a
4979 +2 ^ ^ b
4980 +3 ^ ^ |
4981 +1 ^ ^ a
4982 +4 ^ ^ c
4983 +12 ^ ^
4984 0: ababab
4985 1: ab
4986 abcdabcd
4987 --->abcdabcd
4988 +0 ^ (ab|cd){3,4}
4989 +1 ^ a
4990 +2 ^^ b
4991 +3 ^ ^ |
4992 +1 ^ ^ a
4993 +4 ^ ^ c
4994 +5 ^ ^ d
4995 +6 ^ ^ )
4996 +1 ^ ^ a
4997 +2 ^ ^ b
4998 +3 ^ ^ |
4999 +1 ^ ^ a
5000 +4 ^ ^ c
5001 +5 ^ ^ d
5002 +6 ^ ^ )
5003 +12 ^ ^
5004 0: abcdabcd
5005 1: cd
5006 abcdcdcdcdcd
5007 --->abcdcdcdcdcd
5008 +0 ^ (ab|cd){3,4}
5009 +1 ^ a
5010 +2 ^^ b
5011 +3 ^ ^ |
5012 +1 ^ ^ a
5013 +4 ^ ^ c
5014 +5 ^ ^ d
5015 +6 ^ ^ )
5016 +1 ^ ^ a
5017 +4 ^ ^ c
5018 +5 ^ ^ d
5019 +6 ^ ^ )
5020 +1 ^ ^ a
5021 +4 ^ ^ c
5022 +5 ^ ^ d
5023 +6 ^ ^ )
5024 +12 ^ ^
5025 0: abcdcdcd
5026 1: cd
5027
5028 /([ab]{,4}c|xy)/ICDZ
5029 ------------------------------------------------------------------
5030 Bra
5031 Callout 255 0 14
5032 CBra 1
5033 Callout 255 1 4
5034 [ab]
5035 Callout 255 5 1
5036 {
5037 Callout 255 6 1
5038 ,
5039 Callout 255 7 1
5040 4
5041 Callout 255 8 1
5042 }
5043 Callout 255 9 1
5044 c
5045 Callout 255 10 0
5046 Alt
5047 Callout 255 11 1
5048 x
5049 Callout 255 12 1
5050 y
5051 Callout 255 13 0
5052 Ket
5053 Callout 255 14 0
5054 Ket
5055 End
5056 ------------------------------------------------------------------
5057 Capturing subpattern count = 1
5058 Options:
5059 No first char
5060 No need char
5061 Note: that { does NOT introduce a quantifier
5062 --->Note: that { does NOT introduce a quantifier
5063 +0 ^ ([ab]{,4}c|xy)
5064 +1 ^ [ab]
5065 +11 ^ x
5066 +0 ^ ([ab]{,4}c|xy)
5067 +1 ^ [ab]
5068 +11 ^ x
5069 +0 ^ ([ab]{,4}c|xy)
5070 +1 ^ [ab]
5071 +11 ^ x
5072 +0 ^ ([ab]{,4}c|xy)
5073 +1 ^ [ab]
5074 +11 ^ x
5075 +0 ^ ([ab]{,4}c|xy)
5076 +1 ^ [ab]
5077 +11 ^ x
5078 +0 ^ ([ab]{,4}c|xy)
5079 +1 ^ [ab]
5080 +11 ^ x
5081 +0 ^ ([ab]{,4}c|xy)
5082 +1 ^ [ab]
5083 +11 ^ x
5084 +0 ^ ([ab]{,4}c|xy)
5085 +1 ^ [ab]
5086 +11 ^ x
5087 +0 ^ ([ab]{,4}c|xy)
5088 +1 ^ [ab]
5089 +5 ^^ {
5090 +11 ^ x
5091 +0 ^ ([ab]{,4}c|xy)
5092 +1 ^ [ab]
5093 +11 ^ x
5094 +0 ^ ([ab]{,4}c|xy)
5095 +1 ^ [ab]
5096 +11 ^ x
5097 +0 ^ ([ab]{,4}c|xy)
5098 +1 ^ [ab]
5099 +11 ^ x
5100 +0 ^ ([ab]{,4}c|xy)
5101 +1 ^ [ab]
5102 +11 ^ x
5103 +0 ^ ([ab]{,4}c|xy)
5104 +1 ^ [ab]
5105 +11 ^ x
5106 +0 ^ ([ab]{,4}c|xy)
5107 +1 ^ [ab]
5108 +11 ^ x
5109 +0 ^ ([ab]{,4}c|xy)
5110 +1 ^ [ab]
5111 +11 ^ x
5112 +0 ^ ([ab]{,4}c|xy)
5113 +1 ^ [ab]
5114 +11 ^ x
5115 +0 ^ ([ab]{,4}c|xy)
5116 +1 ^ [ab]
5117 +11 ^ x
5118 +0 ^ ([ab]{,4}c|xy)
5119 +1 ^ [ab]
5120 +11 ^ x
5121 +0 ^ ([ab]{,4}c|xy)
5122 +1 ^ [ab]
5123 +11 ^ x
5124 +0 ^ ([ab]{,4}c|xy)
5125 +1 ^ [ab]
5126 +11 ^ x
5127 +0 ^ ([ab]{,4}c|xy)
5128 +1 ^ [ab]
5129 +11 ^ x
5130 +0 ^ ([ab]{,4}c|xy)
5131 +1 ^ [ab]
5132 +11 ^ x
5133 +0 ^ ([ab]{,4}c|xy)
5134 +1 ^ [ab]
5135 +11 ^ x
5136 +0 ^ ([ab]{,4}c|xy)
5137 +1 ^ [ab]
5138 +11 ^ x
5139 +0 ^ ([ab]{,4}c|xy)
5140 +1 ^ [ab]
5141 +11 ^ x
5142 +0 ^ ([ab]{,4}c|xy)
5143 +1 ^ [ab]
5144 +11 ^ x
5145 +0 ^ ([ab]{,4}c|xy)
5146 +1 ^ [ab]
5147 +11 ^ x
5148 +0 ^ ([ab]{,4}c|xy)
5149 +1 ^ [ab]
5150 +11 ^ x
5151 +0 ^ ([ab]{,4}c|xy)
5152 +1 ^ [ab]
5153 +11 ^ x
5154 +0 ^ ([ab]{,4}c|xy)
5155 +1 ^ [ab]
5156 +11 ^ x
5157 +0 ^ ([ab]{,4}c|xy)
5158 +1 ^ [ab]
5159 +11 ^ x
5160 +0 ^ ([ab]{,4}c|xy)
5161 +1 ^ [ab]
5162 +5 ^^ {
5163 +11 ^ x
5164 +0 ^ ([ab]{,4}c|xy)
5165 +1 ^ [ab]
5166 +11 ^ x
5167 +0 ^ ([ab]{,4}c|xy)
5168 +1 ^ [ab]
5169 +11 ^ x
5170 +0 ^ ([ab]{,4}c|xy)
5171 +1 ^ [ab]
5172 +11 ^ x
5173 +0 ^ ([ab]{,4}c|xy)
5174 +1 ^ [ab]
5175 +5 ^^ {
5176 +11 ^ x
5177 +0 ^ ([ab]{,4}c|xy)
5178 +1 ^ [ab]
5179 +11 ^ x
5180 +0 ^ ([ab]{,4}c|xy)
5181 +1 ^ [ab]
5182 +11 ^ x
5183 +0 ^ ([ab]{,4}c|xy)
5184 +1 ^ [ab]
5185 +11 ^ x
5186 +0 ^ ([ab]{,4}c|xy)
5187 +1 ^ [ab]
5188 +11 ^ x
5189 +0 ^ ([ab]{,4}c|xy)
5190 +1 ^ [ab]
5191 +11 ^ x
5192 +0 ^ ([ab]{,4}c|xy)
5193 +1 ^ [ab]
5194 +11 ^ x
5195 +0 ^ ([ab]{,4}c|xy)
5196 +1 ^ [ab]
5197 +11 ^ x
5198 +0 ^ ([ab]{,4}c|xy)
5199 +1 ^ [ab]
5200 +11 ^ x
5201 No match
5202
5203 /([ab]{1,4}c|xy){4,5}?123/ICDZ
5204 ------------------------------------------------------------------
5205 Bra
5206 Callout 255 0 21
5207 CBra 1
5208 Callout 255 1 9
5209 [ab]{1,4}
5210 Callout 255 10 1
5211 c
5212 Callout 255 11 0
5213 Alt
5214 Callout 255 12 1
5215 x
5216 Callout 255 13 1
5217 y
5218 Callout 255 14 0
5219 Ket
5220 CBra 1
5221 Callout 255 1 9
5222 [ab]{1,4}
5223 Callout 255 10 1
5224 c
5225 Callout 255 11 0
5226 Alt
5227 Callout 255 12 1
5228 x
5229 Callout 255 13 1
5230 y
5231 Callout 255 14 0
5232 Ket
5233 CBra 1
5234 Callout 255 1 9
5235 [ab]{1,4}
5236 Callout 255 10 1
5237 c
5238 Callout 255 11 0
5239 Alt
5240 Callout 255 12 1
5241 x
5242 Callout 255 13 1
5243 y
5244 Callout 255 14 0
5245 Ket
5246 CBra 1
5247 Callout 255 1 9
5248 [ab]{1,4}
5249 Callout 255 10 1
5250 c
5251 Callout 255 11 0
5252 Alt
5253 Callout 255 12 1
5254 x
5255 Callout 255 13 1
5256 y
5257 Callout 255 14 0
5258 Ket
5259 Braminzero
5260 CBra 1
5261 Callout 255 1 9
5262 [ab]{1,4}
5263 Callout 255 10 1
5264 c
5265 Callout 255 11 0
5266 Alt
5267 Callout 255 12 1
5268 x
5269 Callout 255 13 1
5270 y
5271 Callout 255 14 0
5272 Ket
5273 Callout 255 21 1
5274 1
5275 Callout 255 22 1
5276 2
5277 Callout 255 23 1
5278 3
5279 Callout 255 24 0
5280 Ket
5281 End
5282 ------------------------------------------------------------------
5283 Capturing subpattern count = 1
5284 Options:
5285 No first char
5286 Need char = '3'
5287 aacaacaacaacaac123
5288 --->aacaacaacaacaac123
5289 +0 ^ ([ab]{1,4}c|xy){4,5}?
5290 +1 ^ [ab]{1,4}
5291 +10 ^ ^ c
5292 +11 ^ ^ |
5293 +1 ^ ^ [ab]{1,4}
5294 +10 ^ ^ c
5295 +11 ^ ^ |
5296 +1 ^ ^ [ab]{1,4}
5297 +10 ^ ^ c
5298 +11 ^ ^ |
5299 +1 ^ ^ [ab]{1,4}
5300 +10 ^ ^ c
5301 +11 ^ ^ |
5302 +21 ^ ^ 1
5303 +1 ^ ^ [ab]{1,4}
5304 +10 ^ ^ c
5305 +11 ^ ^ |
5306 +21 ^ ^ 1
5307 +22 ^ ^ 2
5308 +23 ^ ^ 3
5309 +24 ^ ^
5310 0: aacaacaacaacaac123
5311 1: aac
5312
5313 /\b.*/I
5314 Capturing subpattern count = 0
5315 No options
5316 No first char
5317 No need char
5318 ab cd\>1
5319 0: cd
5320
5321 /\b.*/Is
5322 Capturing subpattern count = 0
5323 Options: dotall
5324 No first char
5325 No need char
5326 ab cd\>1
5327 0: cd
5328
5329 /(?!.bcd).*/I
5330 Capturing subpattern count = 0
5331 No options
5332 No first char
5333 No need char
5334 Xbcd12345
5335 0: bcd12345
5336
5337 /abcde/I
5338 Capturing subpattern count = 0
5339 No options
5340 First char = 'a'
5341 Need char = 'e'
5342 ab\P
5343 Partial match: ab
5344 abc\P
5345 Partial match: abc
5346 abcd\P
5347 Partial match: abcd
5348 abcde\P
5349 0: abcde
5350 the quick brown abc\P
5351 Partial match: abc
5352 ** Failers\P
5353 No match
5354 the quick brown abxyz fox\P
5355 No match
5356
5357 "^(0?[1-9]|[12][0-9]|3[01])/(0?[1-9]|1[012])/(20)?\d\d$"I
5358 Capturing subpattern count = 3
5359 Options: anchored
5360 No first char
5361 Need char = '/'
5362 13/05/04\P
5363 0: 13/05/04
5364 1: 13
5365 2: 05
5366 13/5/2004\P
5367 0: 13/5/2004
5368 1: 13
5369 2: 5
5370 3: 20
5371 02/05/09\P
5372 0: 02/05/09
5373 1: 02
5374 2: 05
5375 1\P
5376 Partial match: 1
5377 1/2\P
5378 Partial match: 1/2
5379 1/2/0\P
5380 Partial match: 1/2/0
5381 1/2/04\P
5382 0: 1/2/04
5383 1: 1
5384 2: 2
5385 0\P
5386 Partial match: 0
5387 02/\P
5388 Partial match: 02/
5389 02/0\P
5390 Partial match: 02/0
5391 02/1\P
5392 Partial match: 02/1
5393 ** Failers\P
5394 No match
5395 \P
5396 No match
5397 123\P
5398 No match
5399 33/4/04\P
5400 No match
5401 3/13/04\P
5402 No match
5403 0/1/2003\P
5404 No match
5405 0/\P
5406 No match
5407 02/0/\P
5408 No match
5409 02/13\P
5410 No match
5411
5412 /0{0,2}ABC/I
5413 Capturing subpattern count = 0
5414 No options
5415 No first char
5416 Need char = 'C'
5417
5418 /\d{3,}ABC/I
5419 Capturing subpattern count = 0
5420 No options
5421 No first char
5422 Need char = 'C'
5423
5424 /\d*ABC/I
5425 Capturing subpattern count = 0
5426 No options
5427 No first char
5428 Need char = 'C'
5429
5430 /[abc]+DE/I
5431 Capturing subpattern count = 0
5432 No options
5433 No first char
5434 Need char = 'E'
5435
5436 /[abc]?123/I
5437 Capturing subpattern count = 0
5438 No options
5439 No first char
5440 Need char = '3'
5441 123\P
5442 0: 123
5443 a\P
5444 Partial match: a
5445 b\P
5446 Partial match: b
5447 c\P
5448 Partial match: c
5449 c12\P
5450 Partial match: c12
5451 c123\P
5452 0: c123
5453
5454 /^(?:\d){3,5}X/I
5455 Capturing subpattern count = 0
5456 Options: anchored
5457 No first char
5458 Need char = 'X'
5459 1\P
5460 Partial match: 1
5461 123\P
5462 Partial match: 123
5463 123X
5464 0: 123X
5465 1234\P
5466 Partial match: 1234
5467 1234X
5468 0: 1234X
5469 12345\P
5470 Partial match: 12345
5471 12345X
5472 0: 12345X
5473 *** Failers
5474 No match
5475 1X
5476 No match
5477 123456\P
5478 No match
5479
5480 /abc/I>testsavedregex
5481 Capturing subpattern count = 0
5482 No options
5483 First char = 'a'
5484 Need char = 'c'
5485 Compiled regex written to testsavedregex
5486 <testsavedregex
5487 Compiled regex loaded from testsavedregex
5488 No study data
5489 abc
5490 0: abc
5491 ** Failers
5492 No match
5493 bca
5494 No match
5495
5496 /abc/IF>testsavedregex
5497 Capturing subpattern count = 0
5498 No options
5499 First char = 'a'
5500 Need char = 'c'
5501 Compiled regex written to testsavedregex
5502 <testsavedregex
5503 Compiled regex (byte-inverted) loaded from testsavedregex
5504 No study data
5505 abc
5506 0: abc
5507 ** Failers
5508 No match
5509 bca
5510 No match
5511
5512 /(a|b)/IS>testsavedregex
5513 Capturing subpattern count = 1
5514 No options
5515 No first char
5516 No need char
5517 Subject length lower bound = 1
5518 Starting byte set: a b
5519 Compiled regex written to testsavedregex
5520 Study data written to testsavedregex
5521 <testsavedregex
5522 Compiled regex loaded from testsavedregex
5523 Study data loaded from testsavedregex
5524 abc
5525 0: a
5526 1: a
5527 ** Failers
5528 0: a
5529 1: a
5530 def
5531 No match
5532
5533 /(a|b)/ISF>testsavedregex
5534 Capturing subpattern count = 1
5535 No options
5536 No first char
5537 No need char
5538 Subject length lower bound = 1
5539 Starting byte set: a b
5540 Compiled regex written to testsavedregex
5541 Study data written to testsavedregex
5542 <testsavedregex
5543 Compiled regex (byte-inverted) loaded from testsavedregex
5544 Study data loaded from testsavedregex
5545 abc
5546 0: a
5547 1: a
5548 ** Failers
5549 0: a
5550 1: a
5551 def
5552 No match
5553
5554 ~<(\w+)/?>(.)*</(\1)>~smgI
5555 Capturing subpattern count = 3
5556 Max back reference = 1
5557 Options: multiline dotall
5558 First char = '<'
5559 Need char = '>'
5560 <!DOCTYPE seite SYSTEM "http://www.lco.lineas.de/xmlCms.dtd">\n<seite>\n<dokumenteninformation>\n<seitentitel>Partner der LCO</seitentitel>\n<sprache>de</sprache>\n<seitenbeschreibung>Partner der LINEAS Consulting\nGmbH</seitenbeschreibung>\n<schluesselworte>LINEAS Consulting GmbH Hamburg\nPartnerfirmen</schluesselworte>\n<revisit>30 days</revisit>\n<robots>index,follow</robots>\n<menueinformation>\n<aktiv>ja</aktiv>\n<menueposition>3</menueposition>\n<menuetext>Partner</menuetext>\n</menueinformation>\n<lastedited>\n<autor>LCO</autor>\n<firma>LINEAS Consulting</firma>\n<datum>15.10.2003</datum>\n</lastedited>\n</dokumenteninformation>\n<inhalt>\n\n<absatzueberschrift>Die Partnerfirmen der LINEAS Consulting\nGmbH</absatzueberschrift>\n\n<absatz><link ziel="http://www.ca.com/" zielfenster="_blank">\n<bild name="logo_ca.gif" rahmen="no"/></link> <link\nziel="http://www.ey.com/" zielfenster="_blank"><bild\nname="logo_euy.gif" rahmen="no"/></link>\n</absatz>\n\n<absatz><link ziel="http://www.cisco.de/" zielfenster="_blank">\n<bild name="logo_cisco.gif" rahmen="ja"/></link></absatz>\n\n<absatz><link ziel="http://www.atelion.de/"\nzielfenster="_blank"><bild\nname="logo_atelion.gif" rahmen="no"/></link>\n</absatz>\n\n<absatz><link ziel="http://www.line-information.de/"\nzielfenster="_blank">\n<bild name="logo_line_information.gif" rahmen="no"/></link>\n</absatz>\n\n<absatz><bild name="logo_aw.gif" rahmen="no"/></absatz>\n\n<absatz><link ziel="http://www.incognis.de/"\nzielfenster="_blank"><bild\nname="logo_incognis.gif" rahmen="no"/></link></absatz>\n\n<absatz><link ziel="http://www.addcraft.com/"\nzielfenster="_blank"><bild\nname="logo_addcraft.gif" rahmen="no"/></link></absatz>\n\n<absatz><link ziel="http://www.comendo.com/"\nzielfenster="_blank"><bild\nname="logo_comendo.gif" rahmen="no"/></link></absatz>\n\n</inhalt>\n</seite>
5561 0: <seite>\x0a<dokumenteninformation>\x0a<seitentitel>Partner der LCO</seitentitel>\x0a<sprache>de</sprache>\x0a<seitenbeschreibung>Partner der LINEAS Consulting\x0aGmbH</seitenbeschreibung>\x0a<schluesselworte>LINEAS Consulting GmbH Hamburg\x0aPartnerfirmen</schluesselworte>\x0a<revisit>30 days</revisit>\x0a<robots>index,follow</robots>\x0a<menueinformation>\x0a<aktiv>ja</aktiv>\x0a<menueposition>3</menueposition>\x0a<menuetext>Partner</menuetext>\x0a</menueinformation>\x0a<lastedited>\x0a<autor>LCO</autor>\x0a<firma>LINEAS Consulting</firma>\x0a<datum>15.10.2003</datum>\x0a</lastedited>\x0a</dokumenteninformation>\x0a<inhalt>\x0a\x0a<absatzueberschrift>Die Partnerfirmen der LINEAS Consulting\x0aGmbH</absatzueberschrift>\x0a\x0a<absatz><link ziel="http://www.ca.com/" zielfenster="_blank">\x0a<bild name="logo_ca.gif" rahmen="no"/></link> <link\x0aziel="http://www.ey.com/" zielfenster="_blank"><bild\x0aname="logo_euy.gif" rahmen="no"/></link>\x0a</absatz>\x0a\x0a<absatz><link ziel="http://www.cisco.de/" zielfenster="_blank">\x0a<bild name="logo_cisco.gif" rahmen="ja"/></link></absatz>\x0a\x0a<absatz><link ziel="http://www.atelion.de/"\x0azielfenster="_blank"><bild\x0aname="logo_atelion.gif" rahmen="no"/></link>\x0a</absatz>\x0a\x0a<absatz><link ziel="http://www.line-information.de/"\x0azielfenster="_blank">\x0a<bild name="logo_line_information.gif" rahmen="no"/></link>\x0a</absatz>\x0a\x0a<absatz><bild name="logo_aw.gif" rahmen="no"/></absatz>\x0a\x0a<absatz><link ziel="http://www.incognis.de/"\x0azielfenster="_blank"><bild\x0aname="logo_incognis.gif" rahmen="no"/></link></absatz>\x0a\x0a<absatz><link ziel="http://www.addcraft.com/"\x0azielfenster="_blank"><bild\x0aname="logo_addcraft.gif" rahmen="no"/></link></absatz>\x0a\x0a<absatz><link ziel="http://www.comendo.com/"\x0azielfenster="_blank"><bild\x0aname="logo_comendo.gif" rahmen="no"/></link></absatz>\x0a\x0a</inhalt>\x0a</seite>
5562 1: seite
5563 2: \x0a
5564 3: seite
5565
5566 /^a/IF
5567 Capturing subpattern count = 0
5568 Options: anchored
5569 No first char
5570 No need char
5571
5572 /line\nbreak/I
5573 Capturing subpattern count = 0
5574 Contains explicit CR or LF match
5575 No options
5576 First char = 'l'
5577 Need char = 'k'
5578 this is a line\nbreak
5579 0: line\x0abreak
5580 line one\nthis is a line\nbreak in the second line
5581 0: line\x0abreak
5582
5583 /line\nbreak/If
5584 Capturing subpattern count = 0
5585 Contains explicit CR or LF match
5586 Options: firstline
5587 First char = 'l'
5588 Need char = 'k'
5589 this is a line\nbreak
5590 0: line\x0abreak
5591 ** Failers
5592 No match
5593 line one\nthis is a line\nbreak in the second line
5594 No match
5595
5596 /line\nbreak/Imf
5597 Capturing subpattern count = 0
5598 Contains explicit CR or LF match
5599 Options: multiline firstline
5600 First char = 'l'
5601 Need char = 'k'
5602 this is a line\nbreak
5603 0: line\x0abreak
5604 ** Failers
5605 No match
5606 line one\nthis is a line\nbreak in the second line
5607 No match
5608
5609 /ab.cd/P
5610 ab-cd
5611 0: ab-cd
5612 ab=cd
5613 0: ab=cd
5614 ** Failers
5615 No match: POSIX code 17: match failed
5616 ab\ncd
5617 No match: POSIX code 17: match failed
5618
5619 /ab.cd/Ps
5620 ab-cd
5621 0: ab-cd
5622 ab=cd
5623 0: ab=cd
5624 ab\ncd
5625 0: ab\x0acd
5626
5627 /(?i)(?-i)AbCd/I
5628 Capturing subpattern count = 0
5629 No options
5630 First char = 'A'
5631 Need char = 'd'
5632 AbCd
5633 0: AbCd
5634 ** Failers
5635 No match
5636 abcd
5637 No match
5638
5639 /a{11111111111111111111}/I
5640 Failed: number too big in {} quantifier at offset 22
5641
5642 /(){64294967295}/I
5643 Failed: number too big in {} quantifier at offset 14
5644
5645 /(){2,4294967295}/I
5646 Failed: number too big in {} quantifier at offset 15
5647
5648 "(?i:a)(?i:b)(?i:c)(?i:d)(?i:e)(?i:f)(?i:g)(?i:h)(?i:i)(?i:j)(k)(?i:l)A\1B"I
5649 Capturing subpattern count = 1
5650 Max back reference = 1
5651 No options
5652 First char = 'a' (caseless)
5653 Need char = 'B'
5654 abcdefghijklAkB
5655 0: abcdefghijklAkB
5656 1: k
5657
5658 "(?P<n0>a)(?P<n1>b)(?P<n2>c)(?P<n3>d)(?P<n4>e)(?P<n5>f)(?P<n6>g)(?P<n7>h)(?P<n8>i)(?P<n9>j)(?P<n10>k)(?P<n11>l)A\11B"I
5659 Capturing subpattern count = 12
5660 Max back reference = 11
5661 Named capturing subpatterns:
5662 n0 1
5663 n1 2
5664 n10 11
5665 n11 12
5666 n2 3
5667 n3 4
5668 n4 5
5669 n5 6
5670 n6 7
5671 n7 8
5672 n8 9
5673 n9 10
5674 No options
5675 First char = 'a'
5676 Need char = 'B'
5677 abcdefghijklAkB
5678 0: abcdefghijklAkB
5679 1: a
5680 2: b
5681 3: c
5682 4: d
5683 5: e
5684 6: f
5685 7: g
5686 8: h
5687 9: i
5688 10: j
5689 11: k
5690 12: l
5691
5692 "(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)(l)A\11B"I
5693 Capturing subpattern count = 12
5694 Max back reference = 11
5695 No options
5696 First char = 'a'
5697 Need char = 'B'
5698 abcdefghijklAkB
5699 0: abcdefghijklAkB
5700 1: a
5701 2: b
5702 3: c
5703 4: d
5704 5: e
5705 6: f
5706 7: g
5707 8: h
5708 9: i
5709 10: j
5710 11: k
5711 12: l
5712
5713 "(?P<name0>a)(?P<name1>a)(?P<name2>a)(?P<name3>a)(?P<name4>a)(?P<name5>a)(?P<name6>a)(?P<name7>a)(?P<name8>a)(?P<name9>a)(?P<name10>a)(?P<name11>a)(?P<name12>a)(?P<name13>a)(?P<name14>a)(?P<name15>a)(?P<name16>a)(?P<name17>a)(?P<name18>a)(?P<name19>a)(?P<name20>a)(?P<name21>a)(?P<name22>a)(?P<name23>a)(?P<name24>a)(?P<name25>a)(?P<name26>a)(?P<name27>a)(?P<name28>a)(?P<name29>a)(?P<name30>a)(?P<name31>a)(?P<name32>a)(?P<name33>a)(?P<name34>a)(?P<name35>a)(?P<name36>a)(?P<name37>a)(?P<name38>a)(?P<name39>a)(?P<name40>a)(?P<name41>a)(?P<name42>a)(?P<name43>a)(?P<name44>a)(?P<name45>a)(?P<name46>a)(?P<name47>a)(?P<name48>a)(?P<name49>a)(?P<name50>a)(?P<name51>a)(?P<name52>a)(?P<name53>a)(?P<name54>a)(?P<name55>a)(?P<name56>a)(?P<name57>a)(?P<name58>a)(?P<name59>a)(?P<name60>a)(?P<name61>a)(?P<name62>a)(?P<name63>a)(?P<name64>a)(?P<name65>a)(?P<name66>a)(?P<name67>a)(?P<name68>a)(?P<name69>a)(?P<name70>a)(?P<name71>a)(?P<name72>a)(?P<name73>a)(?P<name74>a)(?P<name75>a)(?P<name76>a)(?P<name77>a)(?P<name78>a)(?P<name79>a)(?P<name80>a)(?P<name81>a)(?P<name82>a)(?P<name83>a)(?P<name84>a)(?P<name85>a)(?P<name86>a)(?P<name87>a)(?P<name88>a)(?P<name89>a)(?P<name90>a)(?P<name91>a)(?P<name92>a)(?P<name93>a)(?P<name94>a)(?P<name95>a)(?P<name96>a)(?P<name97>a)(?P<name98>a)(?P<name99>a)(?P<name100>a)"I
5714 Capturing subpattern count = 101
5715 Named capturing subpatterns:
5716 name0 1
5717 name1 2
5718 name10 11
5719 name100 101
5720 name11 12
5721 name12 13
5722 name13 14
5723 name14 15
5724 name15 16
5725 name16 17
5726 name17 18
5727 name18 19
5728 name19 20
5729 name2 3
5730 name20 21
5731 name21 22
5732 name22 23
5733 name23 24
5734 name24 25
5735 name25 26
5736 name26 27
5737 name27 28
5738 name28 29
5739 name29 30
5740 name3 4
5741 name30 31
5742 name31 32
5743 name32 33
5744 name33 34
5745 name34 35
5746 name35 36
5747 name36 37
5748 name37 38
5749 name38 39
5750 name39 40
5751 name4 5
5752 name40 41
5753 name41 42
5754 name42 43
5755 name43 44
5756 name44 45
5757 name45 46
5758 name46 47
5759 name47 48
5760 name48 49
5761 name49 50
5762 name5 6
5763 name50 51
5764 name51 52
5765 name52 53
5766 name53 54
5767 name54 55
5768 name55 56
5769 name56 57
5770 name57 58
5771 name58 59
5772 name59 60
5773 name6 7
5774 name60 61
5775 name61 62
5776 name62 63
5777 name63 64
5778 name64 65
5779 name65 66
5780 name66 67
5781 name67 68
5782 name68 69
5783 name69 70
5784 name7 8
5785 name70 71
5786 name71 72
5787 name72 73
5788 name73 74
5789 name74 75
5790 name75 76
5791 name76 77
5792 name77 78
5793 name78 79
5794 name79 80
5795 name8 9
5796 name80 81
5797 name81 82
5798 name82 83
5799 name83 84
5800 name84 85
5801 name85 86
5802 name86 87
5803 name87 88
5804 name88 89
5805 name89 90
5806 name9 10
5807 name90 91
5808 name91 92
5809 name92 93
5810 name93 94
5811 name94 95
5812 name95 96
5813 name96 97
5814 name97 98
5815 name98 99
5816 name99 100
5817 No options
5818 First char = 'a'
5819 Need char = 'a'
5820 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
5821 Matched, but too many substrings
5822 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
5823 1: a
5824 2: a
5825 3: a
5826 4: a
5827 5: a
5828 6: a
5829 7: a
5830 8: a
5831 9: a
5832 10: a
5833 11: a
5834 12: a
5835 13: a
5836 14: a
5837
5838 "(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)"I
5839 Capturing subpattern count = 101
5840 No options
5841 First char = 'a'
5842 Need char = 'a'
5843 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
5844 Matched, but too many substrings
5845 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
5846 1: a
5847 2: a
5848 3: a
5849 4: a
5850 5: a
5851 6: a
5852 7: a
5853 8: a
5854 9: a
5855 10: a
5856 11: a
5857 12: a
5858 13: a
5859 14: a
5860
5861 /[^()]*(?:\((?R)\)[^()]*)*/I
5862 Capturing subpattern count = 0
5863 No options
5864 No first char
5865 No need char
5866 (this(and)that
5867 0:
5868 (this(and)that)
5869 0: (this(and)that)
5870 (this(and)that)stuff
5871 0: (this(and)that)stuff
5872
5873 /[^()]*(?:\((?>(?R))\)[^()]*)*/I
5874 Capturing subpattern count = 0
5875 No options
5876 No first char
5877 No need char
5878 (this(and)that
5879 0:
5880 (this(and)that)
5881 0: (this(and)that)
5882
5883 /[^()]*(?:\((?R)\))*[^()]*/I
5884 Capturing subpattern count = 0
5885 No options
5886 No first char
5887 No need char
5888 (this(and)that
5889 0:
5890 (this(and)that)
5891 0: (this(and)that)
5892
5893 /(?:\((?R)\))*[^()]*/I
5894 Capturing subpattern count = 0
5895 No options
5896 No first char
5897 No need char
5898 (this(and)that
5899 0:
5900 (this(and)that)
5901 0:
5902 ((this))
5903 0: ((this))
5904
5905 /(?:\((?R)\))|[^()]*/I
5906 Capturing subpattern count = 0
5907 No options
5908 No first char
5909 No need char
5910 (this(and)that
5911 0:
5912 (this(and)that)
5913 0:
5914 (this)
5915 0: (this)
5916 ((this))
5917 0: ((this))
5918
5919 /a(b)c/PN
5920 abc
5921 Matched with REG_NOSUB
5922
5923 /a(?P<name>b)c/PN
5924 abc
5925 Matched with REG_NOSUB
5926
5927 /\x{100}/I
5928 Failed: character value in \x{...} sequence is too large at offset 6
5929
5930 /\x{0000ff}/I
5931 Capturing subpattern count = 0
5932 No options
5933 First char = 255
5934 No need char
5935
5936 /^((?P<A>a1)|(?P<A>a2)b)/I
5937 Failed: two named subpatterns have the same name at offset 17
5938
5939 /^((?P<A>a1)|(?P<A>a2)b)/IJ
5940 Capturing subpattern count = 3
5941 Named capturing subpatterns:
5942 A 2
5943 A 3
5944 Options: anchored dupnames
5945 No first char
5946 No need char
5947 a1b\CA
5948 0: a1
5949 1: a1
5950 2: a1
5951 C a1 (2) A
5952 a2b\CA
5953 0: a2b
5954 1: a2b
5955 2: <unset>
5956 3: a2
5957 C a2 (2) A
5958 ** Failers
5959 No match
5960 a1b\CZ\CA
5961 no parentheses with name "Z"
5962 0: a1
5963 1: a1
5964 2: a1
5965 copy substring Z failed -7
5966 C a1 (2) A
5967
5968 /^(?P<A>a)(?P<A>b)/IJ
5969 Capturing subpattern count = 2
5970 Named capturing subpatterns:
5971 A 1
5972 A 2
5973 Options: anchored dupnames
5974 No first char
5975 No need char
5976 ab\CA
5977 0: ab
5978 1: a
5979 2: b
5980 C a (1) A
5981
5982 /^(?P<A>a)(?P<A>b)|cd/IJ
5983 Capturing subpattern count = 2
5984 Named capturing subpatterns:
5985 A 1
5986 A 2
5987 Options: dupnames
5988 No first char
5989 No need char
5990 ab\CA
5991 0: ab
5992 1: a
5993 2: b
5994 C a (1) A
5995 cd\CA
5996 0: cd
5997 copy substring A failed -7
5998
5999 /^(?P<A>a)(?P<A>b)|cd(?P<A>ef)(?P<A>gh)/IJ
6000 Capturing subpattern count = 4
6001 Named capturing subpatterns:
6002 A 1
6003 A 2
6004 A 3
6005 A 4
6006 Options: dupnames
6007 No first char
6008 No need char
6009 cdefgh\CA
6010 0: cdefgh
6011 1: <unset>
6012 2: <unset>
6013 3: ef
6014 4: gh
6015 C ef (2) A
6016
6017 /^((?P<A>a1)|(?P<A>a2)b)/IJ
6018 Capturing subpattern count = 3
6019 Named capturing subpatterns:
6020 A 2
6021 A 3
6022 Options: anchored dupnames
6023 No first char
6024 No need char
6025 a1b\GA
6026 0: a1
6027 1: a1
6028 2: a1
6029 G a1 (2) A
6030 a2b\GA
6031 0: a2b
6032 1: a2b
6033 2: <unset>
6034 3: a2
6035 G a2 (2) A
6036 ** Failers
6037 No match
6038 a1b\GZ\GA
6039 no parentheses with name "Z"
6040 0: a1
6041 1: a1
6042 2: a1
6043 copy substring Z failed -7
6044 G a1 (2) A
6045
6046 /^(?P<A>a)(?P<A>b)/IJ
6047 Capturing subpattern count = 2
6048 Named capturing subpatterns:
6049 A 1
6050 A 2
6051 Options: anchored dupnames
6052 No first char
6053 No need char
6054 ab\GA
6055 0: ab
6056 1: a
6057 2: b
6058 G a (1) A
6059
6060 /^(?P<A>a)(?P<A>b)|cd/IJ
6061 Capturing subpattern count = 2
6062 Named capturing subpatterns:
6063 A 1
6064 A 2
6065 Options: dupnames
6066 No first char
6067 No need char
6068 ab\GA
6069 0: ab
6070 1: a
6071 2: b
6072 G a (1) A
6073 cd\GA
6074 0: cd
6075 copy substring A failed -7
6076
6077 /^(?P<A>a)(?P<A>b)|cd(?P<A>ef)(?P<A>gh)/IJ
6078 Capturing subpattern count = 4
6079 Named capturing subpatterns:
6080 A 1
6081 A 2
6082 A 3
6083 A 4
6084 Options: dupnames
6085 No first char
6086 No need char
6087 cdefgh\GA
6088 0: cdefgh
6089 1: <unset>
6090 2: <unset>
6091 3: ef
6092 4: gh
6093 G ef (2) A
6094
6095 /(?J)^((?P<A>a1)|(?P<A>a2)b)/I
6096 Capturing subpattern count = 3
6097 Named capturing subpatterns:
6098 A 2
6099 A 3
6100 Options: anchored dupnames
6101 Duplicate name status changes
6102 No first char
6103 No need char
6104 a1b\CA
6105 0: a1
6106 1: a1
6107 2: a1
6108 C a1 (2) A
6109 a2b\CA
6110 0: a2b
6111 1: a2b
6112 2: <unset>
6113 3: a2
6114 C a2 (2) A
6115
6116 /^(?P<A>a) (?J:(?P<B>b)(?P<B>c)) (?P<A>d)/I
6117 Failed: two named subpatterns have the same name at offset 37
6118
6119 / In this next test, J is not set at the outer level; consequently it isn't
6120 set in the pattern's options; consequently pcre_get_named_substring() produces
6121 a random value. /Ix
6122 Capturing subpattern count = 1
6123 Options: extended
6124 First char = 'I'
6125 Need char = 'e'
6126
6127 /^(?P<A>a) (?J:(?P<B>b)(?P<B>c)) (?P<C>d)/I
6128 Capturing subpattern count = 4
6129 Named capturing subpatterns:
6130 A 1
6131 B 2
6132 B 3
6133 C 4
6134 Options: anchored
6135 Duplicate name status changes
6136 No first char
6137 No need char
6138 a bc d\CA\CB\CC
6139 0: a bc d
6140 1: a
6141 2: b
6142 3: c
6143 4: d
6144 C a (1) A
6145 C b (1) B
6146 C d (1) C
6147
6148 /^(?P<A>a)?(?(A)a|b)/I
6149 Capturing subpattern count = 1
6150 Named capturing subpatterns:
6151 A 1
6152 Options: anchored
6153 No first char
6154 No need char
6155 aabc
6156 0: aa
6157 1: a
6158 bc
6159 0: b
6160 ** Failers
6161 No match
6162 abc
6163 No match
6164
6165 /(?:(?(ZZ)a|b)(?P<ZZ>X))+/I
6166 Capturing subpattern count = 1
6167 Named capturing subpatterns:
6168 ZZ 1
6169 No options
6170 No first char
6171 Need char = 'X'
6172 bXaX
6173 0: bXaX
6174 1: X
6175
6176 /(?:(?(2y)a|b)(X))+/I
6177 Failed: reference to non-existent subpattern at offset 9
6178
6179 /(?:(?(ZA)a|b)(?P<ZZ>X))+/I
6180 Failed: reference to non-existent subpattern at offset 9
6181
6182 /(?:(?(ZZ)a|b)(?(ZZ)a|b)(?P<ZZ>X))+/I
6183 Capturing subpattern count = 1
6184 Named capturing subpatterns:
6185 ZZ 1
6186 No options
6187 No first char
6188 Need char = 'X'
6189 bbXaaX
6190 0: bbXaaX
6191 1: X
6192
6193 /(?:(?(ZZ)a|\(b\))\\(?P<ZZ>X))+/I
6194 Capturing subpattern count = 1
6195 Named capturing subpatterns:
6196 ZZ 1
6197 No options
6198 No first char
6199 Need char = 'X'
6200 (b)\\Xa\\X
6201 0: (b)\Xa\X
6202 1: X
6203
6204 /(?P<ABC/I
6205 Failed: syntax error in subpattern name (missing terminator) at offset 7
6206
6207 /(?:(?(A)(?P=A)a|b)(?P<A>X|Y))+/I
6208 Capturing subpattern count = 1
6209 Max back reference = 1
6210 Named capturing subpatterns:
6211 A 1
6212 No options
6213 No first char
6214 No need char
6215 bXXaYYaY
6216 0: bXXaYYaY
6217 1: Y
6218 bXYaXXaX
6219 0: bX
6220 1: X
6221
6222 /()()()()()()()()()(?:(?(A)(?P=A)a|b)(?P<A>X|Y))+/I
6223 Capturing subpattern count = 10
6224 Max back reference = 10
6225 Named capturing subpatterns:
6226 A 10
6227 No options
6228 No first char
6229 No need char
6230 bXXaYYaY
6231 0: bXXaYYaY
6232 1:
6233 2:
6234 3:
6235 4:
6236 5:
6237 6:
6238 7:
6239 8:
6240 9:
6241 10: Y
6242
6243 /\777/I
6244 Failed: octal value is greater than \377 (not in UTF-8 mode) at offset 3
6245
6246 /\s*,\s*/IS
6247 Capturing subpattern count = 0
6248 No options
6249 No first char
6250 Need char = ','
6251 Subject length lower bound = 1
6252 Starting byte set: \x09 \x0a \x0c \x0d \x20 ,
6253 \x0b,\x0b
6254 0: ,
6255 \x0c,\x0d
6256 0: \x0c,\x0d
6257
6258 /^abc/Im
6259 Capturing subpattern count = 0
6260 Options: multiline
6261 First char at start or follows newline
6262 Need char = 'c'
6263 xyz\nabc
6264 0: abc
6265 xyz\nabc\<lf>
6266 0: abc
6267 xyz\r\nabc\<lf>
6268 0: abc
6269 xyz\rabc\<cr>
6270 0: abc
6271 xyz\r\nabc\<crlf>
6272 0: abc
6273 ** Failers
6274 No match
6275 xyz\nabc\<cr>
6276 No match
6277 xyz\r\nabc\<cr>
6278 No match
6279 xyz\nabc\<crlf>
6280 No match
6281 xyz\rabc\<crlf>
6282 No match
6283 xyz\rabc\<lf>
6284 No match
6285
6286 /abc$/Im<lf>
6287 Capturing subpattern count = 0
6288 Options: multiline
6289 Forced newline sequence: LF
6290 First char = 'a'
6291 Need char = 'c'
6292 xyzabc
6293 0: abc
6294 xyzabc\n
6295 0: abc
6296 xyzabc\npqr
6297 0: abc
6298 xyzabc\r\<cr>
6299 0: abc
6300 xyzabc\rpqr\<cr>
6301 0: abc
6302 xyzabc\r\n\<crlf>
6303 0: abc
6304 xyzabc\r\npqr\<crlf>
6305 0: abc
6306 ** Failers
6307 No match
6308 xyzabc\r
6309 No match
6310 xyzabc\rpqr
6311 No match
6312 xyzabc\r\n
6313 No match
6314 xyzabc\r\npqr
6315 No match
6316
6317 /^abc/Im<cr>
6318 Capturing subpattern count = 0
6319 Options: multiline
6320 Forced newline sequence: CR
6321 First char at start or follows newline
6322 Need char = 'c'
6323 xyz\rabcdef
6324 0: abc
6325 xyz\nabcdef\<lf>
6326 0: abc
6327 ** Failers
6328 No match
6329 xyz\nabcdef
6330 No match
6331
6332 /^abc/Im<lf>
6333 Capturing subpattern count = 0
6334 Options: multiline
6335 Forced newline sequence: LF
6336 First char at start or follows newline
6337 Need char = 'c'
6338 xyz\nabcdef
6339 0: abc
6340 xyz\rabcdef\<cr>
6341 0: abc
6342 ** Failers
6343 No match
6344 xyz\rabcdef
6345 No match
6346
6347 /^abc/Im<crlf>
6348 Capturing subpattern count = 0
6349 Options: multiline
6350 Forced newline sequence: CRLF
6351 First char at start or follows newline
6352 Need char = 'c'
6353 xyz\r\nabcdef
6354 0: abc
6355 xyz\rabcdef\<cr>
6356 0: abc
6357 ** Failers
6358 No match
6359 xyz\rabcdef
6360 No match
6361
6362 /^abc/Im<bad>
6363 Unknown newline type at: <bad>
6364
6365
6366 /abc/I
6367 Capturing subpattern count = 0
6368 No options
6369 First char = 'a'
6370 Need char = 'c'
6371 xyz\rabc\<bad>
6372 Unknown newline type at: <bad>
6373 abc
6374 0: abc
6375
6376 /.*/I<lf>
6377 Capturing subpattern count = 0
6378 Options:
6379 Forced newline sequence: LF
6380 First char at start or follows newline
6381 No need char
6382 abc\ndef
6383 0: abc
6384 abc\rdef
6385 0: abc\x0ddef
6386 abc\r\ndef
6387 0: abc\x0d
6388 \<cr>abc\ndef
6389 0: abc\x0adef
6390 \<cr>abc\rdef
6391 0: abc
6392 \<cr>abc\r\ndef
6393 0: abc
6394 \<crlf>abc\ndef
6395 0: abc\x0adef
6396 \<crlf>abc\rdef
6397 0: abc\x0ddef
6398 \<crlf>abc\r\ndef
6399 0: abc
6400
6401 /\w+(.)(.)?def/Is
6402 Capturing subpattern count = 2
6403 Options: dotall
6404 No first char
6405 Need char = 'f'
6406 abc\ndef
6407 0: abc\x0adef
6408 1: \x0a
6409 abc\rdef
6410 0: abc\x0ddef
6411 1: \x0d
6412 abc\r\ndef
6413 0: abc\x0d\x0adef
6414 1: \x0d
6415 2: \x0a
6416
6417 +((?:\s|//.*\\n|/[*](?:\\n|.)*?[*]/)*)+I
6418 Capturing subpattern count = 1
6419 No options
6420 No first char
6421 No need char
6422 /* this is a C style comment */\M
6423 Minimum match() limit = 120
6424 Minimum match() recursion limit = 6
6425 0: /* this is a C style comment */
6426 1: /* this is a C style comment */
6427
6428 /(?P<B>25[0-5]|2[0-4]\d|[01]?\d?\d)(?:\.(?P>B)){3}/I
6429 Capturing subpattern count = 1
6430 Named capturing subpatterns:
6431 B 1
6432 No options
6433 No first char
6434 Need char = '.'
6435
6436 /()()()()()()()()()()()()()()()()()()()()
6437 ()()()()()()()()()()()()()()()()()()()()
6438 ()()()()()()()()()()()()()()()()()()()()
6439 ()()()()()()()()()()()()()()()()()()()()
6440 ()()()()()()()()()()()()()()()()()()()()
6441 (.(.))/Ix
6442 Capturing subpattern count = 102
6443 Options: extended
6444 No first char
6445 No need char
6446 XY\O400
6447 0: XY
6448 1:
6449 2:
6450 3:
6451 4:
6452 5:
6453 6:
6454 7:
6455 8:
6456 9:
6457 10:
6458 11:
6459 12:
6460 13:
6461 14:
6462 15:
6463 16:
6464 17:
6465 18:
6466 19:
6467 20:
6468 21:
6469 22:
6470 23:
6471 24:
6472 25:
6473 26:
6474 27:
6475 28:
6476 29:
6477 30:
6478 31:
6479 32:
6480 33:
6481 34:
6482 35:
6483 36:
6484 37:
6485 38:
6486 39:
6487 40:
6488 41:
6489 42:
6490 43:
6491 44:
6492 45:
6493 46:
6494 47:
6495 48:
6496 49:
6497 50:
6498 51:
6499 52:
6500 53:
6501 54:
6502 55:
6503 56:
6504 57:
6505 58:
6506 59:
6507 60:
6508 61:
6509 62:
6510 63:
6511 64:
6512 65:
6513 66:
6514 67:
6515 68:
6516 69:
6517 70:
6518 71:
6519 72:
6520 73:
6521 74:
6522 75:
6523 76:
6524 77:
6525 78:
6526 79:
6527 80:
6528 81:
6529 82:
6530 83:
6531 84:
6532 85:
6533 86:
6534 87:
6535 88:
6536 89:
6537 90:
6538 91:
6539 92:
6540 93:
6541 94:
6542 95:
6543 96:
6544 97:
6545 98:
6546 99:
6547 100:
6548 101: XY
6549 102: Y
6550
6551 /(a*b|(?i:c*(?-i)d))/IS
6552 Capturing subpattern count = 1
6553 No options
6554 No first char
6555 No need char
6556 Subject length lower bound = 1
6557 Starting byte set: C a b c d
6558
6559 /()[ab]xyz/IS
6560 Capturing subpattern count = 1
6561 No options
6562 No first char
6563 Need char = 'z'
6564 Subject length lower bound = 4
6565 Starting byte set: a b
6566
6567 /(|)[ab]xyz/IS
6568 Capturing subpattern count = 1
6569 No options
6570 No first char
6571 Need char = 'z'
6572 Subject length lower bound = 4
6573 Starting byte set: a b
6574
6575 /(|c)[ab]xyz/IS
6576 Capturing subpattern count = 1
6577 No options
6578 No first char
6579 Need char = 'z'
6580 Subject length lower bound = 4
6581 Starting byte set: a b c
6582
6583 /(|c?)[ab]xyz/IS
6584 Capturing subpattern count = 1
6585 No options
6586 No first char
6587 Need char = 'z'
6588 Subject length lower bound = 4
6589 Starting byte set: a b c
6590
6591 /(d?|c?)[ab]xyz/IS
6592 Capturing subpattern count = 1
6593 No options
6594 No first char
6595 Need char = 'z'
6596 Subject length lower bound = 4
6597 Starting byte set: a b c d
6598
6599 /(d?|c)[ab]xyz/IS
6600 Capturing subpattern count = 1
6601 No options
6602 No first char
6603 Need char = 'z'
6604 Subject length lower bound = 4
6605 Starting byte set: a b c d
6606
6607 /^a*b\d/DZ
6608 ------------------------------------------------------------------
6609 Bra
6610 ^
6611 a*+
6612 b
6613 \d
6614 Ket
6615 End
6616 ------------------------------------------------------------------
6617 Capturing subpattern count = 0
6618 Options: anchored
6619 No first char
6620 Need char = 'b'
6621
6622 /^a*+b\d/DZ
6623 ------------------------------------------------------------------
6624 Bra
6625 ^
6626 a*+
6627 b
6628 \d
6629 Ket
6630 End
6631 ------------------------------------------------------------------
6632 Capturing subpattern count = 0
6633 Options: anchored
6634 No first char
6635 Need char = 'b'
6636
6637 /^a*?b\d/DZ
6638 ------------------------------------------------------------------
6639 Bra
6640 ^
6641 a*+
6642 b
6643 \d
6644 Ket
6645 End
6646 ------------------------------------------------------------------
6647 Capturing subpattern count = 0
6648 Options: anchored
6649 No first char
6650 Need char = 'b'
6651
6652 /^a+A\d/DZ
6653 ------------------------------------------------------------------
6654 Bra
6655 ^
6656 a++
6657 A
6658 \d
6659 Ket
6660 End
6661 ------------------------------------------------------------------
6662 Capturing subpattern count = 0
6663 Options: anchored
6664 No first char
6665 Need char = 'A'
6666 aaaA5
6667 0: aaaA5
6668 ** Failers
6669 No match
6670 aaaa5
6671 No match
6672
6673 /^a*A\d/IiDZ
6674 ------------------------------------------------------------------
6675 Bra
6676 ^
6677 a*
6678 NC A
6679 \d
6680 Ket
6681 End
6682 ------------------------------------------------------------------
6683 Capturing subpattern count = 0
6684 Options: anchored caseless
6685 No first char
6686 Need char = 'A' (caseless)
6687 aaaA5
6688 0: aaaA5
6689 aaaa5
6690 0: aaaa5
6691
6692 /(a*|b*)[cd]/IS
6693 Capturing subpattern count = 1
6694 No options
6695 No first char
6696 No need char
6697 Subject length lower bound = 1
6698 Starting byte set: a b c d
6699
6700 /(a+|b*)[cd]/IS
6701 Capturing subpattern count = 1
6702 No options
6703 No first char
6704 No need char
6705 Subject length lower bound = 1
6706 Starting byte set: a b c d
6707
6708 /(a*|b+)[cd]/IS
6709 Capturing subpattern count = 1
6710 No options
6711 No first char
6712 No need char
6713 Subject length lower bound = 1
6714 Starting byte set: a b c d
6715
6716 /(a+|b+)[cd]/IS
6717 Capturing subpattern count = 1
6718 No options
6719 No first char
6720 No need char
6721 Subject length lower bound = 2
6722 Starting byte set: a b
6723
6724 /((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
6725 ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
6726 (((
6727 a
6728 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
6729 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
6730 )))
6731 /Ix
6732 Capturing subpattern count = 203
6733 Options: extended
6734 First char = 'a'
6735 No need char
6736 large nest
6737 Matched, but too many substrings
6738 0: a
6739 1: a
6740 2: a
6741 3: a
6742 4: a
6743 5: a
6744 6: a
6745 7: a
6746 8: a
6747 9: a
6748 10: a
6749 11: a
6750 12: a
6751 13: a
6752 14: a
6753
6754 /a*\d/BZ
6755 ------------------------------------------------------------------
6756 Bra
6757 a*+
6758 \d
6759 Ket
6760 End
6761 ------------------------------------------------------------------
6762
6763 /a*\D/BZ
6764 ------------------------------------------------------------------
6765 Bra
6766 a*
6767 \D
6768 Ket
6769 End
6770 ------------------------------------------------------------------
6771
6772 /0*\d/BZ
6773 ------------------------------------------------------------------
6774 Bra
6775 0*
6776 \d
6777 Ket
6778 End
6779 ------------------------------------------------------------------
6780
6781 /0*\D/BZ
6782 ------------------------------------------------------------------
6783 Bra
6784 0*+
6785 \D
6786 Ket
6787 End
6788 ------------------------------------------------------------------
6789
6790 /a*\s/BZ
6791 ------------------------------------------------------------------
6792 Bra
6793 a*+
6794 \s
6795 Ket
6796 End
6797 ------------------------------------------------------------------
6798
6799 /a*\S/BZ
6800 ------------------------------------------------------------------
6801 Bra
6802 a*
6803 \S
6804 Ket
6805 End
6806 ------------------------------------------------------------------
6807
6808 / *\s/BZ
6809 ------------------------------------------------------------------
6810 Bra
6811 *
6812 \s
6813 Ket
6814 End
6815 ------------------------------------------------------------------
6816
6817 / *\S/BZ
6818 ------------------------------------------------------------------
6819 Bra
6820 *+
6821 \S
6822 Ket
6823 End
6824 ------------------------------------------------------------------
6825
6826 /a*\w/BZ
6827 ------------------------------------------------------------------
6828 Bra
6829 a*
6830 \w
6831 Ket
6832 End
6833 ------------------------------------------------------------------
6834
6835 /a*\W/BZ
6836 ------------------------------------------------------------------
6837 Bra
6838 a*+
6839 \W
6840 Ket
6841 End
6842 ------------------------------------------------------------------
6843
6844 /=*\w/BZ
6845 ------------------------------------------------------------------
6846 Bra
6847 =*+
6848 \w
6849 Ket
6850 End
6851 ------------------------------------------------------------------
6852
6853 /=*\W/BZ
6854 ------------------------------------------------------------------
6855 Bra
6856 =*
6857 \W
6858 Ket
6859 End
6860 ------------------------------------------------------------------
6861
6862 /\d*a/BZ
6863 ------------------------------------------------------------------
6864 Bra
6865 \d*+
6866 a
6867 Ket
6868 End
6869 ------------------------------------------------------------------
6870
6871 /\d*2/BZ
6872 ------------------------------------------------------------------
6873 Bra
6874 \d*
6875 2
6876 Ket
6877 End
6878 ------------------------------------------------------------------
6879
6880 /\d*\d/BZ
6881 ------------------------------------------------------------------
6882 Bra
6883 \d*
6884 \d
6885 Ket
6886 End
6887 ------------------------------------------------------------------
6888
6889 /\d*\D/BZ
6890 ------------------------------------------------------------------
6891 Bra
6892 \d*+
6893 \D
6894 Ket
6895 End
6896 ------------------------------------------------------------------
6897
6898 /\d*\s/BZ
6899 ------------------------------------------------------------------
6900 Bra
6901 \d*+
6902 \s
6903 Ket
6904 End
6905 ------------------------------------------------------------------
6906
6907 /\d*\S/BZ
6908 ------------------------------------------------------------------
6909 Bra
6910 \d*
6911 \S
6912 Ket
6913 End
6914 ------------------------------------------------------------------
6915
6916 /\d*\w/BZ
6917 ------------------------------------------------------------------
6918 Bra
6919 \d*
6920 \w
6921 Ket
6922 End
6923 ------------------------------------------------------------------
6924
6925 /\d*\W/BZ
6926 ------------------------------------------------------------------
6927 Bra
6928 \d*+
6929 \W
6930 Ket
6931 End
6932 ------------------------------------------------------------------
6933
6934 /\D*a/BZ
6935 ------------------------------------------------------------------
6936 Bra
6937 \D*
6938 a
6939 Ket
6940 End
6941 ------------------------------------------------------------------
6942
6943 /\D*2/BZ
6944 ------------------------------------------------------------------
6945 Bra
6946 \D*+
6947 2
6948 Ket
6949 End
6950 ------------------------------------------------------------------
6951
6952 /\D*\d/BZ
6953 ------------------------------------------------------------------
6954 Bra
6955 \D*+
6956 \d
6957 Ket
6958 End
6959 ------------------------------------------------------------------
6960
6961 /\D*\D/BZ
6962 ------------------------------------------------------------------
6963 Bra
6964 \D*
6965 \D
6966 Ket
6967 End
6968 ------------------------------------------------------------------
6969
6970 /\D*\s/BZ
6971 ------------------------------------------------------------------
6972 Bra
6973 \D*
6974 \s
6975 Ket
6976 End
6977 ------------------------------------------------------------------
6978
6979 /\D*\S/BZ
6980 ------------------------------------------------------------------
6981 Bra
6982 \D*
6983 \S
6984 Ket
6985 End
6986 ------------------------------------------------------------------
6987
6988 /\D*\w/BZ
6989 ------------------------------------------------------------------
6990 Bra
6991 \D*
6992 \w
6993 Ket
6994 End
6995 ------------------------------------------------------------------
6996
6997 /\D*\W/BZ
6998 ------------------------------------------------------------------
6999 Bra
7000 \D*
7001 \W
7002 Ket
7003 End
7004 ------------------------------------------------------------------
7005
7006 /\s*a/BZ
7007 ------------------------------------------------------------------
7008 Bra
7009 \s*+
7010 a
7011 Ket
7012 End
7013 ------------------------------------------------------------------
7014
7015 /\s*2/BZ
7016 ------------------------------------------------------------------
7017 Bra
7018 \s*+
7019 2
7020 Ket
7021 End
7022 ------------------------------------------------------------------
7023
7024 /\s*\d/BZ
7025 ------------------------------------------------------------------
7026 Bra
7027 \s*+
7028 \d
7029 Ket
7030 End
7031 ------------------------------------------------------------------
7032
7033 /\s*\D/BZ
7034 ------------------------------------------------------------------
7035 Bra
7036 \s*
7037 \D
7038 Ket
7039 End
7040 ------------------------------------------------------------------
7041
7042 /\s*\s/BZ
7043 ------------------------------------------------------------------
7044 Bra
7045 \s*
7046 \s
7047 Ket
7048 End
7049 ------------------------------------------------------------------
7050
7051 /\s*\S/BZ
7052 ------------------------------------------------------------------
7053 Bra
7054 \s*+
7055 \S
7056 Ket
7057 End
7058 ------------------------------------------------------------------
7059
7060 /\s*\w/BZ
7061 ------------------------------------------------------------------
7062 Bra
7063 \s*+
7064 \w
7065 Ket
7066 End
7067 ------------------------------------------------------------------
7068
7069 /\s*\W/BZ
7070 ------------------------------------------------------------------
7071 Bra
7072 \s*
7073 \W
7074 Ket
7075 End
7076 ------------------------------------------------------------------
7077
7078 /\S*a/BZ
7079 ------------------------------------------------------------------
7080 Bra
7081 \S*
7082 a
7083 Ket
7084 End
7085 ------------------------------------------------------------------
7086
7087 /\S*2/BZ
7088 ------------------------------------------------------------------
7089 Bra
7090 \S*
7091 2
7092 Ket
7093 End
7094 ------------------------------------------------------------------
7095
7096 /\S*\d/BZ
7097 ------------------------------------------------------------------
7098 Bra
7099 \S*
7100 \d
7101 Ket
7102 End
7103 ------------------------------------------------------------------
7104
7105 /\S*\D/BZ
7106 ------------------------------------------------------------------
7107 Bra
7108 \S*
7109 \D
7110 Ket
7111 End
7112 ------------------------------------------------------------------
7113
7114 /\S*\s/BZ
7115 ------------------------------------------------------------------
7116 Bra
7117 \S*+
7118 \s
7119 Ket
7120 End
7121 ------------------------------------------------------------------
7122
7123 /\S*\S/BZ
7124 ------------------------------------------------------------------
7125 Bra
7126 \S*
7127 \S
7128 Ket
7129 End
7130 ------------------------------------------------------------------
7131
7132 /\S*\w/BZ
7133 ------------------------------------------------------------------
7134 Bra
7135 \S*
7136 \w
7137 Ket
7138 End
7139 ------------------------------------------------------------------
7140
7141 /\S*\W/BZ
7142 ------------------------------------------------------------------
7143 Bra
7144 \S*
7145 \W
7146 Ket
7147 End
7148 ------------------------------------------------------------------
7149
7150 /\w*a/BZ
7151 ------------------------------------------------------------------
7152 Bra
7153 \w*
7154 a
7155 Ket
7156 End
7157 ------------------------------------------------------------------
7158
7159 /\w*2/BZ
7160 ------------------------------------------------------------------
7161 Bra
7162 \w*
7163 2
7164 Ket
7165 End
7166 ------------------------------------------------------------------
7167
7168 /\w*\d/BZ
7169 ------------------------------------------------------------------
7170 Bra
7171 \w*
7172 \d
7173 Ket
7174 End
7175 ------------------------------------------------------------------
7176
7177 /\w*\D/BZ
7178 ------------------------------------------------------------------
7179 Bra
7180 \w*
7181 \D
7182 Ket
7183 End
7184 ------------------------------------------------------------------
7185
7186 /\w*\s/BZ
7187 ------------------------------------------------------------------
7188 Bra
7189 \w*+
7190 \s
7191 Ket
7192 End
7193 ------------------------------------------------------------------
7194
7195 /\w*\S/BZ
7196 ------------------------------------------------------------------
7197 Bra
7198 \w*
7199 \S
7200 Ket
7201 End
7202 ------------------------------------------------------------------
7203
7204 /\w*\w/BZ
7205 ------------------------------------------------------------------
7206 Bra
7207 \w*
7208 \w
7209 Ket
7210 End
7211 ------------------------------------------------------------------
7212
7213 /\w*\W/BZ
7214 ------------------------------------------------------------------
7215 Bra
7216 \w*+