diff options
author | Bo Ørsted Andresen <zlin@exherbo.org> | 2009-12-18 22:17:34 +0000 |
---|---|---|
committer | Bo Ørsted Andresen <zlin@exherbo.org> | 2009-12-18 22:17:34 +0000 |
commit | fd763a800542363dedcc328a6d777a14556f71fa (patch) | |
tree | 480bc13da051560cdce11160c8c067bb221a04ea | |
parent | 5b4396faf5751ce0cf41da41f6d718d163468d1b (diff) | |
download | wgetpaste-fd763a800542363dedcc328a6d777a14556f71fa.tar.gz |
Add --raw support for codepad.
-rwxr-xr-x | wgetpaste | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -55,6 +55,7 @@ REGEX_RAW_ca='s|^\(http://[^/]*/\)\([0-9]*\)$|\1raw/\2|' LANGUAGES_codepad="C C++ D Haskell Lua OCaml PHP Perl Plain%Text Python Ruby Scheme Tcl" POST_codepad="submit % % lang % % code" REGEX_URL_codepad='s|^--.*\(http://codepad.org/[^ ]\+\)|\1|p' +REGEX_RAW_codepad='s|^\(http://[^/]*/\)\([[:alnum:]]*\)$|\1\2/raw.rb|' # dpaste LANGUAGES_dpaste="Plain%Text Apache%Config Bash CSS Diff Django%Template/HTML Haskell JavaScript \ Python Python%Interactive/Traceback Ruby Ruby%HTML%(ERB) SQL XML" |