change REGEX_ISSUE to actually accept a repo name without org name

This commit is contained in:
jesopo 2019-05-17 10:28:18 +01:00
parent f3d9fbb216
commit 5513cc3a80

View file

@ -8,7 +8,7 @@ COLOR_NEUTRAL = utils.consts.LIGHTGREY
COLOR_NEGATIVE = utils.consts.RED
COLOR_ID = utils.consts.PINK
REGEX_ISSUE = re.compile("(\S+/\S+)?#\d+")
REGEX_ISSUE = re.compile("(?:\S+(?:\/\S+)?)?#\d+")
FORM_ENCODED = "application/x-www-form-urlencoded"