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

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

RE: how can I make regexp expression effective across many lines


From: Drew Adams
Subject: RE: how can I make regexp expression effective across many lines
Date: Mon, 29 Jan 2007 15:52:22 -0800

>    > \(.\|\n\). In Lisp, that's \\(.\\|\n\\).
>
> Not exactly.  It's: \(.\|
> \)
>
> (if you must enter it in the minibuffer for example, typing C-q C-j to
> insert the newline),

That's what I meant by "Interactively, use C-q C-j to insert a newline
character itself in the regexp, in place of \n."

> or the result of evaluating: "\\(.\\|\n\\)" (if
> you type it in an elisp program).

That's what I meant by "In Lisp, that's \\(.\\|\n\\)."

;-)






reply via email to

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