On Sat, Feb 14, 2009 at 11:58 AM, <[email protected]> wrote: >>> I would also be tempted to replace the searches that your jtags >>> script generates with line numbers. Line numbers would be >>> less tolerant of edits to files [...] > > And that's exactly why they are a bad idea: As soon as you add or > delete a line, the tag jumps won't work anymore. Therefor: patterns.
Ok, but you should not include the full line in your pattern. You should probably trim off everything after the =: In other words, instead of /^abcd=: [-]$/ (which will never match) use /^abcd=:/ (which will match) FYI, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
