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 invalid regex in RPGLE grammar #130

Merged
merged 1 commit into from
Jun 15, 2023
Merged

Fix invalid regex in RPGLE grammar #130

merged 1 commit into from
Jun 15, 2023

Conversation

lildude
Copy link
Contributor

@lildude lildude commented Jun 15, 2023

#127 introduced an error in one of the regular expressions which we've picked up in the GitHub Linguist grammar compiler:

Invalid regex in grammar: source.rpgle (in syntaxes/rpgle.tmLanguage.json) contains a malformed regex (regex "(?i)(?=^.{5})(H|F|D|I|C|O|P|\s)(...": unmatched parentheses (at offset 40))

This PR fixes that by removing the extra closing bracket.

/cc @chrjorgensen as the original author of #127

@chrjorgensen chrjorgensen self-assigned this Jun 15, 2023
@chrjorgensen chrjorgensen merged commit bf71ef6 into barrettotte:master Jun 15, 2023
Copy link
Collaborator

@chrjorgensen chrjorgensen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for finding this error - much appreciated!

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.

2 participants