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

Contents of /code/trunk/testdata/testoutput2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 455 - (show annotations) (download)
Sat Sep 26 19:12:32 2009 UTC (5 years, 1 month ago) by ph10
File size: 210587 byte(s)
Added lower bound length-finding to pcre_study() and use it when matching; make 
the value available via pcre_fullinfo(); also fixed bugs connected with
pcre_study() in pcre_dfa_exec(). 

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