Skip to content

Use string(FIND) instead of regex for matching directory names#8306

Merged
oshadura merged 4 commits intoroot-project:masterfrom
SpectreVert:cmake_regex_to_find
Jun 3, 2021
Merged

Use string(FIND) instead of regex for matching directory names#8306
oshadura merged 4 commits intoroot-project:masterfrom
SpectreVert:cmake_regex_to_find

Conversation

@SpectreVert
Copy link
Copy Markdown
Contributor

Fixes #8305

5 places in RootMacros.cmake use regex when a simple string(FIND) suffices

@SpectreVert SpectreVert requested a review from oshadura as a code owner June 1, 2021 10:08
@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-ubuntu16/nortcxxmod, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds

@SpectreVert SpectreVert requested a review from Axel-Naumann June 1, 2021 10:11
@Axel-Naumann Axel-Naumann removed their request for review June 1, 2021 10:48
@ghost
Copy link
Copy Markdown

ghost commented Jun 1, 2021

Congratulations 🎉. DeepCode analyzed your code in 0.977 seconds and we found no issues. Enjoy a moment of no bugs ☀️.

👉 View analysis in DeepCode’s Dashboard | Configure the bot

@SpectreVert SpectreVert self-assigned this Jun 1, 2021
@oshadura
Copy link
Copy Markdown
Collaborator

oshadura commented Jun 3, 2021

Retry DeepCode

Copy link
Copy Markdown
Collaborator

@oshadura oshadura left a comment

Choose a reason for hiding this comment

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

LGTM! it nicely simplifies code!

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.

[cmake] directory checking using string(REGEX) should be replaced with string(FIND)

3 participants