DocumentationSapphire Utilities@sapphire/utilitiesFunctionsregExpEscOn this pageFunction: regExpEsc() regExpEsc(str: string): string Cleans a string from regex injection Parameters ParameterTypeDescriptionstrstringThe string to clean Returns string Source lib/regExpEsc.ts:7