procmail
[Top] [All Lists]

Re: Match if "no other but base64 encoding"

2006-12-21 16:39:18
Dallman Ross schreef:

  * $ 1^1 ^Content-Transfer-Encoding:[$WS]*(^$WS)*base64

  * $ 1^1 ^Content-Transfer-Encoding:[$WS]*(^[$WS]+)*base64

or simpler (but less accurate), prepare a variable (mimic the \s of
Perl)

  s = "([$WS]|$)"

and use it in the condition

  * $ 1^1 ^Content-Transfer-Encoding:$s*base64

(see also http://pm-doc.sourceforge.net/pm-tips.html 1.7)

-- 
Groet, Ruud


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail