all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Shiyuan <gshy2014@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: regular expression in find-tag-regexp
Date: Thu, 29 Sep 2011 17:54:00 -0500	[thread overview]
Message-ID: <CAOm4EMt-22X+7pO1V3hVvjwx3oE2a3JfRszYq=+29t8=2XXoNA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 754 bytes --]

Hello,
     I notice that the same regular expression will give different matching
result in find-tag-regexp (C-M-.) and in isearch-forward-regexp (C-M-S). \
I have the following tags
MatGetArray_SeqAIJ
MatGetArray(....)
MatGetArray_SeqBAIJ()
MatGetArray_MPIDense()
MatGetArray_SeqDense()
MatGetArray_SeqSBAIJ()
matgetarray_()

If I use the Mat.*GetArray.* to search, find-tag-regexp will only match
MatGetArray_SeqAIJ but isearch-forward-regexp will match all except the
lower case matgetarray(). If I use the MatGetArray, find-tag-regexp will
match all of them including the matgetarray()? Anyone can explain why it is
so? If I want find-tag-regexp to find all of them( with or without the
matgetarray()), what regexp should I use? Thank you.

Shiyuan

[-- Attachment #2: Type: text/html, Size: 808 bytes --]

             reply	other threads:[~2011-09-29 22:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-29 22:54 Shiyuan [this message]
2011-09-30  6:53 ` regular expression in find-tag-regexp Eli Zaretskii
2011-09-30 22:55 ` Shiyuan
2011-10-01  8:09   ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2011-10-01 16:03 Shiyuan
2011-10-01 16:19 ` Drew Adams
2011-10-01 17:52 ` Eli Zaretskii

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='CAOm4EMt-22X+7pO1V3hVvjwx3oE2a3JfRszYq=+29t8=2XXoNA@mail.gmail.com' \
    --to=gshy2014@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.