code: function (options) {
          _.has(options, 'pattern') && (_.isString(options.pattern) && !_.isEmpty(options.pattern)) &&
              (this.pattern = options.pattern);
  
          // create a match pattern and store it on cache
          this._matchPatternObject = this.createMatchPattern();
      }
docs: Assigns the given properties to the UrlMatchPattern.
  
  @param {{ pattern: (string) }} options