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

Contents of /code/trunk/testdata/testoutput2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 87 - (show annotations) (download)
Sat Feb 24 21:41:21 2007 UTC (7 years, 5 months ago) by nigel
File size: 124961 byte(s)
Load pcre-6.5 into code/trunk.

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

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12