Path.match#

Path.match(path_pattern)#

Return True if this path matches the given pattern.