From: Noel Grandin <noelgrandin@gmail.com>
To: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: bug: git grep -P and multiline mode
Date: Mon, 23 Jun 2014 08:54:29 +0200 [thread overview]
Message-ID: <53A7CF25.7060508@gmail.com> (raw)
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
next reply other threads:[~2014-06-23 6:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-23 6:54 Noel Grandin [this message]
2014-06-23 17:42 ` bug: git grep -P and multiline mode Junio C Hamano
2014-06-24 7:34 ` Noel Grandin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53A7CF25.7060508@gmail.com \
--to=noelgrandin@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).