-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Regex language #1682
Regex language #1682
Conversation
Thank you so much for this. I believe Prism is the only mainstream syntax highlighter with regex highlighting.
I'm assuming you didn't get around to doing this yet. Meanwhile, I'm using a stylesheet I wrote with colours lifted from RegExr for anyone looking for that. |
Thanks for reminding me. I completely forgot about this. |
This PR adds a Regex language based on the JavaScript Regex syntax.
Edit: It now supports most of the regex syntax of C# and Java.
This is based on #1468 with a few improvements.
Also, I'm thinking about editing the themes to show the results.