Fix line separater problem when matching.