spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j.@apache.org
Subject svn commit: r329938 - /spamassassin/trunk/masses/rule-qa/automc/gen_info_xml
Date Mon, 31 Oct 2005 23:57:26 GMT
Author: jm
Date: Mon Oct 31 15:57:25 2005
New Revision: 329938

URL: http://svn.apache.org/viewcvs?rev=329938&view=rev
Log:
more stripping

Modified:
    spamassassin/trunk/masses/rule-qa/automc/gen_info_xml

Modified: spamassassin/trunk/masses/rule-qa/automc/gen_info_xml
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/masses/rule-qa/automc/gen_info_xml?rev=329938&r1=329937&r2=329938&view=diff
==============================================================================
--- spamassassin/trunk/masses/rule-qa/automc/gen_info_xml (original)
+++ spamassassin/trunk/masses/rule-qa/automc/gen_info_xml Mon Oct 31 15:57:25 2005
@@ -106,8 +106,10 @@
     # spam results used for 329933 DETAILS all: spam-mc-fast.log spam-foo.log
     if (/^# spam results used for \S+ \S+ \S+: (.*)$/) {
       my $sub = $1;
-      $sub =~ s/\bspam-/ /;
-      $sub =~ s/\.log\b/ /;
+      $sub =~ s/\bspam-/ /gs;
+      $sub =~ s/\.log\b/ /gs;
+      $sub =~ s/^\s+//gs;
+      $sub =~ s/\s+$//gs;
       $sub =~ s/\s+/ /gs;
       $info->{submitters} = $sub;
     }



Mime
View raw message