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 clang version detection regexes #2549

Merged
merged 4 commits into from
May 24, 2022

Conversation

chausner
Copy link
Contributor

This fixes some regexes used to determine the Clang compiler version for telemetry. The regexes had a trailing space which would prevent them from ever matching. I not only removed the space but also changed the regex so that it matches version strings that don't contain a dash.

See also https://regex101.com/r/lkqFHg/1.

@elahehrashedi
Copy link
Contributor

@andreeis what do you suggest?

@elahehrashedi elahehrashedi added this to Pull Requests in 1.11 via automation May 20, 2022
@andreeis
Copy link
Contributor

@elahehrashedi, this looks good to me. @chausner, thanks for including the regex101 link, it was very useful.

@bobbrow bobbrow enabled auto-merge (squash) May 24, 2022 18:58
@bobbrow bobbrow merged commit 5c1fc3f into microsoft:main May 24, 2022
1.11 automation moved this from Pull Requests to Done May 24, 2022
@chausner chausner deleted the fix-clang-version-regex branch May 24, 2022 19:48
@github-actions github-actions bot locked and limited conversation to collaborators Jul 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
1.11
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants