Re: sed 4.0.5 regexp problem

2003-03-03 Thread Peter S Tillier
- Original Message - From: "Berger David-MGI2063" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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

Re: sed 4.0.5 regexp problem

2003-03-01 Thread Corinna Vinschen
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

sed 4.0.5 regexp problem

2003-02-28 Thread Berger David-MGI2063
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 -- U