lib/pattern.js
function Pattern(glob, options, isNegated) {
  utils.defineProp(this, 'cache', new Map());
  this.negated = !!isNegated;
  this.options = options || {};
  this.parse(glob);
  return this;
}
function Pattern(glob, options, isNegated) {
  utils.defineProp(this, 'cache', new Map());
  this.negated = !!isNegated;
  this.options = options || {};
  this.parse(glob);
  return this;
}
function Pattern ( glob , options , isNegated ) { utils . defineProp ( this , 'cache' , new Map ( ) ) ; this . negated = ! ! isNegated ; this . options = options || { } ; this . parse ( glob ) ; return this ; }
Create an instance of `Pattern` with the given `options`.

@param {String} `glob`
@param {Object} `options`
@param {Boolean} `isNegated`
@api public
Create an instance of Pattern with the given options .