Skip to content

Update regex crate to support empty sub expressions in alternations#1

Draft
edzo93 wants to merge 1 commit intomainfrom
regex_update
Draft

Update regex crate to support empty sub expressions in alternations#1
edzo93 wants to merge 1 commit intomainfrom
regex_update

Conversation

@edzo93
Copy link
Copy Markdown

@edzo93 edzo93 commented Sep 21, 2021

When adding a regex to the mcpe-linter.json an error occurred while using an empty sub expression in a regex alternation. This functionality was added in the rust regex crate version 1.3.8. The default behavior of cargo is to grab the latest compatible version of the crate. In the pipelines we download the pre built linter exe from the Mojang/acpplinter releases github page. In order to reduce the amount of regex expressions in the mcpe linter file we should explicitly update the regex crate to 1.3.8.

More information in the original PR this empty sub expression functionality was used in.

@edzo93
Copy link
Copy Markdown
Author

edzo93 commented Sep 21, 2021

Im not sure of the exact release process for this repository so I will leave this PR as a draft for now.

@edzo93
Copy link
Copy Markdown
Author

edzo93 commented Sep 22, 2021

I increased the patch version for the acpplinter because the patch version of a dependency was updated.

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.

1 participant