finding a pattern spanning multiple lines in vim



Hi,

given this type of log file:

datetime 1: bla
...
datetime 23: beginning download
....
.... all kind of log messages here
....
datetime 45: finishing download
....
datetime x: and so on and so on


how would I find the chunks between <beginning download> and <finishing
download> in vim? The number of lines between <beginning download> and
<finishing download> can vary.
Trying
/beginning download\_.*finishing download/
does not work as it goes on to the end of the file.

Any help much appreciated!

.



Relevant Pages

  • httplib incredibly slow :-(
    ... I'm using the following script to download a 150Mb file: ... from datetime import datetime ... response = conn.getresponse ... Batch Processing & Python Consulting ...
    (comp.lang.python)
  • Re: finding a pattern spanning multiple lines in vim
    ... > given this type of log file: ... > datetime 23: beginning download ... Or a more excact version: ...
    (comp.editors)
  • Re: using DateTime object
    ... forgot to usethe DateTime module. ... C:\SendMail>ppm install DateTime ... Downloading ActiveState Package Repository packlist...done ... You will need to download a copy of nmake and put it somewhere on your ...
    (comp.lang.perl.misc)
  • Re: finding a pattern spanning multiple lines in vim
    ... > Roger wrote: ... >> given this type of log file: ... >> datetime 23: beginning download ...
    (comp.editors)
  • Re: Cannot install Office 2007 SP2 upgrade
    ... I wonder if you can burn/copy the contents of the download to a CD/DVD and try the steps again. ... Just wondering if said download was some sort of self extracting archive of the product and the update wants to go back to that temporary location to get something but the files just wouldn't be there. ... I just tried to post the log file, but I couldn't -- Thunderbird reported that the post is too large. ... Vista SP1/SP2 and Windows 7 already contain the correct version of Windows Installer. ...
    (microsoft.public.officeupdate)