https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6817

--- Comment #9 from Kevin A. McGrail <[email protected]> ---
(In reply to comment #8)
> (In reply to comment #6)
> > Any value to adding a (?!\@) in there to avoid the "mr@" case?

Playing with this more, I don't know what we are trying to hit and not hit.

Here's a stub.  I need more examples of what we are trying to hit/not hit to
effectively work on this.  For example, a co-worker who I'm going to start
getting to help this project pointed out all we need is a period match for the
cases I've identified.  He's correct but I think it's because I need more case
scenarios.

use strict;

my (@name, $name);

#SHOULD NOT HIT
$name[0] = '[email protected]';

#SHOULD HIT
$name[1] = '[email protected]';

#SHOULD NOT HIT
$name[2] = '[email protected]';

foreach $name (@name) {

  print "$name - ";
  print $name =~ /^M(?:RS?|ISS)\.\b/mi;
  print "\n";
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to