Fixed line separator issue when matching.