Fix a bug that included line boundaries in the match.