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

JS: Added support for new regex syntax #3399

Merged
merged 1 commit into from Mar 21, 2022

Conversation

RunDevelopment
Copy link
Member

There is a new TC39 proposal to extend the JS regex syntax: RegExp set notation.

This PR adds support for the new v flag and its new parsing rules. Since the resulting regex got a little long, I split it up into its logical parts.

@github-actions
Copy link

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +40 B (+2.5%).

file master pull size diff % diff
components/prism-javascript.min.js 1.58 KB 1.62 KB +40 B +2.5%

Generated by 🚫 dangerJS against 8046975

@RunDevelopment RunDevelopment merged commit ca78cde into PrismJS:master Mar 21, 2022
@RunDevelopment RunDevelopment deleted the js-regex branch March 21, 2022 15:12
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.

None yet

1 participant