From b730961ba3708d4a8e1d2d8be2604b4f529b89c7 Mon Sep 17 00:00:00 2001 From: Peter Ajamian Date: Wed, 9 Sep 2020 17:57:34 +1200 Subject: [PATCH] Fix regex for irccloud --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index b19c904..9fd24ad 100644 --- a/plugin.py +++ b/plugin.py @@ -62,7 +62,7 @@ class Pastebin2cpaste(callbacks.Plugin): 'url': 'https://hastebin.com/raw/%s' }, 'www.irccloud.com': { - 'regex': re.compile(r'/pastebin(?:/raw)/([0-9a-zA-Z]+)(?:/.*)?[.:?!,]*$'), + 'regex': re.compile(r'/pastebin(?:/raw)?/([0-9a-zA-Z]+)(?:/.*)?[.:?!,]*$'), 'url': 'https://www.irccloud.com/pastebin/raw/%s' } }