From: Luc Teirlinck <teirllm@dms.auburn.edu>
Subject: Re: Matches for multiline regexps
Date: Wed, 15 Jun 2005 21:24:25 -0500 (CDT) [thread overview]
Message-ID: <200506160224.j5G2OPx26113@raven.dms.auburn.edu> (raw)
In-Reply-To: <200506160140.j5G1eFJ26066@raven.dms.auburn.edu> (message from Luc Teirlinck on Wed, 15 Jun 2005 20:40:15 -0500 (CDT))
`query-replace' follows the `how-many' algorithm. If you do not
replace the match on line one, it does not offer to replace the match
on line two in the same example buffer:
11
11
11
11
11
So it does seem that occur is the one with exceptional behavior.
Things should be unambiguous for regexps whose matches do not overlap.
Hpowever, in the _second_ example I gave where occur seemed at the
very least to contradict its own docstring, there were no overlapping
matches.
Sincerely,
Luc.
next prev parent reply other threads:[~2005-06-16 2:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-16 1:40 Matches for multiline regexps Luc Teirlinck
2005-06-16 2:09 ` Luc Teirlinck
2005-06-16 2:24 ` Luc Teirlinck [this message]
2005-06-16 16:24 ` Richard Stallman
2005-06-17 3:26 ` Luc Teirlinck
2005-06-17 14:58 ` Richard Stallman
2005-06-18 2:48 ` Luc Teirlinck
2005-06-19 3:50 ` Richard Stallman
2005-06-19 14:14 ` Juri Linkov
2005-06-20 3:50 ` Richard Stallman
2005-06-20 4:47 ` Juri Linkov
2005-06-21 2:00 ` Richard Stallman
2005-06-20 1:57 ` Luc Teirlinck
2005-06-20 17:51 ` Richard Stallman
2005-06-18 3:17 ` Luc Teirlinck
2005-06-17 3:30 ` Luc Teirlinck
2005-06-17 14:58 ` Richard Stallman
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=200506160224.j5G2OPx26113@raven.dms.auburn.edu \
--to=teirllm@dms.auburn.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).