[Tutor] Re: Simple

Andrei project5 at redrival.net
Mon Sep 15 17:48:38 EDT 2003


Hi Kiran,

G Kiran wrote:
> Is it possible for these mailing list digests to stick to a format..
> this is a request 'coz i parse these mail messages to keep as a
> ref guide.
> 
<snip>
> and every time u change the format i need to change the program..it has some
> kind of o//p like this
> 
<snip>
> 
> as you can see the topic seperator till 6 aug was --__--__--
> and then it changed
> o  --------------------------------------------------------
> 
> yes i can write a generalised one with re and python/perl
> but guess i cud keep it simple...

All messages are numbered, so just look for the first line which, when stripped, 
does not start with a digit. At that point the list of titles has ended.

-- 
Yours,

Andrei

=====
Mail address in header catches spam. Real contact info (decode with rot13):
cebwrpg5 at bcrenznvy.pbz. Fcnz-serr! Cyrnfr qb abg hfr va choyvp cbfgf. V ernq gur 
yvfg, fb gurer'f ab arrq gb PP.





More information about the Tutor mailing list