Function escapeForRegExp

  • Escapes a string to be used on new RegExp(...).

    Parameters

    • text: string

      The text to escape.

    Returns string

Generated using TypeDoc