From: "Drew Adams" <drew.adams@oracle.com>
To: "Pascal Bourguignon" <pjb@informatimago.com>, <help-gnu-emacs@gnu.org>
Subject: RE: how can I make regexp expression effective across many lines
Date: Mon, 29 Jan 2007 15:52:22 -0800 [thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICIEMHDKAA.drew.adams@oracle.com> (raw)
In-Reply-To: <87tzy9mo14.fsf@thalassa.informatimago.com>
> > \(.\|\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\\)."
;-)
next prev parent reply other threads:[~2007-01-29 23:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3757.1170107259.2155.help-gnu-emacs@gnu.org>
2007-01-29 23:05 ` how can I make regexp expression effective across many lines Pascal Bourguignon
2007-01-29 23:52 ` Drew Adams [this message]
[not found] <mailman.3753.1170104495.2155.help-gnu-emacs@gnu.org>
2007-01-29 21:26 ` Pascal Bourguignon
2007-01-29 21:01 Michael Chen
2007-01-29 21:16 ` Lennart Borgman (gmail)
2007-01-29 21:40 ` Drew Adams
2007-01-29 21:47 ` Drew Adams
2007-01-29 22:11 ` Peter Dyballa
[not found] ` <mailman.3755.1170105424.2155.help-gnu-emacs@gnu.org>
2007-01-29 23:00 ` Mark Elston
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DNEMKBNJBGPAOPIJOOICIEMHDKAA.drew.adams@oracle.com \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=pjb@informatimago.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).