At 05:23 PM 1/15/2004, Brian Ipsen wrote:
What would a rule look like to match a pattern like (I've read a little
about matching, but not enough to get it working):
http://(anything).(com|net|org|info)?rid=[0-9]{1,5}
use the uri ruletype.. it will only search within web links:
uri MY_URI_RULE /\
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Brian Ipsen
> Sent: Thursday, January 15, 2004 4:23 PM
> To: [EMAIL PROTECTED]
> Subject: [SAtalk] Help needed with url rule
>
> Hi!
>
> I'm no expert
I'd probably use something like (untested, but it should work)
uri LOCAL_RID /\?rid=\d/
describe LOCAL_RID Has a possible remove id
scoreLOCAL_RID 0.01
and then adjust based on whether or not it's doing what you want.
You could be more specific (for instance, limiting it to com|net|org|
Hi!
I'm no expert in regular expressions, but a bunch of the spam I've received
recently has a link like this:
http://www.takrr.com?rid=1097
What would a rule look like to match a pattern like (I've read a little
about matching, but not enough to get it working):
http://(anything).(com|net|org