Fix regex

This commit is contained in:
Peter Ajamian 2020-04-05 14:56:14 +12:00
parent 6afce29612
commit df22176150

View File

@ -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'
}
}