This is the mail archive of the cygwin@cygwin.com 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: sed 4.0.5 regexp problem


On Fri, Feb 28, 2003 at 03:37:33PM -0800, Berger David-MGI2063 wrote:
> The following should be equivalent, they no longer are:
> 
> 	echo 'T _atan2' | sed -e 's/^T\W*\(\w*\)/FuncSymbol(\1),/
> 
> 	echo 'T _atan2' | sed -e 's/^T[[:space:]]*\([[:alnum:]_]*\)/FuncSymbol(\1),/
> 
> The first one used to work, now only the second one does.  This is not good.

Cygwin sed is just plain vanilla sed.  Since sed is using it's own
homebrew of regex it's very likely a sed problem, not a Cygwin problem.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin at cygwin dot com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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