John Hardin wrote:
On Tue, 30 Sep 2008, Ned Slider wrote:

header SUBJECT_FUZZY_TION Subject =~ /<post P3>(?!tion)<T><I><O><N>/i

is hitting on ham from a mailing list with the following subject line:

Subject: Re: [CentOS] mount UFS partition on CentOS 5.

A test email containing just the text "partition" in the subject line also hits this rule so would appear to confirm my assumptions.

I suggest you open a bug for this. It certainly should not hit, as the (?!tion) should keep it from matching an unobfuscated word...


But I think it's treating the middle "ti" in "tition" as an obfuscation of "tion" hence the match in this case.

Does it hit unobfuscated "partitions"? How about "portion"?

Perhaps it should be /<post P3>(?!tion)<T><I><O><N><S>?\b/i


It hits partition, partitions, petition, repetition etc (basically any word ending "tition(s)"), but does not hit portion, potion, nation, notion or reputation, for example.

I'm happy to open a bug for this if that's appropriate, but the rule does appear to be doing what it's designed to do albeit with some false positives.

Reply via email to