summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-02-14 01:00:15 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-02-14 01:00:15 +0000
commit9e67d94e6e4396a78a2012441f9359240f5b4bdd (patch)
treefc1c6466e151f0e066a87df256b70d1b8cc35a91 /regexec.c
parent9d8a25dc64d23dcd5730db9be0dbe94a107e1f8b (diff)
parentb17fe6e572cf341e620c89fc18fb670ef7f916a6 (diff)
downloadperl-9e67d94e6e4396a78a2012441f9359240f5b4bdd.tar.gz
[asperl] bring ASPerl uptodate with mainline changes
p4raw-id: //depot/asperl@524
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index d3b6783279..7a0e84a0c1 100644
--- a/regexec.c
+++ b/regexec.c
@@ -939,7 +939,7 @@ regmatch(regnode *prog)
n = ARG(scan); /* which paren pair */
s = regstartp[n];
if (*reglastparen < n || !s)
- break; /* Zero length always matches */
+ sayNO; /* Do not match unless seen CLOSEn. */
if (s == regendp[n])
break;
/* Inline the first character, for speed. */