On Tue, 17 Jun 2003, Ruud H.G. van Tol wrote:
CL = "(^.+)*" # Lines with at least 1 Character
WL = "(^[$WSPC]*)*" # White Lines
* $ B ?? ^--$\MATCH\
($CL^Content-Type:[$WSPC]+text/plain.*$CL)?\
$WL\
^--$\MATCH(--)?$
OK so far ...
Is there a real significance for anything after that last '$\MATCH'?
Yes. Mime boundaries are allowed to be prefixes of one another. This
would be legal:
Content-Type: multipart/mixed; boundary="theboundary"
--theboundary
Content-Type: multipart/mixed; boundary="theboundarystring"
--theboundarystring
--theboundarystring--
--theboundary--
Is there always white space between 'Content-Type:' and 'text/plain'?
As you will have guessed, I don't think so.
No, there doesn't have to be. I think at some point I had [$WPSC]* there
and it got incorrectly transcribed with the + instead.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail