summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorHugo van der Sanden <hv@crypt.org>1999-04-30 10:26:18 +0100
committerGurusamy Sarathy <gsar@cpan.org>1999-05-10 09:20:56 +0000
commit767d463e9a7ba83b304a4002716436d480285abb (patch)
tree92a411ea3c7833f11ea332ac87c1c539437af203 /regcomp.c
parent1674ad2b1e303fc364a1e2d78f008162a63bded8 (diff)
downloadperl-767d463e9a7ba83b304a4002716436d480285abb.tar.gz
fix overeager [:foo:] parsing
Message-Id: <199904300826.JAA01257@crypt.compulink.co.uk> Subject: [PATCH 5.005_{56,03}] Re: Regular expression difference b/n 5.004 & 5.005 p4raw-id: //depot/perl@3364
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/regcomp.c b/regcomp.c
index 018249c421..cbb94479a8 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -2149,6 +2149,10 @@ regpposixcc(I32 value)
PL_regcomp_parse++; /* skip over the ending ] */
posixcc = s + 1;
}
+ else {
+ /* maternal grandfather */
+ PL_regcomp_parse = s;
+ }
}
}