https://bz.apache.org/SpamAssassin/show_bug.cgi?id=6162

--- Comment #1 from Kevin Golding <[email protected]> ---
Created attachment 5365
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5365&action=edit
Add word boundaries to tag regex

Adds word boundaries to the start and end of the tag regex to enable
underscores within a template tag.

Checks for a double underscore so that multiple tags can be squashed together
without a space/punctuation if desired.

The regex along doesn't even match many of the test cases given in 4793 which
avoids issues with that, and the matches it does give will resolve to an
unrecognised tag and therefore the default of not changing those as introduced
in the fixes would come into effect.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to