function add(start, length, data) {
			matches.push({
				start: start,
				end: start + length,
				text: text.substr(start, length),
				data: data
			});

			return this;
		}
Adds match the specified range for example a grammar line.

@param {Number} start Start offset.
@param {Number} length Length of the text.
@param {Object} data Custom data object for match.
@return {DomTextMatcher} Current DomTextMatcher instance.