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

Contents of /code/trunk/testdata/testoutput2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 264 - (show annotations) (download)
Tue Nov 13 11:07:16 2007 UTC (6 years, 5 months ago) by ph10
File size: 189174 byte(s)
Fix [\S] etc. bug in UTF-8 mode with characters > 255.

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