[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: regexp spam filter



the following regexp *should work:

 217\.78\.(6(4|5|6|7|8|9)|7(0|1|2|3|4|5|6|7|8|9))\.[0-9]+

it's not really obscure, but it's not really all that clever either.
=)  i'm sure there are more "compact" solutions out there!

-alan

Gary Turner wrote (Mon, 20 May 2002 16:11:00 -0500 ):
|>I am not practiced in the use of regexp's, and need some help.  I want
|>to block a Nigerian domain (I wonder why?) whose IP block is 217.78.64.0
|>- 217.78.79.255.  For unknown reasons (ignorance?), my various
|>incantations and curses have failed the test.
|>
|>If the cognoscenti among you would post examples of regexps that will
|>work, I will be thankful.  And if yours is a more obscure or esoteric
|>example, please explain the manipulation so that I can maybe figure out
|>the next magic spell without leaning on the list.
|>
|>tnx,
|>--
|>gt
|>Yes I fear I am living beyond my mental means--Nash
|>
|>
|>-- 
|>To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
|>with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|>


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: