in reply to RegEx Comparison
Am I missing anything in the comparison?
if ($var1 =~ /\Q$var2/) [download]
Please use code tags: Writeup Formatting Tips