On Tue, 18 Nov 2003, William Stearns wrote:

>       As a general rule, I'm testing against domains; it's too easy for 
> spammers use random hostnames more often than they do already.  If I try, 
> won't I just end up with:
> 
> uri      WLS_URI_1 /^http:.*\b0-go.org\b/i
> 
>       which puts us right back at the .* problem again?

   Try the old http:.{1,32}\b0-go.org\b trick, substituting your
choice of numbers for the 1,32.  That will limit the number of
cycles the regex engine will spend on the thing.  Oh, on another
note, the period betwixt 0-go and org needs to be escaped.

   Cheers.

+------------------------------------------------+---------------------+
| Carl Richard Friend (UNIX Sysadmin)            | West Boylston       |
| Minicomputer Collector / Enthusiast            | Massachusetts, USA  |
| mailto:[EMAIL PROTECTED]                        +---------------------+
| http://users.rcn.com/crfriend/museum           | ICBM: 42:22N 71:47W |
+------------------------------------------------+---------------------+



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to