summaryrefslogtreecommitdiff
path: root/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index c6167b04ba..52094fe87b 100644
--- a/regex.c
+++ b/regex.c
@@ -3636,7 +3636,7 @@ re_match(bufp, string_arg, size, pos, regs)
goto fail;
SET_REGS_MATCHED;
d += mbclen(*d);
- break;
+ continue;
}
if (!(options&RE_OPTION_POSIXLINE) &&
(TRANSLATE_P() ? translate[*d] : *d) == '\n')