diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2009-10-04 09:21:39 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2009-10-04 09:21:39 +0000 |
commit | ff6ca31f93c0b34a945871afc954a0aa54800137 (patch) | |
tree | 9f44d2b7a8367d7b81c7f31670b36b9d696bb8b4 /perltest.pl | |
parent | c0aaf57a170aff4923dab5442eb87ad8b09d6c58 (diff) | |
download | pcre-ff6ca31f93c0b34a945871afc954a0aa54800137.tar.gz |
Fix problems with conditional references to duplicate named subpatterns.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@459 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 0d290c1..c4f1c97 100755 --- a/perltest.pl +++ b/perltest.pl @@ -90,6 +90,10 @@ for (;;) # Remove /8 from a UTF-8 pattern. $utf8 = $pattern =~ s/8(?=[a-z]*$)//; + + # Remove /J from a pattern with duplicate names. + + $pattern =~ s/J(?=[a-z]*$)//; # Check that the pattern is valid |