src/vs/workbench/services/search/common/replace.ts/ReplacePattern/buildReplaceString
class ReplacePattern:	public buildReplaceString(matches: string[] | null, preserveCase?: boolean): string {
		if (preserveCase) {
			return buildReplaceStringWithCasePreserved(matches, this._replacePattern);
		} else {
			return this._replacePattern;
		}
	}