X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=grep.c;h=f492d267cc157d46f899c70d01ea707d737d27ae;hb=0dbe6592ccbd1a394a69a52074e3729d546fe952;hp=3821400966823ff6bf877abf94f4edea9b6b80c6;hpb=1e2545c6878665f2092940eab1aaeb20703f7d14;p=git.git diff --git a/grep.c b/grep.c index 382140096..f492d267c 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;