Documents for @litert/utils-string
    Preparing search index...
    • Escape a string for use in a regular expression, all below characters will be escaped.

      [.*+?^${}()|[\]/\\]

      Parameters

      • text: string

      Returns string