mirror of
https://github.com/pajamian/Pastebin2cpaste.git
synced 2025-04-28 05:51:24 -05:00
Fix regex
This commit is contained in:
parent
6afce29612
commit
df22176150
@ -62,7 +62,7 @@ class Pastebin2cpaste(callbacks.Plugin):
|
|||||||
'url': 'https://hastebin.com/raw/%s'
|
'url': 'https://hastebin.com/raw/%s'
|
||||||
},
|
},
|
||||||
'www.irccloud.com': {
|
'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'
|
'url': 'https://www.irccloud.com/pastebin/raw/%s'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user