[Top][All Lists]

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

RE: Regex Problem

From: Drew Adams
Subject: RE: Regex Problem
Date: Wed, 23 Jul 2008 12:57:19 -0700

> > You can, but you should most definitely not.  It just makes the text
> > hard to read or edit in anything other than Emacs.  Just use \n.
> That's a good point, I didn't think about that.
> However, whenever I try to use \n in my regex searches, emacs does not
> seem to recognize that as a newline. the regexp syntax documentation
> also does not seem to mention any way to refer to a newline.
> Am I just missing something?

Interactively (e.g. C-M-s), you must use an actual newline character (via C-q
j), not \n.

reply via email to

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