new RegExp() Source: ext/regexp.js, line 3 Methods (static) escape(string) → {String} Escapes the given string so it can be used inside of a regular expression. Parameters: Name Type Description string String Source: ext/regexp.js, line 14 Returns: Type String flags() → {String} Returns a string representing RegExp's flags (g, i, m). Source: ext/regexp.js, line 21 Returns: Type String