- 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
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
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
3 matches
Mail list logo