Checks if a string matches a pattern with wildcards (case-insensitive), without returning captures.
The input string to match
The pattern string, may contain * and *+ wildcards
True if the pattern matches, false otherwise
matches('Hello', 'hell*') // returns true Copy
matches('Hello', 'hell*') // returns true
Checks if a string matches a pattern with wildcards (case-insensitive), without returning captures.