From 2e3e8c10c9564f41ef76a67842ce714fefd501c6 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Fri, 7 Apr 2017 13:12:14 +0200 Subject: Fix rx that matches project names out of the git uri --- kde-modules/KDECMakeSettings.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kde-modules/KDECMakeSettings.cmake') 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() -- cgit v1.2.1