diff options
Diffstat (limited to 'grep.c')
-rw-r--r-- | grep.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -360,6 +360,7 @@ static int match_one_pattern(struct grep_pat *p, char *bol, char *eol, bol = pmatch[0].rm_so + bol + 1; while (word_char(bol[-1]) && bol < eol) bol++; + eflags |= REG_NOTBOL; if (bol < eol) goto again; } |