in reply to
using a string in a regexp
If you were looking to identify/remove profanity,
Regexp::Common
has a couple of cunning regexps. It will probably catch a bunch of stuff you didn't think of too.
Comment on
Re: using a string in a regexp
In Section
Seekers of Perl Wisdom