NO-JIRA: fix regex for matching tox version
@@ -161,7 +161,7 @@ if (TOX_EXE)
OUTPUT_VARIABLE TOX_VERSION)
if (TOX_STATUS EQUAL 0)
string(STRIP "${TOX_VERSION}" TOX_VERSION)
- string(REGEX MATCH "^[0-9][.][0-9][.][0-9]" TOX_VERSION "${TOX_VERSION}")
+ string(REGEX MATCH "^[0-9]+[.][0-9]+[.][0-9]+" TOX_VERSION "${TOX_VERSION}")
if (TOX_VERSION STRLESS TOX_MIN_VERSION)
message( STATUS "tox version ${TOX_VERSION} < required version ${TOX_MIN_VERSION} - skipping python-checker")
else (TOX_VERSION STRLESS TOX_MIN_VERSION)
