src/vs/editor/common/languages/supports/richEditBrackets.ts/toReversedString
	return function toReversedString(str: string): string {
		if (lastInput !== str) {
			lastInput = str;
			lastOutput = reverse(lastInput);
		}
		return lastOutput!;
	};