unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Matches for multiline regexps
Date: Fri, 17 Jun 2005 10:58:35 -0400	[thread overview]
Message-ID: <E1DjIIl-0001qe-7Z@fencepost.gnu.org> (raw)
In-Reply-To: <200506170326.j5H3Qxc01563@raven.dms.auburn.edu> (message from Luc Teirlinck on Thu, 16 Jun 2005 22:26:59 -0500 (CDT))

       4 matches for "11
       11" in buffer: bu
	     2:11
	     4:11
	     6:11
	     8:11

       I could not find out from the docs what those numbers in front of the
       11's are supposed to mean.  They are clearly not line numbers.

    Additional remark: from simpler examples. it appears that they are
    _intended_ to be line numbers.  If so, this is a bug.

Yes, it seems to be a bug in counting the line numbers.  Could you fix
that too?

Of course, it could simply count lines from the beginning to each
matching line, each time; but that would be terribly inefficient in a
large buffer.

  reply	other threads:[~2005-06-17 14:58 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
2005-06-16 16:24 ` Richard Stallman
2005-06-17  3:26   ` Luc Teirlinck
2005-06-17 14:58     ` Richard Stallman [this message]
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=E1DjIIl-0001qe-7Z@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).