On 12/11/08, Gary Johnson <[email protected]> wrote: ... >> The problem with the suggestions from others is this is NOT a vim regex. >> This is executed by ctags.exe, so you have to use Perl reg >> expressions, not Vim ones. >> >> Maybe the ones provided do work with Perl, but I don't think so. > > On my system, "man ctags" for version 5.5.4 says nothing about > Perl--it says it uses Posix extended regular expressions, "roughly > that used by egrep(1)".
Poor choice of words, I said Perl meaning the "default standard". So, really based on Erik's response, what we need to find is a compatible egrep regex to span multiple lines. 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. Dave --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
