On 2014-06-23 07:42 PM, Junio C Hamano wrote:
Noel Grandin noelgran...@gmail.com 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
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
Noel Grandin noelgran...@gmail.com 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
3 matches
Mail list logo