X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=LusHE1ySg3IGJifA k4400Ea2VFuIZci5WK3X8ZnIrltFL4VhQLi6aoz4lalNlzzA1j11SirkjDTDVU6g p6HkfoOV2YEkV8hb2abWwuuQpoV61slHnqiu6u8U5Eb83Z4J+TxOLAM7T4//o6mY WouSrji/2aDS8pkY0aSlbmdwm2U= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=/9ez9E4jzFRAO/EWTwfKKt tLi0Q=; b=Os4IzkmFc+QwA8RQiSM44D2ReMj8Q08+oZ0XDQc3PK27lKEfNkLDC7 ht0xlKieCtixKYA1YC+7m6qS8pPGEsZYH/dL+t2G2xvSos+KeuKYXUqgC048ykUY 4Q4lNHKJCey/LoC/AzH/gAld6UcLSIk4HUXHvDtOObRoQ9mDNGgGM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=2.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_NUMSUBJECT,KAM_THEBAT,RCVD_IN_DNSWL_LOW,RCVD_IN_JMF_BL,SPF_PASS autolearn=no version=3.3.1 spammy=H*M:yandex, HX-Languages-Length:600, H*x:Bat!, H*UA:Bat! X-HELO: forward101j.mail.yandex.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1567106401; bh=7XPPuP84ASN2VjYm9YVmcDHFXegGQrjt9qiGGB5j5PE=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=neJ03cBKgwOBFpi2RMrtt+EMLrNWPdUDSpAYdPxIKv3eimERn8qFwIPfz4as+sv5L LAjP/l0PGgaBhmX9iQSFNKSaQDAq3Y0S7Vt2fCuFRyZ3Nl5wsQB55iXoKrpCweL+mZ fhIBDaeSgT3UQLCgTSo2CzLYGUXFpyAXgyBd0vuU= Authentication-Results: mxback16j.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Thu, 29 Aug 2019 22:08:11 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <8910174142.20190829220811@yandex.ru> To: akiki AT free DOT fr, cygwin AT cygwin DOT com Subject: Re: bug with grep 3.0.2 in cygwin 3.0.7 In-Reply-To: <1207614124.1217647925.1566976580120.JavaMail.root@zimbra76-e14.priv.proxad.net> References: <1910922536 DOT 1217465852 DOT 1566975322390 DOT JavaMail DOT root AT zimbra76-e14 DOT priv DOT proxad DOT net> <1207614124 DOT 1217647925 DOT 1566976580120 DOT JavaMail DOT root AT zimbra76-e14 DOT priv DOT proxad DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, akiki AT free DOT fr! > Hi, > I encounter some problem with grep option -E on cygwin 3.0.7 > echo "a^b" | grep "a^b" #answer a^b ie it's OK > but > echo "a^b" | grep -E "a^b" #answer nothing " for me it's KO That's an expected result of an impossible constraint. > I have to backslash ^ to be OK like : grep -E 'a\^b' Yes. > Is-it a bug ? No. > I don't know if all versions of cygwin and grep are concerned. RTFM, this is regexp basics. -- With best regards, Andrey Repin Thursday, August 29, 2019 22:07:04 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple