On 2014-06-23 07:42 PM, Junio C Hamano wrote:
Noel Grandin writes:
It looks like the perl regular expression multiline mode does not work with
'git grep'
Yes, and deliberately so, to avoid having to think about things like
"how would a multi-line match interact with 'grep -n'?"
Ah, that
Noel Grandin writes:
> It looks like the perl regular expression multiline mode does not work with
> 'git grep'
Yes, and deliberately so, to avoid having to think about things like
"how would a multi-line match interact with 'grep -n'?"
We behave as if we feed each line of the contents one lin
Hi
It looks like the perl regular expression multiline mode does not work with
'git grep'
for example, something like
git grep -P '(?s)foo.*?bar"
will not match a file in the repo where it has something like
foo
bar
ie. split across two lines
Regards, Noel Grandin
--
To unsubscrib
3 matches
Mail list logo