Extends minimatch.match() with support for multiple patterns