in reply to Re: Regex Question
in thread Regex Question

or even use index() instead of the regex....
for @badwords { print "shame on you" if index $pass, $_ > -1; }