in reply to Search string giving incorrect results
my $IN = quotemeta($in); if ($thread_data[4] =~ m/$IN{for}/i) { print $thread_data[0]; } [download]