From: Barry Margolin <barmar@alum.mit.edu>
Subject: Re: Strange behavior in search-forward-regexp?
Date: Sun, 12 Feb 2006 16:19:17 -0500 [thread overview]
Message-ID: <barmar-6FD8A1.16191712022006@comcast.dca.giganews.com> (raw)
In-Reply-To: m2hd74fwu9.fsf@gmail.com
In article <m2hd74fwu9.fsf@gmail.com>,
Mathias Dahl <brakjoller@gmail.com> wrote:
> Barry Margolin <barmar@alum.mit.edu> writes:
>
> >> So what happens is that the match begin at the empty line then and
> >> then "wraps around" to the next row? How can I avoid it?
> >
> > Use [^;<newline>] in the regular expression, where <newline> is entered
> > with C-q C-j.
>
> Thanks! That's what I eventually did (although I used `\n'
> instead)and posted the answer here, but it seems thet gmane or the
> list has had problems yesterday.
Yeah, I didn't remember until after I posted that you were doing this in
code, not interactively. When using interactive re-search, you have to
type C-q C-j.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
next prev parent reply other threads:[~2006-02-12 21:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-11 1:43 Strange behavior in search-forward-regexp? Mathias Dahl
2006-02-11 2:04 ` Barry Margolin
2006-02-11 9:45 ` Mathias Dahl
2006-02-12 9:58 ` Barry Margolin
2006-02-12 14:58 ` Mathias Dahl
2006-02-12 21:19 ` Barry Margolin [this message]
2006-02-11 11:48 ` Peter Dyballa
2006-02-11 19:00 ` Mattis
2006-02-11 19:33 ` Peter Dyballa
[not found] ` <mailman.17.1139690074.2858.help-gnu-emacs@gnu.org>
2006-02-11 21:43 ` Mathias Dahl
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=barmar-6FD8A1.16191712022006@comcast.dca.giganews.com \
--to=barmar@alum.mit.edu \
/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).