> 20_head_tests.cf: > > header EXPO_SUCKERS Subject =~ /\b\[expoforum_kg\]\b/i > describe EXPO_SUCKERS Subject: contains [expoforum_kg] > > spamassassin --lint -D doesn't show any errors. > Anything else to check? > > Thank you for your time.
The \b assertion looks for a boundary between a word character and a nonword character and is useful to make sure a word you're looking for is not part of a bigger word. This is a case where you don't want to use \b since the text you're looking for is surrounded by brackets, which are nonword characters. Try removing the \b's. Larry