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

Fix errors from new empty regex requirements #1606

Merged
merged 1 commit into from
Oct 13, 2020

Conversation

pyrmont
Copy link
Contributor

@pyrmont pyrmont commented Oct 13, 2020

Merging #1548 caused some errors in lexers that had been added after the PR was originally submitted.

This commit also reduces the number of times uppercasing and lowercasing is required in the Apex lexer.

@pyrmont pyrmont self-assigned this Oct 13, 2020
@pyrmont pyrmont added the needs-review The PR needs to be reviewed label Oct 13, 2020
@pyrmont pyrmont merged commit 9c8c092 into rouge-ruby:master Oct 13, 2020
@pyrmont pyrmont removed the needs-review The PR needs to be reviewed label Oct 13, 2020
@pyrmont pyrmont deleted the bugfix.empty-regex-errors branch October 13, 2020 06:30
mattt pushed a commit to NSHipster/rouge that referenced this pull request May 19, 2021
The merging of rouge-ruby#1548 caused issues with two lexers that had been added after the
PR was originally submitted. This commit fixes those errors.

It also reduces the number of calls to `String#upcase` and `String#downcase` in
the Apex lexer (this lexer was updated in rouge-ruby#1548).
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

1 participant