if($lhs[0] =~ /.*\Q$rhs[1]\E.*/) { $matches++; } else { print "Error: $lhs[0] = $rhs[1]\n"; $diff++; } [download]
In reply to Re: Variable in regex... by amw1 in thread Variable in regex... by cschooley