0.0.0 • Published 12 years ago
bloody-matchpath v0.0.0
match-path
install
$ npm install bloody-matchpathrequire
var matchPath = require("bloody-matchpath")api
matchPath(string, matcher) > Boolean
checks string using the matcher pattern.
patterns
"foo.*.bar"
// matches
"foo.bar.bar"
// but not
"foo.bar.baz.bar"
"foo.**.bar"
// matches both
"foo.bar.bar"
// and
"foo.bar.baz.bar"0.0.0
12 years ago