src/vs/workbench/contrib/terminal/browser/terminalTypeAheadAddon.ts/compileExcludeRegexp
const compileExcludeRegexp = (programs = DEFAULT_LOCAL_ECHO_EXCLUDE) =>
	new RegExp(`\\b(${programs.map(escapeRegExpCharacters).join('|')})\\b`, 'i');