Match the quote with the corresponding character.