wildstar
    Preparing search index...
    • Checks if a string matches a pattern with wildcards (case-insensitive), without returning captures.

      Parameters

      • source: string

        The input string to match

      • pattern: string

        The pattern string, may contain * and *+ wildcards

      Returns boolean

      True if the pattern matches, false otherwise

      • Case-insensitive version of matches.
      matches('Hello', 'hell*') // returns true