Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <00d601c2e1d8$0a0b6660$5c16989e@oemcomputer> Reply-To: "Peter S Tillier" From: "Peter S Tillier" To: References: Subject: Re: sed 4.0.5 regexp problem Date: Mon, 3 Mar 2003 22:55:48 -0000 Organization: Private X-Priority: 3 X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 ----- Original Message ----- From: "Berger David-MGI2063" To: 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/