> call search(pat_test, 'bW') At least, this would be the IMHO easiest solution. If it is the most useful one, I guess this depends on the structure of the list you're scanning.
BTW. The pattern > > let pat_test = '^' . 'if' . '\...@!' should probably be '^\(if\>\)\...@!', which could be used to continue the search downwards. The \> is there to make sure the pattern doesn't also exclude "iff". Tom. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
