Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
ident.c: add split_ident_line() to parse formatted ident line
[gitweb.git]
/
grep.c
diff --git
a/grep.c
b/grep.c
index 3821400966823ff6bf877abf94f4edea9b6b80c6..f492d267cc157d46f899c70d01ea707d737d27ae 100644
(file)
--- 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;