File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -88,12 +88,12 @@ def evr(self) -> Optional[str]:
8888 m = re .match (
8989 r"""
9090 ^.*
91- \s+ # preceding whitespace
92- ((?P<sb>\[)|(?P<rb>\())? # optional opening bracket
93- (?P<evr>(\d+:)?\S+ -\S+?) # EVR
94- (?(sb)\]|(?(rb)\))) # matching closing bracket
95- :? # optional colon
96- \s* # optional following whitespace
91+ \s+ # preceding whitespace
92+ ((?P<sb>\[)|(?P<rb>\())? # optional opening bracket
93+ (?P<evr>(\d+:)?(\d+\.)\S* -\S+?) # EVR
94+ (?(sb)\]|(?(rb)\))) # matching closing bracket
95+ :? # optional colon
96+ \s* # optional following whitespace
9797 $
9898 """ ,
9999 self .header ,
Original file line number Diff line number Diff line change 1414 "header, evr" ,
1515 [
1616 ("* Thu Jan 04 2007 Michael Schwendt <mschwendt@fedoraproject.org>" , None ),
17+ ("* Thu Jan 04 2007 Michael Schwendt <mschwendt@fedora-project.org>" , None ),
1718 (
1819 "* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> 4.0-0.4.pre2" ,
1920 "4.0-0.4.pre2" ,
You can’t perform that action at this time.
0 commit comments