spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From par...@apache.org
Subject svn commit: r157174 - spamassassin/trunk/lib/Mail/SpamAssassin/DBBasedAddrList.pm
Date Fri, 11 Mar 2005 23:22:18 GMT
Author: parker
Date: Fri Mar 11 15:22:15 2005
New Revision: 157174

URL: http://svn.apache.org/viewcvs?view=rev&rev=157174
Log:
Slightly better regex

Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin/DBBasedAddrList.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/DBBasedAddrList.pm
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/lib/Mail/SpamAssassin/DBBasedAddrList.pm?view=diff&r1=157173&r2=157174
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/DBBasedAddrList.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/DBBasedAddrList.pm Fri Mar 11 15:22:15 2005
@@ -170,7 +170,7 @@
 
     while (my ($key, $value) = each %{$self->{accum}}) {
       # regex will catch both key and key|totscore entries and delete them
-      if ($key =~ /^\Q${mailaddr}\E\|ip=\d+\.\d+/) {
+      if ($key =~ /^\Q${mailaddr}\E\|/) {
         delete $self->{accum}->{$key};
       }
     }



Mime
View raw message