summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
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 bcba723d0f..d4e1fc48c7 100644
--- a/regexec.c
+++ b/regexec.c
@@ -1671,6 +1671,7 @@ regmatch(regnode *prog)
PL_reg_call_cc = state.prev;
PL_regcc = state.cc;
PL_reg_re = state.re;
+ cache_re(PL_reg_re);
sayNO;
}
sw = SvTRUE(ret);