gh-89973: Fix re.error in the fnmatch module. (GH-93072)
Character ranges with upper bound less that lower bound (e.g. [c-a]) are now interpreted as empty ranges, for compatibility with other glob pattern implementations. Previously it was re.error.
S
Serhiy Storchaka committed
0902c3d8edf7ef67972dd95f6a21670f5d1a4251
Parent: 6f8367d
Committed by GitHub <noreply@github.com>
on 6/5/2022, 8:46:29 AM