if ($word =~ m/^\Q$stem\E/) {blah;} [download]
In reply to Re: Escaping in regexes by kvale in thread Escaping in regexes by Basilides