anymatch

Matches strings against configurable strings, globs, regular expressions, and/or functions