summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorRichard Kandarian <richard.kandarian@lanl.gov>2002-11-21 01:00:20 -0700
committerhv <hv@crypt.org>2002-12-23 05:27:25 +0000
commit03994de86de9fdff188863fc25636fecf2362e27 (patch)
tree03d3b5249fa159f7006edc3893c6edef0568a7a7 /regexec.c
parent0773b1f011791ecd1735dad376fcc533a738a2f0 (diff)
downloadperl-03994de86de9fdff188863fc25636fecf2362e27.tar.gz
[perl #18544] Patch included to fix problem.
(from RT) p4raw-id: //depot/perl@18342
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/regexec.c b/regexec.c
index 53e4015bed..4cf80692f2 100644
--- a/regexec.c
+++ b/regexec.c
@@ -2110,6 +2110,7 @@ S_regtry(pTHX_ regexp *prog, char *startpos)
PL_reglastparen = &prog->lastparen;
PL_reglastcloseparen = &prog->lastcloseparen;
prog->lastparen = 0;
+ prog->lastcloseparen = 0;
PL_regsize = 0;
DEBUG_r(PL_reg_starttry = startpos);
if (PL_reg_start_tmpl <= prog->nparens) {