X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C4CAD3858402
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=ajrh.net
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ajrh.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajrh.net; h=cc
 :content-type:date:date:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to; s=mesmtp; bh=vEMLGFUy/UBp/SXiyIiVDtbos3FVxTLWaIm
 akAmRNfc=; b=QP5bmP8UPoPYiMeezZQMr+1AOyOC5rndvqmFerTTYZ61AKqTg7+
 SzcDnewbr9WlcTX7os3uLwPaVQV2xAm4PdqTzAkaYLwxuC0x5MctEUiux9Y2AZAj
 2j6r2EpUsQNmjGLkKxEb/PkCI4ASVN2TNkO5sTQI/NhT9XLz1TK8weiU=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:date:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=vEMLGFUy/UBp/SXiy
 IiVDtbos3FVxTLWaImakAmRNfc=; b=Tdjx0hhsO7p3sbEkYEZYY2DJ5toRrK2rO
 5vSPbaNaB9PaPCtqKwPOtEeY8UsZOf9ojr7JrdcqRIxDmnhKaStJoh2zehIJO9GD
 avaQ7LswfA12I3XFuAtah9SRiGZid7+wZ/QrI0Zr//dbl5DeqTMkUUVOlxrlcJLU
 Hnn6aOL837eExPtnF//h1GTSx/XoIJW4wHlHtRV0AZmgHiBx6qEBEt9Y8kjViyck
 ry8iFTIVhFNrct6CTKa/px2phVC5mEBEejffqOhG/pbH979Cv+sxxFC2yC7/Hx+P
 p7JVnNAKgVxXpuoJKXCgDOhj0sknvunibX+hGHnVWBxhwUgQ0eQfQ==
X-ME-Sender: <xms:vTQYYs235Fww09-yVBMUEMGKdUz34-UwBh3G0CxPFCqtWTUQs2SyjQ>
 <xme:vTQYYnGMdolpvDhTT5i4N3MnW49cOIjJFaUpfCPQy-RBiZgsRUw-Nzf5ygBeJRYXY
 -6iA6X59rhJHREz>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrleefgdefvdcutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesthdtre
 dtreertdenucfhrhhomhepfdetnhhthhhonhihucfjvggrughinhhgfdcuoegrjhhrhhes
 rghjrhhhrdhnvghtqeenucggtffrrghtthgvrhhnpeelhfdvjeeigfefhfelvdevudetie
 elfefgvdelheeuueeiudffveettddtjeevkeenucevlhhushhtvghrufhiiigvpedtnecu
 rfgrrhgrmhepmhgrihhlfhhrohhmpegrjhhrhhesrghjrhhhrdhnvght
X-ME-Proxy: <xmx:vTQYYk6qM3fVPKNAfqbjtwuEpMYbm5n9YtZl6zvPR7OCRCjbf40KqQ>
 <xmx:vTQYYl0DzRRxxa4XzaG9M92fB6qZsMGE-JjBM986MJBNP1ACZu26Rw>
 <xmx:vTQYYvHATwjviaDJ8Ad2L14vguJB_Z6gcnECuiBI818vr4O_VWRfxg>
 <xmx:vTQYYiODAqwfVZQ_3TyrWVcMq5NjKdBFTkEXjo6QscSJMhedbsXPng>
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-4778-g14fba9972e-fm-20220217.001-g14fba997
Mime-Version: 1.0
Message-Id: <1c45d2e7-dde1-45ab-ad24-469b39760d5d@www.fastmail.com>
In-Reply-To: <20220224213229.berg5rjisexeuue3@lucy.dinwoodie.org>
References: <ca3a3890-e097-4a0e-9de1-b91a05c64fa2@www.fastmail.com>
 <20220224213229.berg5rjisexeuue3@lucy.dinwoodie.org>
Date: Thu, 24 Feb 2022 20:45:13 -0500
From: "Anthony Heading" <ajrh@ajrh.net>
To: cygwin@cygwin.com
Subject: Re: pcre regexps in git?
X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,
 SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

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
Etc/ChangeLog-4.1:      Completion/Cygwin/Command/_cygpath,
Etc/ChangeLog-4.1:      Completion/Cygwin/Command/_cygpath,
Etc/ChangeLog-4.3:      Completion/Cygwin/Command/_cygpath,
/src/zsh% git grep -P _cygp.th
fatal: cannot use Perl-compatible regexes when not compiled with USE_LIBPCRE

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
