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

Contents of /code/trunk/testdata/testoutput2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 215 - (show annotations) (download)
Wed Aug 15 14:20:05 2007 UTC (7 years, 3 months ago) by ph10
File size: 185330 byte(s)
Fixed overrun for missing ] with a forward reference, e.g. /(?1)\c[/.

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