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

Ben Boeckel ben.boeckel at kitware.com
Fri Jul 1 09:04:59 EDT 2016


On Fri, Jul 01, 2016 at 08:58:16 -0400, Brad King wrote:
> Also, the `([^/]*)\\?.*` part of the regex should be more
> like `([^/?]*)\\?.*` to avoid eagerly matching early `?`.

This should also probably skip '#' characters for URLs with anchors.

--Ben


More information about the cmake-developers mailing list