procmail
[Top] [All Lists]

Re: Extension regex [Was: Damn this Sexy-Fun garbage!]

2001-03-12 16:07:48
Philip Guenther wrote:

Yes, though character classes are more efficient for the places they apply:

m(d[be]|s[cipt])|p(cd|if)|reg|s(c[rt]|hs)|url|vb[es]?|ws[cfh]

I was just looking at this again, and the original posted who referenced:

        http://officeupdate.microsoft.com/2000/articles/Out2ksecFAQ.htm

neglected to include the FIRST TWO columns of extensions. Note the LACK of
a reference to .bat, .com and .exe, for starters. Here are the rest:

        ad[ep]|ba[st]|c(hm|md|om|pl|rt)|exe|h(lp|ta)|i(n[fs]|sp)|js[e]|lnk

Not too sure of the "js[e]" construct to match either "js" or "jse", but.

Aloha mai Nai`a!
-- 
"Please have your Internet License             http://kapu.net/~mjwise/
  and Usenet Registration handy..."

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>