From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [paul@wolfbone.ath.cx: Re: re-builder bug(s)] Date: Tue, 06 Mar 2007 17:36:52 -0500 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1173220987 2400 80.91.229.12 (6 Mar 2007 22:43:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 22:43:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Detlev Zundel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 06 23:42:58 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HOiMx-0002Ch-Em for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 23:42:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOiMy-0000L7-N8 for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 17:42:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOiIp-0006Vy-0R for emacs-devel@gnu.org; Tue, 06 Mar 2007 17:38:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOiIo-0006VR-Df for emacs-devel@gnu.org; Tue, 06 Mar 2007 17:38:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOiIo-0006VB-8E for emacs-devel@gnu.org; Tue, 06 Mar 2007 17:38:38 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HOiIm-00066F-90 for emacs-devel@gnu.org; Tue, 06 Mar 2007 17:38:36 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HOiH6-0000vO-1N; Tue, 06 Mar 2007 17:36:52 -0500 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:67451 Archived-At: 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: (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 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 -------