I pass an empty array in match function, then I get trouble:
const { match } = require('path-to-regexp')
urlMatchFn = match([])
console.log(urlMatchFn('/foo')) // { path: '', index: 0, params: [Object: null prototype] {} }
Shoule the result be false? Thanks.