| 1 |
|
/-- This set of tests is for features that are compatible with all versions of |
| 2 |
|
Perl 5, in non-UTF-8 mode. --/ |
| 3 |
|
|
| 4 |
/the quick brown fox/ |
/the quick brown fox/ |
| 5 |
the quick brown fox |
the quick brown fox |
| 6 |
0: the quick brown fox |
0: the quick brown fox |
| 3752 |
foobarbaz |
foobarbaz |
| 3753 |
No match |
No match |
| 3754 |
|
|
| 3755 |
/The case of aaaaaa is missed out below because I think Perl 5.005_02 gets/ |
/The cases of aaaa and aaaaaa are missed out below because Perl does things/ |
| 3756 |
/it wrong; it sets $1 to aaa rather than aa. Compare the following test,/ |
/differently. We know that odd, and maybe incorrect, things happen with/ |
| 3757 |
No match |
No match |
| 3758 |
/where it does set $1 to aa when matching aaaaaa./ |
/recursive references in Perl, as far as 5.11.3 - see some stuff in test #2./ |
| 3759 |
No match |
No match |
| 3760 |
|
|
| 3761 |
/^(a\1?){4}$/ |
/^(a\1?){4}$/ |
| 3765 |
No match |
No match |
| 3766 |
aaa |
aaa |
| 3767 |
No match |
No match |
|
aaaa |
|
|
0: aaaa |
|
|
1: a |
|
| 3768 |
aaaaa |
aaaaa |
| 3769 |
0: aaaaa |
0: aaaaa |
| 3770 |
1: a |
1: a |
| 6646 |
0: %ab% |
0: %ab% |
| 6647 |
1: |
1: |
| 6648 |
|
|
| 6649 |
/ End of testinput1 / |
/(?i)a(?-i)b|c/ |
| 6650 |
|
XabX |
| 6651 |
|
0: ab |
| 6652 |
|
XAbX |
| 6653 |
|
0: Ab |
| 6654 |
|
CcC |
| 6655 |
|
0: c |
| 6656 |
|
** Failers |
| 6657 |
|
No match |
| 6658 |
|
XABX |
| 6659 |
|
No match |
| 6660 |
|
|
| 6661 |
|
/[\x00-\xff\s]+/ |
| 6662 |
|
\x0a\x0b\x0c\x0d |
| 6663 |
|
0: \x0a\x0b\x0c\x0d |
| 6664 |
|
|
| 6665 |
|
/-- End of testinput1 --/ |