my $regex = reverse join '|', @words; [download]
In reply to Re^2: searching problem by BillKSmith in thread searching problem by baxy77bax