&audit_sms: Stripping improved
authorshort <>
Sun, 13 Oct 2002 17:37:27 +0000 (17:37 +0000)
committershort <>
Sun, 13 Oct 2002 17:37:27 +0000 (17:37 +0000)
 - "[[:upper:]]{0,3}>" included, bastards :-(((

My-Audit.pm

index 6375a0c..bd8de88 100644 (file)
@@ -203,10 +203,10 @@ my(%args)=@_;
        # Remove "..." lines (is it used by anyone except me?)
        s/^\Q...\E$/*/gm;
        # quoting "> "
        # Remove "..." lines (is it used by anyone except me?)
        s/^\Q...\E$/*/gm;
        # quoting "> "
-       s/^\s*[>][>\s]*.*$/*/gm;
+       s/^(?:\s*[[:upper:]]{0,3}>)+.*$/*/gm;
        s/(?:^|\n)(?:\*\n+)+/\n*\n/gs;
        # attributions
        s/(?:^|\n)(?:\*\n+)+/\n*\n/gs;
        # attributions
-       s/^.*\b(?:wrote|writes):\s*$//gm;
+       s/^.*\b(?:wrote|writes|napsal jste):\s*$//gm;
        my $body=$_;
 
        return [$from,"($subject)$body"];
        my $body=$_;
 
        return [$from,"($subject)$body"];