Re: Using :g to delete patterns that span multiple lines

2006-07-19 Thread Charles E Campbell Jr
Noah Spurrier wrote: I used this pattern to select sections of test that belong to me when CVS or SVN generates a merge conflict. This pattern works fine: /^<<<\_.\{-}===.*$/ I have search highlighting turned on and I can see the multiline patterns get highlighted as expected. ...

Re: Using :g to delete patterns that span multiple lines

2006-07-18 Thread A.J.Mechelynck
Noah Spurrier wrote: I used this pattern to select sections of test that belong to me when CVS or SVN generates a merge conflict. This pattern works fine: /^<<<\_.\{-}===.*$/ I have search highlighting turned on and I can see the multiline patterns get highlighted as expected. Then I

Re: Using :g to delete patterns that span multiple lines

2006-07-18 Thread Tim Chase
Noah Spurrier wrote: I used this pattern to select sections of test that belong to me when CVS or SVN generates a merge conflict. This pattern works fine: /^<<<\_.\{-}===.*$/ [cut] :g/^<<<\_.\{-}===.*$/d Again, this would only delete the first line of the pattern match.

Re: Using :g to delete patterns that span multiple lines

2006-07-18 Thread Yakov Lerner
On 7/19/06, Noah Spurrier <[EMAIL PROTECTED]> wrote: I used this pattern to select sections of test that belong to me when CVS or SVN generates a merge conflict. This pattern works fine: /^<<<\_.\{-}===.*$/ I have search highlighting turned on and I can see the multiline patterns get