router: use wildcard for .use(fn)

Unfortunately a capturing group must be used since
path-to-regexp currently does not have a way to
specify a wildcard in a path without it being
escaped.