On Sun, 23 Dec 2018, Matus UHLAR - fantomas wrote:
Hello,
I have tried to create rule that will match names "ján" and "jano" (john
and johnny in slovak languages).
I have created rule:
body LOCAL_JANO /\bJ[aá]no\b/i
however, it does not match.
The "o" is not optional in that RE, so it would never match "ján".
While it doesn't directly answer your question about normalize-charset,
this might work a little better:
ifplugin Mail::SpamAssassin::Plugin::ReplaceTags
body LOCAL_JANO /\bj<A>no?\b/i
replace_rules LOCAL_JANO
endif
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhar...@impsec.org FALaholic #11174 pgpk -a jhar...@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
"Bother," said Pooh as he struggled with /etc/sendmail.cf, "it never
does quite what I want. I wish Christopher Robin was here."
-- Peter da Silva in a.s.r
-----------------------------------------------------------------------
2 days until Christmas