On Tue, Mar 26, 2019 at 04:35:09PM +0100, Tobi <jahli...@gmx.ch> wrote: > Thanks for pointing it out. Sorry did not get it in first point. > Changed the regex in the rule to expect the scheme too and now we get > the expected hits again. > Just one thing. Does this mean that email addresses found in body always > have a scheme (mailto://) too?
There's no such thing as mailto:// - it's just mailto:, so it wont match rules expecting \w+:// Quick test <a href="mailto:f...@bar.net">mail me</a> <p>f...@bar.net</p> ran uri rule MAILFOO ======> got hit: "mailto:f...@bar.net" ran uri rule MAILFOO ======> got hit: "mailto:f...@bar.net" ran uri rule MAILFOO ======> got hit: "f...@bar.net"