On 22/08/11 21:46, John Hardin wrote:
On Mon, 22 Aug 2011, Ned Slider wrote:

uri __REALLY_HAS_ANY_URI m{https?://.}

and if we want to test for email addresses:

uri __HAS_ANY_URI_EMAIL /@/

and make __HAS_ANY_URI (and __DOS_HAS_ANY_URI) a meta of the above two
rules.

Given they're the vast majority, but https? and mailto are not the only
protocols supported in URIs. Such a meta would ignore them.

I could see some subrules that try to distinguish between different URI
protocols. What are you trying to accomplish?


I was using __HAS_ANY_URI in a local meta rule and was just surprised when my meta rule hit on a spam that didn't contain a "URI" (as per my original post). Of course I now realise it matched the plain text email address in the body. I was thinking purely in terms of https? rather than other (less common) protocols.

Reply via email to