diff options
Diffstat (limited to 'regex.c')
-rw-r--r-- | regex.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4121,6 +4121,7 @@ re_match(bufp, string_arg, size, pos, regs) case wordbound: if (AT_STRINGS_BEG(d)) { + if (AT_STRINGS_END(d)) goto fail; if (IS_A_LETTER(d)) break; else goto fail; } |