help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: replacing phrases: matching line feeds in regular expressions, since


From: Peter Dyballa
Subject: Re: replacing phrases: matching line feeds in regular expressions, since \s- doesn't work
Date: Sat, 18 Feb 2012 21:44:06 +0100

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 … early and often!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]