summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 9840097663..d03fe3e8ef 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -8787,7 +8787,7 @@ tryagain:
* position the parse so that this will be called again
* immediately */
if (len) {
- p = RExC_parse + len - 1;
+ p = oldp;
goto loopdone;
}
else {