in reply to grep : partial and/or exact match

You might also want to take a quick look at Regexp::Common...
specifically the /$RE{profanity}/ functionality.

-Blake