[Top][All Lists]

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

Re: address@hidden: Re: re-builder bug(s)]

From: P.L.Hayes
Subject: Re: address@hidden: Re: re-builder bug(s)]
Date: Fri, 09 Mar 2007 19:48:54 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)

Detlev Zundel <address@hidden> writes:

> Ok, attached is a patch that changes the behaviour of re-builder when
> it comes to what it previously considered empty regexps.  It now
> counts words, lines and other zero-width regexps.  
> Although I think the new behaviour is consistent in that it now also
> counts (up to its defined maximum) the numbers of characters in a
> buffer when confronted with an empty regexp (after all
> re-search-forward matches), I don't know if that is what users would
> expect.
> What do you think?

That patch works and (as a user) I think either that behaviour or some
message in the modeline other than "*invalid*" would've been
sufficient to preclude my earlier confusion.



reply via email to

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