diff options
| author | 2019-05-18 11:13:19 +0100 | |
|---|---|---|
| committer | 2019-05-18 11:13:19 +0100 | |
| commit | e7edd9997f4c8ac41f6ad6d559dbc5b6d1b01c4d (patch) | |
| tree | d57614b72e2883c0e62430e0e27b540998e60963 | |
| parent | `match.group(0)` -> `ref` (diff) | |
| signature | ||
regex fix, move '+' inside capturing group
| -rw-r--r-- | modules/github/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py index a8f6b294..d68754f3 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -10,7 +10,7 @@ COLOR_ID = utils.consts.PINK REGEX_ISSUE = re.compile("(?:\S+(?:\/\S+)?)?#\d+") REGEX_ISSUE_URL = re.compile( - "https?://github.com/([^/]+)/([^/])+/(pull|issues)/(\d+)", re.I) + "https?://github.com/([^/]+)/([^/]+)/(pull|issues)/(\d+)", re.I) #https://github.com/ircv3/ircv3-specifications/pull/347 FORM_ENCODED = "application/x-www-form-urlencoded" |
