index.js
function (str, highlight) {
      this.currentMatch.replace = this.filterString(str, highlight);
      this.currentMatch.hasMatches = str !== this.currentMatch.replace;

      return this;
    }
function (str, highlight) {
      this.currentMatch.replace = this.filterString(str, highlight);
      this.currentMatch.hasMatches = str !== this.currentMatch.replace;

      return this;
    }
function ( str , highlight ) { this . currentMatch . replace = this . filterString ( str , highlight ) ; this . currentMatch . hasMatches = str !== this . currentMatch . replace ; return this ; }
Prepare some text to be matched against.

@param   {String}    str
@param   {Boolean}   highlight
@returns {Censoring}
Prepare some text to be matched against .