Kelson wrote:
> Bowie Bailey wrote:
> > If you are going to try this, you will definately want to check
> > word boundaries like this: 
> > 
> > header BAD_WORDS Subject =~ /\bbadword\b/i
> > 
> > The "\b" on either side will ensure that you don't match the string
> > as part of another word.  (Anyone been to Essex? :)
> 
> Even that isn't foolproof.  Ever met someone who graduated college cum
> laude?

Right!

I wasn't intending to say that it is foolproof.  Just better than the
alternative.

-- 
Bowie

Reply via email to