Function escapeRegex

  • Escape any regex special characters to avoid misinterpretation during search

    Parameters

    • value: string

      String which should be escaped

    Returns string

    New escaped sequence