Correct the character escaping for suggestions matching.