[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Beginner trouble with regexp matching
From: |
Marko Vojinovic |
Subject: |
Re: Beginner trouble with regexp matching |
Date: |
Sat, 29 Oct 2011 15:41:15 +0100 |
User-agent: |
KMail/1.13.7 (Linux/2.6.35.14-97.fc14.x86_64; KDE/4.6.5; x86_64; ; ) |
On Saturday 29 October 2011 15:25:36 Jai Dayal wrote:
> New lines with replace-string in emacs are a little bit..... random.
>
> M-x replace-string then type \\begin{equation}
> then, instead of typing \n, use the key stroke C-q C-j
>
> That should enter the newline as emacs knows it.
Great, it works! Thanks! :-) I didn't even need to use regexp for matching,
ordinary string replace did the job... ;-)
Btw, is there some table which tells what should I type in Emacs to put in
such nontrivial characters (newline, carriage return, backspace, tab, etc...)?
Best, :-)
Marko