mirror of
https://github.com/pajamian/Pastebin2cpaste.git
synced 2025-04-25 12:31:07 -05:00
Fedora pastebin sometimes has a dash (-) in the code.
This commit is contained in:
parent
6fa66767a3
commit
9383139d03
@ -54,7 +54,7 @@ class Pastebin2cpaste(callbacks.Plugin):
|
||||
'url': 'https://pastebin.com/raw/%s'
|
||||
},
|
||||
'paste.fedoraproject.org': {
|
||||
'regex': re.compile(r'([0-9a-zA-Z~]+)(?:/raw)?[.:?!,]*$'),
|
||||
'regex': re.compile(r'([0-9a-zA-Z~-]+)(?:/raw)?[.:?!,]*$'),
|
||||
'url': 'https://paste.fedoraproject.org/paste/%s/raw'
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user