A typical line in a TAGS
file looks like this (note use of special characters ^?
and ^A
)
(defvar copyright-owner user-full-name^?copyright-owner^A213,7296
and a find-tag-regexp
will search the entire line. But I want to restrict my searches to just the 2nd column, i.e. copyright-owner
. In particular, for this example I want to avoid false positives for searches of user-full-name
from finding this entry.
How can I restrict find-tag-regexp
to just the matching part of the line and not the whole line?
Format defined in more detail here https://en.wikipedia.org/wiki/Ctags#Etags_2
tag-re-match-p
. – Dmitry Dec 15 '15 at 23:49