diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-11-29 15:34:12 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-11-29 15:34:12 +0000 |
commit | 16679a7e31ef76cfc6d2026278768d800bf31fbe (patch) | |
tree | bab1731cf5dd006c566fe077a7195b482f7b3c9a /perltest.pl | |
parent | 2790821e0a8cab583222865c95a311efa6d5757c (diff) | |
download | pcre-16679a7e31ef76cfc6d2026278768d800bf31fbe.tar.gz |
Update *MARK handling to be more like Perl.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@771 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'perltest.pl')
-rwxr-xr-x | perltest.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perltest.pl b/perltest.pl index ccddd64..d81a6c4 100755 --- a/perltest.pl +++ b/perltest.pl @@ -111,6 +111,10 @@ for (;;) $pattern =~ s/S(?=[a-zA-Z]*$)//g; + # Remove /Y from a pattern (asks pcretest to disable PCRE optimization) + + $pattern =~ s/Y(?=[a-zA-Z]*$)//; + # Check that the pattern is valid eval "\$_ =~ ${pattern}"; |