Commit 7898bb41 authored by René J.V. Bertin's avatar René J.V. Bertin

fix version detection in test_cmakeserver

parent e1a51bd3
......@@ -50,7 +50,7 @@ private Q_SLOTS:
auto output = p.readAll();
QRegularExpression rx("cmake version (\\d\\.\\d).*");
QRegularExpression rx("cmake version (\\d\\.\\d+).*");
const auto match = rx.match(output);
const auto capture = match.capturedRef(1);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment