pcre regexps in git?
Fri Feb 25 01:45:13 GMT 2022
On Thu, Feb 24, 2022, at 4:32 PM, Adam Dinwoodie wrote:
> I'll see what I can do to get it working again for you!
Adam, that is so nice of you, thank you!
On Thu, Feb 24, 2022, at 6:54 PM, Allen Hewes wrote:
> Am I missing something?
yup, "git grep" not "grep"
On Thu, Feb 24, 2022, at 7:27 PM, Yasuhiro Kimura wrote:
> On my 64bit Windows 10 PC `git grep -P` works fine with both cygwin64 and cygwin32.
... which gave me that sinking embarrassing feeling that maybe I had made my own samizdat build of git in a rush one day and left it lying on my path... :-O but I think git checks for plain strings before calling the regex engine
/src/zsh% git grep -P _cygpath
/src/zsh% git grep -P _cygp.th
fatal: cannot use Perl-compatible regexes when not compiled with USE_LIBPCRE
More information about the Cygwin