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

Contents of /code/trunk/testdata/testoutput2

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.5