[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sed segfaults

From: Stepan Kasal
Subject: Re: sed segfaults
Date: Tue, 11 Nov 2003 14:36:48 +0100
User-agent: Mutt/1.4.1i

  re:        echo xxx|sed "s/\'.*\'/foo/"

On Mon, Nov 10, 2003 at 07:23:12PM +0100, Paolo Bonzini wrote:
> No, fooxxx if I am not missing anything obvious.  It matches the *end*
> of pattern space.

Using medieval torture algorithms, I've finally made Paolo to state that the
only true answer is "xxxfoo".  His only justification was that his recent
experience debugging the regex matcher caused his brain to see regex bugs
everywhere, even if they had already been corrected.  So, using sed 4.0.8,
which does include the bugfixes in the latest CVS, should fix your problem.

Stepan Kasal

reply via email to

[Prev in Thread] Current Thread [Next in Thread]