diff options
| -rw-r--r-- | bot/exts/info/code_snippets.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/code_snippets.py b/bot/exts/info/code_snippets.py index 06885410b..24a9ae28a 100644 --- a/bot/exts/info/code_snippets.py +++ b/bot/exts/info/code_snippets.py @@ -16,7 +16,7 @@ log = logging.getLogger(__name__)  GITHUB_RE = re.compile(      r'https://github\.com/(?P<repo>[a-zA-Z0-9-]+/[\w.-]+)/blob/' -    r'(?P<path>[^#>]+)(\?[^#>]+)?(#L(?P<start_line>\d+)([-~:]L(?P<end_line>\d+))?)' +    r'(?P<path>[^#>]+)(\?[^#>]+)?(#L(?P<start_line>\d+)(([-~:]|(\.\.))L(?P<end_line>\d+))?)'  )  GITHUB_GIST_RE = re.compile(  |