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 Date: Sat, 1 Mar 2003 16:32:42 +0100 From: Corinna Vinschen To: "'cygwin AT cygwin DOT com'" Subject: Re: sed 4.0.5 regexp problem Message-ID: <20030301153242.GD1193@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: "'cygwin AT cygwin DOT com'" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i 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 one used to work, now only the second one does. This is not good. Cygwin sed is just plain vanilla sed. Since sed is using it's own homebrew of regex it's very likely a sed problem, not a Cygwin problem. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/