Returns captures if the pattern matches the source string (case-insensitive), otherwise null.
The input string to match
The pattern string, may contain * and *+ wildcards
Array of captures if matched, or null if not
match('Foo Bar', 'foo *') // returns ['Bar'] Copy
match('Foo Bar', 'foo *') // returns ['Bar']
Returns captures if the pattern matches the source string (case-insensitive), otherwise null.