sed 4.0.5 regexp problem
Corinna Vinschen
corinna-cygwin@cygwin.com
Sat Mar 1 16:26:00 GMT 2003
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@cygwin.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/
More information about the Cygwin
mailing list