summaryrefslogtreecommitdiff
path: root/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index a31b94f..b73cd42 100644
--- a/regex.c
+++ b/regex.c
@@ -836,7 +836,6 @@ static inline isize re_search_try_match(ReSearch *s, size_t i, size_t n) {
}
if (s->flags & RE_SEARCH_LAST_CHUNK) {
f |= RE_THREAD_AT_END;
- s->c = C_EOF;
if (re_step_final(s, i, f)) {
found_i = i;
s->match_end = start + i;