Skip to content

Commit c603bd9

Browse files
committed
Escape . on regex
1 parent d36a2d2 commit c603bd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/projects/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@
294294
GITHUB_REGEXS = [
295295
re.compile('github.com/(.+)/(.+)(?:\.git){1}$'),
296296
re.compile('github.com/(.+)/(.+)'),
297-
re.compile('github.com:(.+)/(.+).git$'),
297+
re.compile('github.com:(.+)/(.+)\.git$'),
298298
]
299299
BITBUCKET_REGEXS = [
300300
re.compile('@bitbucket.org/(.+)/(.+)\.git$'),

0 commit comments

Comments
 (0)