https://bugs.kde.org/show_bug.cgi?id=432375

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sit...@kde.org

--- Comment #2 from Harald Sitter <sit...@kde.org> ---
I don't understand this.
If we removed the leading slash option we'd no longer parse https urls
correctly.

That said I also can't reproduce your problem.

λ ajax /tmp → cat test.cmake
function(foo giturl)
    string(REGEX MATCHALL ".+kde\\.org[:\\/]([-A-Za-z0-9\\/]+)(.git)?\\s*" ""
${giturl})
    message("${CMAKE_MATCH_1}")
endfunction()

foo("https://invent.kde.org/multimedia/kdenlive";)
foo("g...@invent.kde.org:multimedia/kdenlive")


λ ajax /tmp → cmake -P test.cmake
multimedia/kdenlive
multimedia/kdenlive

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to