($match) = grep { $lineFromSomeFile =~ $_ } @terms;