QP character set [was: lexer_v3.l,1.41,1.42]

David Relson relson at osagesoftware.com
Sat Jul 26 13:52:51 CEST 2003


At 05:19 AM 7/26/03, Matthias Andree wrote:
>relson at users.sourceforge.net writes:
>
> > +BASE64               [0-9a-zA-Z/+=]+
> > +QP           [^[:blank:]]+
>
>Not quite, RFC-2047 has a list of tokens that mustn't appear in the
>quoted-printable part.f

Matthias,

I'm not sure either.  To complicate matters there are always the two main 
factors - what the RFC says and what mailers actually do.

I have a file with 94 "Subject: RFC-2047" lines, and the current patterns 
handle them all.  I'll take a look at RFC-2047 to see if I can improve this 
pattern without losing the ability to handle the 94 lines.

David





More information about the bogofilter-dev mailing list