src/vs/workbench/contrib/terminal/browser/terminalTypeAheadAddon.ts/StringReader/eatRe
class StringReader:	eatRe(re: RegExp) {
		const match = re.exec(this._input.slice(this.index));
		if (!match) {
			return;
		}

		this.index += match[0].length;
		return match;
	}