RegExp

Methods

static escapeString(str) → {string}

Escape given string so it can be safely used in RegExp
Parameters:
Name Type Description
str string String to be escaped
Returns:
string - Escaped string