From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: replacing phrases: matching line feeds in regular expressions, since \s- doesn't work Date: Sat, 18 Feb 2012 21:44:06 +0100 Message-ID: <01FAFF31-6E41-42AE-BA6A-BAD4283C336B@Web.DE> References: <87ehts2ayk.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1329621164 31851 80.91.229.3 (19 Feb 2012 03:12:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2012 03:12:44 +0000 (UTC) Cc: Steve Petersen , GNU Emacs List To: jeremiah.dodds@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 19 04:12:39 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RyxCX-0007fl-Sl for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Feb 2012 04:12:38 +0100 Original-Received: from localhost ([::1]:49542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyxCW-0006Mb-Rh for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Feb 2012 22:12:36 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:58185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyxCS-0006ML-QR for help-gnu-emacs@gnu.org; Sat, 18 Feb 2012 22:12:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RyxCR-0002Za-Ro for help-gnu-emacs@gnu.org; Sat, 18 Feb 2012 22:12:32 -0500 Original-Received: from fmmailgate01.web.de ([217.72.192.221]:35539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyxCR-0002ZV-N9 for help-gnu-emacs@gnu.org; Sat, 18 Feb 2012 22:12:31 -0500 Original-Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate01.web.de (Postfix) with ESMTP id 064EE1AC37EF6 for ; Sat, 18 Feb 2012 21:44:06 +0100 (CET) Original-Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0M2dxF-1SI1wp2rCP-00seZu; Sat, 18 Feb 2012 21:44:06 +0100 In-Reply-To: <87ehts2ayk.fsf@gmail.com> X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:M7vCo173YhhoSyI1upIUQ+abXvk/DAmLKwkGcZ5sF9y u/TxJBgZ4glNzB6UKUkxUDKYhAbBzPYh7FoXrCmDdJc5AjGkta vqF0CEruOVKyOWVa2Ktckgllw7gEfMLQ1mNEabFPB1JhMO7TTV Cec/C2rrH1H1uwZj7KDlipEGAEbMD3Cv3VH6TQef2dQ/7d7WcB XC5NYkGIIXzlhiLoEIj+g== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.221 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83800 Archived-At: Am 18.2.2012 um 20:33 schrieb jeremiah.dodds@gmail.com: > M-x replace-regexp foo[ ^TAB^j]*bar[ ^TAB^j]*baz[ ^TAB^j] RET fbb RET Exactly! A TAB has to be entered as C-q TAB and a line feed as C-q C-j. = The textual descriptions of control characters are a bit too = complicated. These are not the same in different versions of GNU Emacs = while the hard ones are since eons. -- Greetings Pete Chicago, n.: Where the dead still vote =85 early and often!