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
commit565af50fd66d190d88c0d3b75493472e73ae0637 (patch)
tree03d3b5249fa159f7006edc3893c6edef0568a7a7 /regexec.c
parent2bbacac20cc1067cb754f79d49e347f4c4d3a565 (diff)
downloadperl-565af50fd66d190d88c0d3b75493472e73ae0637.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) {