Thus spake Robin Witkop-Staub ([EMAIL PROTECTED]): > I was trying the following filter found on the suggested script sharing > page. For some reason it was tagging emails that had the word "pizza" in > them. Why? > > /\b(?:excIusive|GiangBiang|sIut|ganigbainged|duides|hairdciore|ExcIude|pIz)/i
Because your regular expression says to! It says to start at a word boundary, then look for one of these combinations. The /i on the end confuses me, since you have a mixed case pattern, but that's not the point. The last part of your alternation is piz, so for your purposes this breaks down to: /\bpIz/i Which matches pizza or pizzaz, piz.* if that helps any. Make sense? -- David Olbersen <[EMAIL PROTECTED]> Aquarium Site...: http://reefs.slickness.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk