Hi David

> The alternative is to ignore the closing brace, but we still could
> potentially run into cases where the tag name is on a different line
> from the initial brace.  So, the proper solution is a complete egrep
> regex.

This is good enough for me.

--regex-ant=/^[ \t]*<[ \t]*target.*name="([^<"&]+)".*/\1/t,target/i

I am happy to live the condition that I write my targets with name on
the first line. :)

Compared to making a more powerful grep statement that will scan past
line terminators, do you think there is much in the way of a
performance issue?

Thank you again to everyone for your thoughts and help!

Rob
:)
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to