On Jul 30, 3:11 pm, Phillip B Oldham <[EMAIL PROTECTED]> wrote: > On Jul 30, 2:36 pm, Thomas Guettler <[EMAIL PROTECTED]> wrote: > > > What do you mean with "quote" here? > > 2. Prefix of quoted text like your text above in my mail > > Basically, just be able to parse an email into its actual and "quoted" > parts - lines which have been prefixed to indent from a previous > email. > > Most clients use ">" which is easy to check for, but I've seen some > which use "|" and some which *don't* quote at all. Its causing us > nightmares in parsing responses to system-generated emails. I was > hoping someone might've seen the problem previously and released some > code.
The problem is that sometimes lines might start with ">" for other reasons, eg text copied from an interactive Python session, which could occur in ... um ... _this_ newsgroup. :-) -- http://mail.python.org/mailman/listinfo/python-list