The tickets are old, but it seems reasonable to expect the pattern
matching to behave the same in scoring as when applying limits or
searching.
I don't foresee a huge performance hit, and there are no arguments
against the change in the tickets.
Thanks to the muttng devs (noted in ticket 2179) and Kornilios Kourtis
(from the Debian ticket referenced in ticket 3243).
hdr->score = 0; /* in case of re-scoring */
for (tmp = Score; tmp; tmp = tmp->next)
{
- if (mutt_pattern_exec (tmp->pat, 0, NULL, hdr, &cache) > 0)
+ if (mutt_pattern_exec (tmp->pat, MUTT_MATCH_FULL_ADDRESS, NULL, hdr, &cache) > 0)
{
if (tmp->exact || tmp->val == 9999 || tmp->val == -9999)
{