change the query to require all tokens to match on the same line at least once