I wrote:
MN> I vaguely remember that matching the whole line is a requirement
MN> for standard tags files. I'll have to check that again.
I checked nvi, vim, and a vintage SYSV vi. None needed a search
pattern extending across the whole line, so I changed the pattern
to hunt just for the initial "name=:". It's now in the repository.
BL> From my understanding, the same tag may appear several times in the
BL> same file so that it requires matching the whole line to locate the
BL> particular occurrence.
Classic vi will just pick up the first occurance, however.
With nvi and vim, you can advance to further tag entries.
":tagnext" is a command common to both. The features to search for
matching tag entries and select among them (:ts) and to tag-jump
with a regexp instead of a plain tag are vim-specific, however.
Anyway, I will make another version doing the whole line thing
again, with proper quoting then.
Martin
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm