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

Changed javascript lexer to handle ES6 regex flags #875

Merged
merged 2 commits into from Aug 9, 2019
Merged

Changed javascript lexer to handle ES6 regex flags #875

merged 2 commits into from Aug 9, 2019

Conversation

tealamore
Copy link
Contributor

@tealamore tealamore commented Feb 24, 2018

ES6 introduced a u and y flag for regular expressions in javascript. This fix makes sure rouge properly tokenizes these flags

@pyrmont
Copy link
Contributor

pyrmont commented Aug 9, 2019

@bradarv90 Apologies for the force pushing to your branch. This was basically ready to be merged and I didn't want to bother with a request to add some examples to the visual sample after you've had to wait so long. I rebased it against master to allow the CI checks to work properly and then added the samples.

Thanks for the submission. I'm sorry it too so long to get back to you on it :(

@pyrmont pyrmont merged commit eca34a1 into rouge-ruby:master Aug 9, 2019
@pyrmont pyrmont removed the needs-review The PR needs to be reviewed label Aug 9, 2019
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.

None yet

2 participants