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

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

Re: gnu regex and newline


From: Barry Margolin
Subject: Re: gnu regex and newline
Date: Mon, 18 Nov 2002 21:47:05 GMT

In article <uk7javb3k.fsf@swbell.net>, Peter Lee  <pete_lee@swbell.net> wrote:
>Is there a way to search for and replace newlines with emacs using regex?  Been
>looking through the documentation and I thought there would be some escape char
>like \n or something.

No, just put a literal newline in the string, by typing C-q C-j.

-- 
Barry Margolin, barmar@genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


reply via email to

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