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

Add support for common C-like escape sequences #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ian-h-chamberlain
Copy link

Fixes #33

Regex is taken from the VSCode builtin C definitions:
https://github.com/Microsoft/vscode/blob/main/extensions/cpp/syntaxes/c.tmLanguage.json#L3113

Before:
Screen Shot 2022-05-28 at 8 38 05 AM

After:
Screen Shot 2022-05-28 at 8 43 20 AM

@ian-h-chamberlain
Copy link
Author

Hey @dan-c-underwood, friendly bump as I'm going through my old PRs to clean some up — any chance of taking a look at this PR and seeing if you'd like to publish it as part of a new version?

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.

String literals incorrectly handle \" and other escapes
1 participant