> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Kent Johnson
> Sent: 30 October 2006 11:55
> Cc: tutor@python.org
> Subject: Re: [Tutor] Matching on multiple log lines
>
> wesley chun wrote:
> >> so it'
wesley chun wrote:
>> so it's guaranteed that 'Writing Message to'
>> will always be followed by 'TRANSPORT_STREAM_ID'
>> before the next occurrence of 'Writing Message to'
>> and all text between can be ignored,
>> and we increment the counter if and only if
>> there is a newline immediately after
> so it's guaranteed that 'Writing Message to'
> will always be followed by 'TRANSPORT_STREAM_ID'
> before the next occurrence of 'Writing Message to'
> and all text between can be ignored,
> and we increment the counter if and only if
> there is a newline immediately after 'TRANSPORT_STREAM_ID'
>
so it's guaranteed that
'Writing Message to'
will always be followed by
'TRANSPORT_STREAM_ID'
before the next occurrence of
'Writing Message to'
and all text between can be ignored,
and we increment the counter if and only if
there is a newline immediately after
'TRANSPORT_STREAM_I
I would appreciate any recommendations or assistance on how to read
and parse this log. The log is constantly growing and has the
potential of being large. For this reason, we are reading in line by
line. How do I match on multiple lines, while reading a log line by
line. Hopefully the logic e