[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regular expression in find-tag-regexp
From: |
Eli Zaretskii |
Subject: |
Re: regular expression in find-tag-regexp |
Date: |
Fri, 30 Sep 2011 09:53:17 +0300 |
> Date: Thu, 29 Sep 2011 17:54:00 -0500
> From: Shiyuan <gshy2014@gmail.com>
>
> 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). \
Where did you use C-M-S? Was it in the buffer that visits the TAGS
table, or was it in the buffer where you have the source file?
find-tag-regexp does the former. It uses re-search-forward, btw, not
isearch-forward-regexp.
> 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.
It would help if you show what's in your TAGS file for these
functions.