]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-47080: Use atomic groups to simplify fnmatch (GH-32029)
authorTim Peters <tim.peters@gmail.com>
Mon, 21 Mar 2022 17:49:43 +0000 (12:49 -0500)
committerGitHub <noreply@github.com>
Mon, 21 Mar 2022 17:49:43 +0000 (12:49 -0500)
commit5c3201e146b251017cd77202015f47912ddcb980
treece73de73a7ab00cda60b49f83e7deed1f3bec044
parent345b390ed69f36681dbc41187bc8f49cd9135b54
bpo-47080: Use atomic groups to simplify fnmatch (GH-32029)

Use re's new atomic groups to greatly simplify the construction of worst-case linear-time patterns.
Lib/fnmatch.py
Lib/test/test_fnmatch.py