regex fix, move '+' inside capturing group
This commit is contained in:
parent
0a89682816
commit
e7edd9997f
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ COLOR_ID = utils.consts.PINK
|
||||||
|
|
||||||
REGEX_ISSUE = re.compile("(?:\S+(?:\/\S+)?)?#\d+")
|
REGEX_ISSUE = re.compile("(?:\S+(?:\/\S+)?)?#\d+")
|
||||||
REGEX_ISSUE_URL = re.compile(
|
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
|
#https://github.com/ircv3/ircv3-specifications/pull/347
|
||||||
|
|
||||||
FORM_ENCODED = "application/x-www-form-urlencoded"
|
FORM_ENCODED = "application/x-www-form-urlencoded"
|
||||||
|
|
Loading…
Reference in a new issue