Closed
Description
In #81079 we added a case_sensitive argument to pathlib.Path.glob()
and rglob()
. It would be good to have this functionality available in the closely-related PurePath.match()
method. The rationale is much the same: this argument is useful when dealing with case-sensitive filesystems on Windows, and case-insensitive filesystems on Posix. Also, it would allow this method to be used from glob()
to implement recursive globbing efficiently, which is important for #102613.