all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Why does this happen in regexp isearch?
Date: Sat, 3 Jul 2010 12:29:32 +0200	[thread overview]
Message-ID: <AANLkTingi19V1RMA_1P84CK1meJDoizq4cmwJ9x-Yh3V@mail.gmail.com> (raw)

I open cus-edit.el.gz in Emacs and do a regexp isearch for:

^  ;;

(Beginning of line, then two spaces, then two semicolons.)

For some reason that I don't understand, it seems to match "beginning
of line, any number of spaces OR tabs, then two semicolons". When I
search for:

^ \{2\};;

...it finds what I'm looking for. Why is this?

-- 
Deniz Dogan



             reply	other threads:[~2010-07-03 10:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-03 10:29 Deniz Dogan [this message]
2010-07-03 13:14 ` Why does this happen in regexp isearch? Daniel Pittman
2010-07-04  0:40   ` Deniz Dogan
     [not found] <mailman.2.1278153007.17258.help-gnu-emacs@gnu.org>
2010-07-03 11:18 ` Andreas Politz

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTingi19V1RMA_1P84CK1meJDoizq4cmwJ9x-Yh3V@mail.gmail.com \
    --to=deniz.a.m.dogan@gmail.com \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.