This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug with grep 3.0.2 in cygwin 3.0.7


Greetings, akiki@free.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]