X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT 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: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrleefgdefvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesthdtre dtreertdenucfhrhhomhepfdetnhhthhhonhihucfjvggrughinhhgfdcuoegrjhhrhhes rghjrhhhrdhnvghtqeenucggtffrrghtthgvrhhnpeelhfdvjeeigfefhfelvdevudetie elfefgvdelheeuueeiudffveettddtjeevkeenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpegrjhhrhhesrghjrhhhrdhnvght X-ME-Proxy: 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: <20220224213229 DOT berg5rjisexeuue3 AT lucy DOT dinwoodie DOT org> Date: Thu, 24 Feb 2022 20:45:13 -0500 From: "Anthony Heading" To: cygwin AT cygwin DOT 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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