X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=grep.c;h=9c5e1cd950c8d1d97290a047fb3780482f8eb8b7;hb=dbdc07fcbe3a951df8a3869b42edb6fffd466486;hp=b29d09c7f6a5a7f9621fb5287eb07e72ece7f484;hpb=963838402a94e7fcbd1a73019f80aff708972af8;p=git.git diff --git a/grep.c b/grep.c index b29d09c7f..9c5e1cd95 100644 --- a/grep.c +++ b/grep.c @@ -79,7 +79,7 @@ static void compile_pcre_regexp(struct grep_pat *p, const struct grep_opt *opt) { const char *error; int erroffset; - int options = 0; + int options = PCRE_MULTILINE; if (opt->ignore_case) options |= PCRE_CASELESS;