OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Simon White (simon_at_mtds.com)
Date: Mon Dec 02 2002 - 07:59:41 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    02-Dec-02 at 11:44, Domingo Antonio (domingonetcomp.com.br) wrote :
     
    > And finaly, my rule above ( this rule is in all 3 files *_checks )
    > /name=\"*\.(BAT|COM|PIF|DLL|dll)\"/ REJECT NO SPAM HERE BABY!!!!

    /name=\".*\.(bat|com|pif|dll)\"/ REJECT message etc

    Check if PCRE is case sensitive or not. (.*) is "match anything" in
    regexp, not just (*) which means 1 or more of the previous token.

    Your regexp means match name= followed by one or more " followed by a
    dot, then an extension, then another "

    Cheers,

    -- 
    [Simon White. vim/mutt. simonmtds.com. Foldinghome no log script yet...]
    Whenever I watch TV and see those poor starving kids all over the world, I
    can't help but cry. I mean, I'd love to be skinny like that but not with
    all those flies and death and stuff.  -- Mariah Carey