Use line-based comparisons instead of substrings.