isaacs / minimatch

a glob matcher in javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: Unexpected MODIFIER at 5, expected END

hronro opened this issue · comments

commented

Code to reproduce:

const { pathToRegexp } = require("path-to-regexp");
const r = pathToRegexp('/foo/*/bar');
console.log(r);
commented

Apologies for raising the issue in the wrong repository.