lost+found/src/path/matcher.js
function _gpfPathMatch (pattern, path) {
    var parts = _gpfPathDecompose(path),
        matchers = _gpfPathMatchCompilePatterns(pattern),
        scope = {
            parts: parts
        };
    matchers.every(_gpfPathMatchApply, scope);
    return scope.result;
}
function _gpfPathMatch (pattern, path) {
    var parts = _gpfPathDecompose(path),
        matchers = _gpfPathMatchCompilePatterns(pattern),
        scope = {
            parts: parts
        };
    matchers.every(_gpfPathMatchApply, scope);
    return scope.result;
}
function _gpfPathMatch ( pattern , path ) { var parts = _gpfPathDecompose ( path ) , matchers = _gpfPathMatchCompilePatterns ( pattern ) , scope = { parts : parts } ; matchers . every ( _gpfPathMatchApply , scope ) ; return scope . result ; }
Match the pattern with the path
@param {Array|String} pattern
@param {String} path
@return {Boolean|undefined}
Match the pattern with the path