X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=grep.c;h=f492d267cc157d46f899c70d01ea707d737d27ae;hb=ed6ce4382b5cb34e98ca3db2f19de82a037da322;hp=3821400966823ff6bf877abf94f4edea9b6b80c6;hpb=c1ed5e6b14eb905ac9c745f2faf65d3b8b856101;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;