yes.
if ($vartocheck =~ /\Q$firstchar\E/i) { ... } [download]
In reply to Re: Regex question by Vynce in thread Regex question by Xxaxx