sed 4.0.5 regexp problem

Peter S Tillier peter_tillier@yahoo.co.uk
Mon Mar 3 22:56:00 GMT 2003


----- Original Message -----
From: "Berger David-MGI2063" <dberger@motorola.com>
To: <cygwin@cygwin.com>
Sent: Friday, February 28, 2003 11:37 PM
Subject: sed 4.0.5 regexp problem


> 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.
>
> David
>
I reported this to Paolo Bonzini (GNU sed maintainer).  He's
looking into it.

Peter S Tillier
"Who needs perl when you can write dc, sokoban and an unlambda
interpreter in sed?"


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
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