1 |
Testing Perl-Compatible Regular Expressions |
Testing Perl-Compatible Regular Expressions |
2 |
PCRE version 1.01 19-Nov-1997 |
PCRE version 1.07 16-Feb-1998 |
3 |
|
|
4 |
/(a)b|/ |
/(a)b|/ |
5 |
Identifying subpattern count = 1 |
Identifying subpattern count = 1 |
599 |
/((?>a*?))*/X |
/((?>a*?))*/X |
600 |
Failed: operand of unlimited repeat could match the empty string at offset 9 |
Failed: operand of unlimited repeat could match the empty string at offset 9 |
601 |
|
|
602 |
|
/)/ |
603 |
|
Failed: unmatched brackets at offset 0 |
604 |
|
|
605 |
|
/a[]b/ |
606 |
|
Failed: missing terminating ] for character class at offset 4 |
607 |
|
|
608 |
|
/[^a]/ |
609 |
|
Identifying subpattern count = 0 |
610 |
|
No options |
611 |
|
No first char |
612 |
|
\Iaaaabcd |
613 |
|
0: b |
614 |
|
\IaaAabcd |
615 |
|
0: b |
616 |
|
|
617 |
|
/[^az]/ |
618 |
|
Identifying subpattern count = 0 |
619 |
|
No options |
620 |
|
No first char |
621 |
|
\Iaaaabcd |
622 |
|
0: b |
623 |
|
\IaaAabcd |
624 |
|
0: b |
625 |
|
|
626 |
|
/[^az]/ |
627 |
|
Identifying subpattern count = 0 |
628 |
|
No options |
629 |
|
No first char |
630 |
|
\Izazabcd |
631 |
|
0: b |
632 |
|
\IAaZabcd |
633 |
|
0: b |
634 |
|
|
635 |
|
/[^aeiou ]{3,}/ |
636 |
|
Identifying subpattern count = 0 |
637 |
|
No options |
638 |
|
No first char |
639 |
|
co-processors, and for |
640 |
|
0: -pr |
641 |
|
\Ico-processors, and for |
642 |
|
0: -pr |
643 |
|
|
644 |
|
/((a)*)*/ |
645 |
|
Failed: operand of unlimited repeat could match the empty string at offset 6 |
646 |
|
|
647 |
|
/((a|b|c)*)*/ |
648 |
|
Failed: operand of unlimited repeat could match the empty string at offset 10 |
649 |
|
|
650 |
/ End of test input / |
/ End of test input / |
651 |
Identifying subpattern count = 0 |
Identifying subpattern count = 0 |
652 |
No options |
No options |