escapeRegexp

function

escapeRegexp

source
export function escapeRegexp(str: string): string
export function escapeRegexp(str: string): string
ParamDescriptionTypeRequired
str
str
The string to escape
string
string
Yes

Returns:

string
string