print $line if ($line =~ /(?$opts:$regex)/);