From df2217615081f05da2efa6c4c997953976b1705f Mon Sep 17 00:00:00 2001 From: Peter Ajamian Date: Sun, 5 Apr 2020 14:56:14 +1200 Subject: [PATCH] Fix regex --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 11825b2..644b1e0 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' } }