Correct an issue with brace matching in the presence of escaped double quotes