[cmake-developers] [patch] One more pattern for extracting file name from URL

Brad King brad.king at kitware.com
Tue Jul 5 15:03:47 EDT 2016


On 07/01/2016 03:35 PM, Brad King wrote:
> I don't think we should duplicate the
> 
>   "(\\.|=)(7z|tar|tar\\.bz2|tar\\.gz|tar\\.xz|tbz2|tgz|txz|zip)$"
> 
> expression.  The stripping of ?.* can be done earlier, or done as
> part of the main match.

Please try this commit:

 ExternalProject: Match filenames in URLs with query strings and anchors
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=57c337e2

Thanks,
-Brad



More information about the cmake-developers mailing list