Use delimiters than slash to avoid leaning toothpicks syndrome:

uri xxx m{^http://[^/]+ ... }i


That's my *least-favorite* regex syndrome! I'm having luck matching these with:

uri GOOG_REDIR_INURL m{^https?://(?:\w+\.)*google\.(com|co\.uk|tw)/+search.*q=inurl}
score GOOG_REDIR_INURL 2.0
uri GOOG_REDIR_Q m{^https?://(?:\w+\.)*google\.(com|co\.uk|tw)/+search.*q=}
score GOOG_REDIR_Q 2.0
uri GOOG_REDIR_SLASH m{^https?://(?:\w+\.)*google\.(com|co\.uk|tw)/\{2,\}search}
score GOOG_REDIR_SLASH 2.0
uri GOOG_PAGES m{^https?://(?:\w+\.)*googlepages\.(com|co\.uk|tw)}
score GOOG_PAGES 2.0

Seem to be multiple slashes after the domain, from com, co.uk, and tw TLDs.

Any other suggestions?

Reply via email to