Documentation
    Preparing search index...

    Function likeRegex

    • Converts a UCAN glob pattern to a regular expression.

      * matches zero or more characters, including newlines. \* matches a literal *. The spec defines no other escapes, so a \ that is not followed by * is a literal backslash. For example, the pattern \\* is a literal `` followed by \*, and only matches the string \*.

      Parameters

      • pattern: string

      Returns RegExp