Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unescape string literals using pest instead of an ad-hoc regex #1973

Conversation

tomhoule
Copy link
Contributor

String unescaping now takes advantage of the parser already having done
the work of figuring out where and what the escaped characters were,
instead of trying to emulate this later with a regular expression.

@tomhoule tomhoule added this to the 2.24.0 milestone May 31, 2021
String unescaping now takes advantage of the parser already having done
the work of figuring out where and what the escaped characters were,
instead of trying to emulate this later with a regular expression.
@tomhoule tomhoule force-pushed the datamodel-parser/deduplicate-string-literal-grammar-definition branch from 5309857 to 7b40caa Compare May 31, 2021 15:26
Copy link
Contributor

@pimeys pimeys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nice steps.

@tomhoule tomhoule merged commit 53dc252 into master Jun 1, 2021
@tomhoule tomhoule deleted the datamodel-parser/deduplicate-string-literal-grammar-definition branch June 1, 2021 12:52
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.

None yet

2 participants