File tree Expand file tree Collapse file tree 3 files changed +209
-105
lines changed
Expand file tree Collapse file tree 3 files changed +209
-105
lines changed Original file line number Diff line number Diff line change 4141 r'(?P<resource>[a-z0-9_.-]*)'
4242 r'[:/]*'
4343 r'(?P<port>[\d]+){0,1}'
44- r'(?P<pathname>\/(?P<owner>.+)/(?P<name>.+).git)' ),
44+ r'(?P<pathname>\/((?P<owner>[\w\-]+)\/)?'
45+ r'((?P<name>[\w\-]+)(\.git)?)?)$' ),
4546 re .compile (r'(git\+)?'
4647 r'((?P<protocol>\w+)://)'
4748 r'((?P<user>\w+)@)?'
4849 r'((?P<resource>[\w\.\-]+))'
4950 r'(:(?P<port>\d+))?'
5051 r'(?P<pathname>(\/(?P<owner>\w+)/)?'
51- r'(\/?(?P<name>[\w\-]+)(\.git)?)?)' ),
52+ r'(\/?(?P<name>[\w\-]+)(\.git)?)?)$ ' ),
5253 re .compile (r'^(?:(?P<user>.+)@)*'
5354 r'(?P<resource>[a-z0-9_.-]*)[:/]*'
5455 r'(?P<port>[\d]+){0,1}'
55- r'[:](?P<pathname>\/?(?P<owner>.+)/(?P<name>.+).git)' ),
56+ r'[:](?P<pathname>\/?(?P<owner>.+)/(?P<name>.+).git)$ ' ),
5657 re .compile (r'((?P<user>\w+)@)?'
5758 r'((?P<resource>[\w\.\-]+))'
5859 r'[\:\/]{1,2}'
5960 r'(?P<pathname>((?P<owner>\w+)/)?'
60- r'((?P<name>[\w\-]+)(\.git)?)?)' ),
61+ r'((?P<name>[\w\-]+)(\.git)?)?)$ ' ),
6162)
6263
6364
You can’t perform that action at this time.
0 commit comments