unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [paul@wolfbone.ath.cx: Re: re-builder bug(s)]
@ 2007-03-06 22:36 Richard Stallman
  2007-03-09 16:38 ` Detlev Zundel
  2007-03-09 16:55 ` Oliver Scholz
  0 siblings, 2 replies; 11+ messages in thread
From: Richard Stallman @ 2007-03-06 22:36 UTC (permalink / raw)
  To: Detlev Zundel; +Cc: emacs-devel

This is the bug report.  Can you fix it for us?

I don't know whether Detlev Zundel is still available,
so I cc'd this to emacs-devel.  If Detlev doesn't fix this,
I hope that someone else will do so.

------- Start of forwarded message -------
To: rms@gnu.org
Cc: emacs-pretest-bug@gnu.org
Subject: Re: re-builder bug(s)
From: paul@wolfbone.ath.cx (P.L.Hayes)
Date: Tue, 06 Mar 2007 07:33:44 +0000
In-Reply-To: <E1HOL51-0005fh-ON@fencepost.gnu.org> (Richard Stallman's message of "Mon\, 05 Mar 2007 16\:50\:51 -0500")
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO 
	autolearn=failed version=3.0.4

Richard Stallman <rms@gnu.org> writes:

> I fixed the bug in the custom type, I think.
>
>     I also find (and I'm not quite sure whether it's a real bug or just
>     something I haven't understood about regexps or re-builder) that
>     expressions such as "\\>" and "$" in the re-builder buffer don't work
>     (and are flagged as "*invalid*" in the modeline) but ".\\>" and ".$",
>
> Would you please send a precise, complete test case for this?

Open a new buffer, put it in text mode and insert a line of text into it:

     C-x b *reb-test* RET M-x text-mode RET
     Kidman's publicist, Catherine Olim, said the star was trying to shake zombies off the bonnet of her Jaguar when the car spun off the road. RET

Try to use re-builder to count the number of words in the buffer:

    M-x re-builder RET
    \\>

As soon as the first `\' is entered between the `"'s, in the
*RE-Builder* buffer, "*invalid*" appears in the modeline.
Now replace the regexp in the *RE-Builder* buffer with another:

    DEL DEL DEL
    .\\>

Success! - the last character of each word in the *reb-test* buffer
has been highlighted and a message, "25 matches" has appeared in the
minibuffer. Likewise, the regexp, "^" will not find the empty string
at the beginning of the buffer but "^." will and "$" will not find the
end of the buffer but ".$" will.
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-03-18 14:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-06 22:36 [paul@wolfbone.ath.cx: Re: re-builder bug(s)] Richard Stallman
2007-03-09 16:38 ` Detlev Zundel
2007-03-09 19:48   ` P.L.Hayes
2007-03-10 15:50   ` Richard Stallman
2007-03-12 13:03     ` Detlev Zundel
2007-03-13  2:44       ` Richard Stallman
2007-03-13  4:18         ` Eli Zaretskii
2007-03-14  3:23           ` Richard Stallman
2007-03-18 14:36             ` Juanma Barranquero
2007-03-09 16:55 ` Oliver Scholz
2007-03-10 15:50   ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).