From e401afba363b6319a089f3920ce36ea1c113f94d Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Thu, 6 Jun 2019 14:26:29 +0200 Subject: Fix raw URLs with dpaste --- wgetpaste | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgetpaste b/wgetpaste index 9bf9be3..a56b5ff 100755 --- a/wgetpaste +++ b/wgetpaste @@ -55,7 +55,7 @@ Ruby Rhtml Sql Xml" EXPIRATIONS_dpaste="30%days 30%days%after%last%view" EXPIRATION_VALUES_dpaste="off on" POST_dpaste="submit=Paste+it poster title language hold % content" -REGEX_RAW_dpaste='s|^\(http://[^/]*/\)[^0-9]*\([0-9]*/\)$|\1\2plain/|' +REGEX_RAW_dpaste='s|^\(http://[^/]*/\)\([[:alnum:]]*\)$|\1\2.txt|' # gists LANGUAGES_gists="ActionScript Ada Apex AppleScript Arc Arduino ASP Assembly Augeas AutoHotkey Batchfile Befunge BlitzMax Boo Brainfuck Bro C C# C++ -- cgit v1.2.3