On Fri, 2014-10-24 at 19:48 -0400, Daniel Staal wrote:

> If it does it's behaving oddly.  Still, I might try this instead:
> 
>       uri      __MG_LTD1   /\.link\b/i
> 
> That should be faster and more general than the second one above, and 
> shouldn't grab linkedin either.
>
The problem is that it won't match URIs of the form

   example.link/path/to/badness

which are fairly common in body URIs. Does \b match end of string? That
never occurred to me. I've always used $ to do that and it certainly
works as part of a URI rule.


Martin



Reply via email to