code: function(options) {
      var options = options || {};
      this._pattern = options.pattern || this._pattern;
      this.discardEmpty = options.discardEmpty || true;
  
      // Match and split on GAPS not the actual WORDS
      this._gaps = options.gaps;
  
      if (this._gaps === undefined) {
          this._gaps = true;
      }
  }
docs: Base Class for RegExp Matching