Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 389 Bytes

DOCUMENTATION.md

File metadata and controls

20 lines (12 loc) · 389 Bytes

Documentation

You can see below the API reference of this module.

RegexEscape(input)

Escapes a string for using it in a regular expression.

Params

  • String input: The string that must be escaped.

Return

  • String The escaped string.

proto()

Adds the RegexEscape function to RegExp class.

Return

  • Function The RegexEscape function.