You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2017/04/02 12:00:12 UTC
[Bug 7398] Unusual Gotcha when parsing rules..unicode
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7398
Joe Quinn <jq...@pccc.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jquinn+SAbug@pccc.com
--- Comment #1 from Joe Quinn <jq...@pccc.com> ---
It actually takes \p to mean a math against a unicode property. See
http://perldoc.perl.org/perluniprops.html#Properties-accessible-through-%5cp%7b%7d-and-%5cP%7b%7d
It looks like this mistake can be caught by making the linter compile rule
regexes.
$ perl -e '$x = qr/\pa/'
Can't find Unicode property definition "a" in regex; marked by <-- HERE in
m/\pa <-- HERE / at -e line 1.
--
You are receiving this mail because:
You are the assignee for the bug.