1 |
Testing Perl-Compatible Regular Expressions |
Testing Perl-Compatible Regular Expressions |
2 |
PCRE version 1.00 18-Nov-1997 |
PCRE version 1.04 22-Dec-1997 |
3 |
|
|
4 |
/(a)b|/ |
/(a)b|/ |
5 |
Identifying subpattern count = 1 |
Identifying subpattern count = 1 |
566 |
12345+ |
12345+ |
567 |
No match |
No match |
568 |
|
|
569 |
|
/([a]*)*/ |
570 |
|
Failed: operand of unlimited repeat could match the empty string at offset 6 |
571 |
|
|
572 |
|
/([ab]*)*/ |
573 |
|
Failed: operand of unlimited repeat could match the empty string at offset 7 |
574 |
|
|
575 |
|
/([^a]*)*/ |
576 |
|
Failed: operand of unlimited repeat could match the empty string at offset 7 |
577 |
|
|
578 |
|
/([^ab]*)*/ |
579 |
|
Failed: operand of unlimited repeat could match the empty string at offset 8 |
580 |
|
|
581 |
|
/([a]*?)*/ |
582 |
|
Failed: operand of unlimited repeat could match the empty string at offset 7 |
583 |
|
|
584 |
|
/([ab]*?)*/ |
585 |
|
Failed: operand of unlimited repeat could match the empty string at offset 8 |
586 |
|
|
587 |
|
/([^a]*?)*/ |
588 |
|
Failed: operand of unlimited repeat could match the empty string at offset 8 |
589 |
|
|
590 |
|
/([^ab]*?)*/ |
591 |
|
Failed: operand of unlimited repeat could match the empty string at offset 9 |
592 |
|
|
593 |
|
/(?>a*)*/X |
594 |
|
Failed: nothing to repeat at offset 6 |
595 |
|
|
596 |
|
/((?>a*))*/X |
597 |
|
Failed: operand of unlimited repeat could match the empty string at offset 8 |
598 |
|
|
599 |
|
/((?>a*?))*/X |
600 |
|
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 |
/ End of test input / |
/ End of test input / |
609 |
Identifying subpattern count = 0 |
Identifying subpattern count = 0 |
610 |
No options |
No options |