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

Regex language #1682

Merged
merged 18 commits into from
Mar 4, 2019
Merged

Regex language #1682

merged 18 commits into from
Mar 4, 2019

Conversation

RunDevelopment
Copy link
Member

@RunDevelopment RunDevelopment commented Dec 30, 2018

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.

@shreyasminocha
Copy link

Thank you so much for this. I believe Prism is the only mainstream syntax highlighter with regex highlighting.

Also, I'm thinking about editing the themes to show the results.

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.

@RunDevelopment
Copy link
Member Author

I'm assuming you didn't get around to doing this yet.

Thanks for reminding me. I completely forgot about this.
However, I won't change the themes for this as there are quite a few to change. I'll add a few aliases to given them reasonable highlighting which hopefully will look reasonably good in all themes.

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.

2 participants