wildcard parameter is extracted properly

If path is `<basePath>/{url*}/foobar`, regex generated is `<basePath>/[^/]*/foobar`  when it should be `<basePath>/.*/foobar`  due to wildcard.