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