$ npm install bloody-matchpath
var matchPath = require("bloody-matchpath")
checks string
using the matcher
pattern.
"foo.*.bar"
// matches
"foo.bar.bar"
// but not
"foo.bar.baz.bar"
"foo.**.bar"
// matches both
"foo.bar.bar"
// and
"foo.bar.baz.bar"