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

      Parameters

      • source: string

        The input path to match

      • pattern: string

        The pattern path, may contain *, *+, **, **+ wildcards

      Returns boolean

      True if the pattern matches, false otherwise

      matches('hElLo/dear/WOrlD', 'hello/**+/world') // returns true