mouss wrote:
David Gibbs wrote:
Folks:

[...]

My particular example ...

I want to create a rule that will assign a specific score if the subject
contains the word 'euromillion', but have a lower score if the subject
contains 'million'.

Obviously if I put two separate rules with the 'euromillion' rule just
adding to the score set by 'million' it would work... but I would rather
have only one rule listed in the spam header.


use a META rule.


Or a zero-width negative look-behind assertion

  # million not preceded by euro
  (?<!euro)million

David
--
hope still, a little resistance always maybe stubborn tiny lights vs. clustering darkness forever ok?

Reply via email to