Skip to content

Commit

Permalink
PEP 440: Update regex from packaging project (#3288)
Browse files Browse the repository at this point in the history
Update regex from packaging project

See pypa/packaging#705

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
  • Loading branch information
RazerM and hugovk authored Nov 24, 2024
1 parent 1fed2b6 commit c396e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peps/pep-0440.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1625,7 +1625,7 @@ project)::
(?P<release>[0-9]+(?:\.[0-9]+)*) # release segment
(?P<pre> # pre-release
[-_\.]?
(?P<pre_l>(a|b|c|rc|alpha|beta|pre|preview))
(?P<pre_l>alpha|a|beta|b|preview|pre|c|rc)
[-_\.]?
(?P<pre_n>[0-9]+)?
)?
Expand Down

0 comments on commit c396e8f

Please sign in to comment.