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

Contents of /code/trunk/testdata/testoutput2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 602 - (show annotations) (download)
Wed May 25 08:29:03 2011 UTC (3 years, 2 months ago) by ph10
File size: 228733 byte(s)
Remove OP_OPT by handling /i and /m entirely at compile time. Fixes bug with 
patterns like /(?i:([^b]))(?1)/, where the /i option was mishandled.

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