X-Git-Url: http://git.jankratochvil.net/?p=PerlMail.git;a=blobdiff_plain;f=My-Audit.pm;h=6375a0c1d0dd8f42a3b343cb63bba4ec648abad7;hp=9f02c7091abb15372bcc93126493bf3a8c66b4bb;hb=451abe80dd57eb5e8c4b551594ee0dfd7ffb8e18;hpb=0a5d1d37f2edaa846e2c02e926006a249dad4ac8 diff --git a/My-Audit.pm b/My-Audit.pm index 9f02c70..6375a0c 100644 --- a/My-Audit.pm +++ b/My-Audit.pm @@ -198,7 +198,8 @@ my(%args)=@_; # max. 9 lines of .sig s/\n-- (?:\n[^\n]*){0,9}$//gs; # "Original Message"/"Puvodni zprava" etc. up to empty line - s/(^|\n)[\s^\n]*-----[\w\s]*-----[\s^\n]*(?:\n[^\n]+)*\n{2,}(?:\s*[^>\s].*$)?/\n/gs; + # "- - - Original message: - - -" is by "Lotus Notes Release 5.0.5 September 22, 2000" + s/(^|\n)[\s^\n]*(?:-----[\w\s]*-----|- - - Original message: - - -)[\s^\n]*(?:\n[^\n]+)*\n{2,}(?:\s*[^>\s].*$)?/\n/gs; # Remove "..." lines (is it used by anyone except me?) s/^\Q...\E$/*/gm; # quoting "> "