jimpex
    Preparing search index...

    Function escapeForRegExp

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

      Parameters

      • text: string

        The text to escape.

      Returns string