mirror of
https://github.com/pajamian/Pastebin2cpaste.git
synced 2025-04-25 04:21:19 -05:00
Let's try this again. Fix regexps.
This commit is contained in:
parent
1f4cf959db
commit
91b19f3ffe
@ -54,7 +54,7 @@ class Pastebin2cpaste(callbacks.Plugin):
|
||||
'url': 'https://pastebin.com/raw/%s'
|
||||
},
|
||||
'hastebin.com': {
|
||||
'regex': re.compile(r'/([a-z]+)(?:\.[a-z]+)?[.:?!,]*/?$'),
|
||||
'regex': re.compile(r'/([a-z]+)(?:\.[a-z]+)?[.:?!,]*$'),
|
||||
'url': 'https://hastebin.com/raw/%s'
|
||||
},
|
||||
'www.irccloud.com': {
|
||||
@ -66,7 +66,7 @@ class Pastebin2cpaste(callbacks.Plugin):
|
||||
'url': 'https://termbin.com/%s'
|
||||
},
|
||||
'paste.debian.net': {
|
||||
'regex': re.compile(r'([0-9]+)[.:?!,]*$'),
|
||||
'regex': re.compile(r'([0-9]+)/?[.:?!,]*$'),
|
||||
'url': 'https://paste.debian.net/plain/%s'
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user