Skip to content

Commit

Permalink
Update regex from packaging project
Browse files Browse the repository at this point in the history
  • Loading branch information
RazerM committed Aug 12, 2023
1 parent 6adff45 commit 95febb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pep-0440.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1623,7 +1623,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 95febb4

Please sign in to comment.