From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: Re: [Fwd: end-of-line $ in multiline regexp replace] Date: Sun, 02 Nov 2003 18:19:03 -0500 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3FA28A5E.80808@yahoo.com> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1067816030 15735 80.91.224.253 (2 Nov 2003 23:33:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Nov 2003 23:33:50 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 03 00:33:48 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AGRj9-00055c-00 for ; Mon, 03 Nov 2003 00:33:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AGRe7-0004MG-FE for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Nov 2003 18:28:35 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AGRbD-0002z0-Oj for bug-gnu-emacs@gnu.org; Sun, 02 Nov 2003 18:25:35 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AGRai-0002oL-Mk for bug-gnu-emacs@gnu.org; Sun, 02 Nov 2003 18:25:29 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AGRaa-0002i4-HZ for bug-gnu-emacs@gnu.org; Sun, 02 Nov 2003 18:24:56 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1AGRUt-0001PZ-Ij; Sun, 02 Nov 2003 18:19:03 -0500 Original-To: Kevin Rodgers In-reply-to: <3FA28A5E.80808@yahoo.com> (message from Kevin Rodgers on Fri, 31 Oct 2003 09:14:22 -0700) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6078 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6078 Besides the documentation bug reported below by Alan, search.c:compile_pattern() ought to report an error when $ is used incorrectly (and ^, \`, \', etc.). It is not an error to use $ in other contexts. However, the $ matches literally in those contexts.