Lines Matching refs:pat
184 globSync = function (pat, opts) { argument
185 var dirname = basedir(pat)
200 pat = path.normalize(pat);
201 matches = minimatch.match(files, pat, opts || {});
307 , pat
312 pat = pats[i];
313 if (typeof pat == 'string') {
315 if (/[*?]/.test(pat)) {
316 matches = globSync(pat);
324 excl.push(escapeRegExpChars(pat));
328 else if (pat instanceof RegExp) {
329 excl.push(pat.toString().replace(/^\/|\/$/g, ''));