RegExp

Namespace

RegExp

Source:

Methods

(static) escapeString(str) → {string}

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