Skip to content

Escape leading and consecutive quotes in EscapeSpecialCharacters - #139

Closed
evan-goode wants to merge 1 commit into
leonelquinteros:masterfrom
evan-goode:evan-goode/fix-escapespecialcharacters
Closed

evan-goode wants to merge 1 commit into
leonelquinteros:masterfrom
evan-goode:evan-goode/fix-escapespecialcharacters

Conversation

@evan-goode

Copy link
Copy Markdown

Is this a fix, improvement or something else?

Fix

What does this change implement/fix?

The regex ([^\\])(") in EscapeSpecialCharacters did not correctly handle double quotes at position 0 in the string, nor consecutive double quotes. See the added tests.

I have ...

  • answered the 2 questions above,
  • discussed this change in an issue,
  • included tests to cover this changes.

The regex ([^\\])(") did not handle double quotes at position 0 in the
string, nor consecutive double quotes.

Assisted-by: GLM-5.2
@leonelquinteros

Copy link
Copy Markdown
Owner

Superseded by PR #140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants