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' | sed -e 's/^T\W*\(\w*\)/FuncSymbol(\1),/

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