src/vs/editor/common/model/textModelSearch.ts/Searcher/reset
class Searcher:	public reset(lastIndex: number): void {
		this._searchRegex.lastIndex = lastIndex;
		this._prevMatchStartIndex = -1;
		this._prevMatchLength = 0;
	}