aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2017-04-07 13:12:14 +0200
committerAleix Pol <aleixpol@kde.org>2017-04-07 13:12:14 +0200
commit2e3e8c10c9564f41ef76a67842ce714fefd501c6 (patch)
tree276374830e7103a84f1750d03f301be7742e5d3e
parente62222982aba53475aed6ad8119c270bc1d92ce1 (diff)
downloadextra-cmake-modules-2e3e8c10c9564f41ef76a67842ce714fefd501c6.tar.gz
extra-cmake-modules-2e3e8c10c9564f41ef76a67842ce714fefd501c6.tar.bz2
Fix rx that matches project names out of the git uri
-rw-r--r--kde-modules/KDECMakeSettings.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/kde-modules/KDECMakeSettings.cmake b/kde-modules/KDECMakeSettings.cmake
index 02502e8d..1a694330 100644
--- a/kde-modules/KDECMakeSettings.cmake
+++ b/kde-modules/KDECMakeSettings.cmake
@@ -301,7 +301,7 @@ if(NOT EXISTS ${CMAKE_SOURCE_DIR}/po)
)
if(exitCode EQUAL 0)
- string(REGEX MATCHALL ".+[:\\/]([\\w\\-\\d])(.git)?\\s*" "" ${giturl})
+ string(REGEX MATCHALL ".+[:\\/]([A-Za-z\\-\\d]+)(.git)?\\s*" "" ${giturl})
set(reponame ${CMAKE_MATCH_1})
endif()