From 54e8fc80296549797c2e2c82b61ffb802d50446a Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 16 May 2019 14:25:18 +0100 Subject: \S not \s in github issue ref regex --- modules/github/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/github/__init__.py b/modules/github/__init__.py index c33935ac..fdd1c94d 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -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" -- cgit v1.3.1-10-gc9f91