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

FindANTLR: Fix version RegEx #3706

Merged
merged 1 commit into from
Jun 25, 2022
Merged

FindANTLR: Fix version RegEx #3706

merged 1 commit into from
Jun 25, 2022

Conversation

Krzmbrzl
Copy link
Contributor

@Krzmbrzl Krzmbrzl commented May 9, 2022

The currently used RegEx only allowed for single-digit version components for
everything but the major version. Thus, when parsing e.g. the version 4.10.1,
only the part 4.1 would be matched and thus, the determined ANTLR version
would be wrong.

The currently used RegEx only allowed for single-digit version components for
everything but the major version. Thus, when parsing e.g. the version 4.10.1,
only the part 4.1 would be matched and thus, the determined ANTLR version
would be wrong.

Signed-off-by: Robert Adam <[email protected]>
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