> But, it is not easy to figure out the 2nd position (I tried this)
> let pat_test = '^' . 'if' . '\...@!'
> let end = match(lines, pat_test, start)

One solution that comes to mind would be to search from the bottom to
the top.

$
call search(pat_test, 'bW')

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

Reply via email to