quote box by 51b

auto s="-*?@.#`%$\\:[{'\"
";template r(char c,int n){static if(n)const r=c~r!(c,n-1)~c;else const
r="";}template f(int n,int a){static if(n+15)const
f=f!(n-1,n>0?a-1:a+1)~"\"'{[:\\$%`#.@?*-"[0..15-a]~r!(s[a*1],9+a)~s[a..$];else
const f="";}pragma(msg,f!(14,14));

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page