aboutsummaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/regexec.c b/regexec.c
index 848d911..d047929 100644
--- a/regexec.c
+++ b/regexec.c
@@ -415,9 +415,6 @@ find(
if (end != NULL) {
break; /* NOTE BREAK OUT */
}
- if (v->eflags & REG_ANCHORED) {
- break; /* NOTE BREAK OUT */
- }
}
assert(end != NULL); /* search RE succeeded so loop should */
freedfa(d);
@@ -581,9 +578,6 @@ cfindloop(
estop = prevchr(v, end);
}
}
- if (v->eflags & REG_ANCHORED) {
- break; /* NOTE BREAK OUT */
- }
}
} while (close < v->stop);