code: function() {
  
        var match
        var matchIndex = 0
        var offset = 0
        var regex = this.options.find
        var textAggregation = this.getAggregateText()
        var matches = []
        var self = this
        regex = typeof regex === 'string' ? RegExp(escapeRegExp(regex), 'g') : regex
        matchAggregation(textAggregation)
        function matchAggregation(textAggregation) {
          for (var i = 0, l = textAggregation.length; i < l; ++i) {
  
            var text = textAggregation[i]
            if (typeof text !== 'string') {
              // Deal with nested contexts: (recursive)
              matchAggregation(text)
              continue
            }
  
            if (regex.global) {
              while (match = regex.exec(text)) {
                matches.push(self.prepMatch(match, matchIndex++, offset))
              }
            } else {
              if (match = text.match(regex)) {
                matches.push(self.prepMatch(match, 0, offset))
              }
            }
  
            offset += text.length
          }
        }
  
        return matches
      }
docs: Searches for all matches that comply with the instance's 'match' option