From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (=?iso-8859-1?q?Johan_Bockg=E5rd?=) Newsgroups: gmane.emacs.help Subject: Re: silly regexp-replace question: how to delete empty lines Date: Thu, 04 Mar 2004 02:31:27 +0100 Organization: Chalmers University of Technology, Sweden Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1078588224 9074 80.91.224.253 (6 Mar 2004 15:50:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Mar 2004 15:50:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 06 16:50:15 2004 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 1Aze47-0000Ot-00 for ; Sat, 06 Mar 2004 16:50:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Aze3Y-0001qS-GQ for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Mar 2004 10:49:40 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!news1.spb.su!newsfeed1.funet.fi!newsfeeds.funet.fi!62.127.77.83.MISMATCH!newsfeed1.telenor.se!newsfeed.sunet.se!news01.sunet.se!dd.chalmers.se!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: frealaf.dd.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (usg-unix-v) Cancel-Lock: sha1:kmXfoPRszwkxbHGUXTCJW5CddF8= Original-Xref: shelby.stanford.edu gnu.emacs.help:121458 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17433 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17433 "leo" writes: > now i recall: i guess, the fact that "^[C-j]" works but "^$[C-j]" > doesn't, is kind of a regexp bug/feature in emacs, isn't it? For historical compatibility reasons, `$' can be used only at the end of the regular expression, or before `\)' or `\|'. For historical compatibility reasons, `^' can be used only at the beginning of the regular expression, or after `\(' or `\|'. (info "(elisp)Regexp Special") -- Johan Bockgård