Sean wrote: > What I want is two numbers with the pattern starting with "if": > (1) find the start line, 3 in this example > (2) find the end line, 5 in this example
If Tom's answer doesn't meet your needs, post an example of what your final output should be (a list with lines that match your pattern?). I suspect that filter() would do what you want in one step. John --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
