From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Is it possible to test for multiple occurrances of a word/symbol?
-----Response-----
Sure, to a point. You can even assign nonlinear scoring, which is probably
usually appropriate.
RULE_NAME Score Test
EXAMPLE_XYZ1 0.1 $Subject =~ /\bxyz\b/i
EXAMPLE_XYZ2 0.05 $Subject =~ /(\bxyz\b.*){2}/i
EXAMPLE_XYZ3 0.03 $Subject =~ /(\bxyz\b.*){3}/i
This ruleset would score as follows:
123 xyz 456 abc: 0.1
123 xyz xyz abc: 0.15
123 xyz xyz xyz: 0.18
xyz xyz xyz xyz: 0.18 (the max)
For your scoring, set all the rules to 0.1 points each and add an
EXAMPLE_XYZ4 rule
[EMAIL PROTECTED] 805.964.4554 x902
Hispanic Business Inc./HireDiversity.com Software Engineer
perl -e"print join er,reverse qq(\n),'l hack',' P','Just anoth'"