[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23040: Resolved
From: |
Lars Ingebrigtsen |
Subject: |
bug#23040: Resolved |
Date: |
Thu, 26 Jan 2017 23:55:25 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Nikolaus Rath <Nikolaus@rath.org> writes:
> The problem here is that recently some spam has started to come with
> extremely long "References" headers, and that the regular expression
> used in one of my scoring rules is sub-optimal when applied to such long
> strings.
>
> In particular, the leading dot in "<.+@[a-z0-9]+\\.rath\\.org>" first
> matches the entire reference header, and then emacs presumably has to
> backtrack character by character (or something like that).
>
> Fixing the rule by restricting the match to one message id fixes the
> problem: "<[^<>@]+@[a-z0-9]+\\.rath\\.org>"
Could you submit a patch for this problem?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#23040: Resolved,
Lars Ingebrigtsen <=