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

Contents of /code/trunk/testdata/testoutput2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 408 - (show annotations) (download)
Fri Mar 27 17:52:03 2009 UTC (5 years, 5 months ago) by ph10
File size: 197042 byte(s)
Fix forward references when duplicate group numbers are involved.

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