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

Contents of /code/trunk/testdata/testoutput2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 448 - (show annotations) (download)
Tue Sep 15 19:11:48 2009 UTC (4 years, 10 months ago) by ph10
File size: 194251 byte(s)
Re-organize tests to make is possible to test 5.10 features against Perl.

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