procmail
[Top] [All Lists]

Re: Regular expression problem?? (numbers, bogus IP's)

1997-05-11 21:12:00
Ralph Lindberg & Ellen Winnie <rlindber(_at_)kendaco(_dot_)telebyte(_dot_)com> 
wrote:
:  I'm using this expression:
:* ^Received.*\[[0-9\.]*([03-9][0-9][0-9]|2[6-9][0-9]|25[6-9])
:
:  Which missed a match on
:Received: from mailhost.colgetifbabe.com(alt1.colgetifbabe.com(281.3.22.75)
:                                                               ^^^
:
:  I don't see why, what am I missing?

:* ^Received.*\[[0-9\.]*([03-9][0-9][0-9]|2[6-9][0-9]|25[6-9])
:* ^Received.*\([0-9\.]*([03-9][0-9][0-9]|2[6-9][0-9]|25[6-9])
               ^

-- It is now safe to turn off your computer.
Bill Evans/Box 4829/Irvine, California 92616/(714)551-4829  _   /| ACK!
Email-To: wje(_at_)acm(_dot_)org  -- PGP encrypted mail preferred. --  \`o_O' /
   Finger wje(_at_)netcom(_dot_)com for public key.   Key #: 441AFEA5   =( )=
PGPprint: FB D0 1C 1D EF DC 26 BA  B3 9E 84 0B 40 D6 59 9C     U

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Regular expression problem?? (numbers, bogus IP's), include "tiglet" on Subject: line to override spamgard{tm} <=