Skip to content
Snippets Groups Projects
Unverified Commit 2f8aae38 authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub
Browse files

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.
(cherry picked from commit 0902c3d8)

Co-authored-by: default avatarSerhiy Storchaka <storchaka@gmail.com>
parent 60adc4b9
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment