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

cmake: drop redundant opening/closing .* from MATCH expressions #15773

Closed
wants to merge 1 commit into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Dec 18, 2024

Also from a corresponding REPLACE expression.

CMake matches expressions anywhere within the value without an explicit
.*.

https://cmake.org/cmake/help/latest/command/if.html#matches
https://cmake.org/cmake/help/latest/command/string.html#regex-match

Also from a corresponding `REPLACE` expression.
@github-actions github-actions bot added the build label Dec 18, 2024
@vszakats vszakats closed this in 4490761 Dec 20, 2024
@vszakats vszakats deleted the cm-regexp-tidy branch December 20, 2024 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant