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

D: Fixed strings #2029

Merged
merged 3 commits into from
Sep 3, 2019
Merged

Conversation

RunDevelopment
Copy link
Member

Fix fixes #2027 by making all strings greedy.

Because there were quite a number of greedy pattern, I combine them into a few compact patterns to true regex greedy matching as much as possible because it's fast and doesn't suffer from #1492.

@RunDevelopment RunDevelopment merged commit 010a015 into PrismJS:master Sep 3, 2019
@RunDevelopment RunDevelopment deleted the issue2027-d-strings branch September 3, 2019 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect string highlighting for D
2 participants