summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngmar Vanhassel <ingmar@exherbo.org>2014-05-23 18:23:11 +0200
committerBo Ørsted Andresen <zlin@exherbo.org>2014-05-23 18:29:09 +0200
commite743c1ad00f441bbd667550b2254576f7c3ebfb7 (patch)
tree2388168f30b42372e40e9f4510a4295c0c5f401e
parent7bb2405551cb63108121ff7a1b63c9870128addb (diff)
downloadwgetpaste-e743c1ad00f441bbd667550b2254576f7c3ebfb7.tar.gz
Fix RAW support for bpaste
-rwxr-xr-xwgetpaste2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgetpaste b/wgetpaste
index 225f4d7..f8fe178 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -142,7 +142,7 @@ ragel-c ragel-cpp ragel-d ragel-java ragel-objc ragel-ruby raw rconsole rebol re
rbcon splus sass scala scheme smalltalk smarty sql sqlite3 squidconf tcl tcsh tex diff vala vb.net \
vim xml xml+cheetah xml+django xml+evoque xml+mako xml+myghty xml+php xml+erb xml+smarty xslt yaml"
POST_lodgeit="submit=Paste! % % language % % code"
-REGEX_RAW_lodgeit='s|^\(http://[^/]*/\)show\(/[0-9]*/\)$|\1raw\2|'
+REGEX_RAW_lodgeit='s|^\(http://[^/]*/\)show\(/[[:alnum:]]*/\)$|\1raw\2|'
### errors
die() {