daily pastebin goal
60%
SHARE
TWEET

/paste alias

Seb Sep 1st, 2012 (edited) 134 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. alias paste {
  2.   var %r1 = /(\$[^\s\(\),\x03]+)/g | var %r2 = /([\(\)\[\]])/g | var %r3 = /([,\:><=&|!])/g | var %r4 = /(%[^\s\(\),\x03]+)/g
  3.   var %r5 = /([\{\}])/g | var %r6 = /(?:^|\G)(\s)/g | var %r7 = /(#[^\s\(\),\x03]*)/g
  4.   var %loop = 1, %end = $cb(0)
  5.   while (%loop <= %end) {
  6.     say $regsubex($regsubex($regsubex($regsubex($regsubex($regsubex($regsubex($cb(%loop),%r1,03\1),%r2,12\1),%r3,07\1),%r4,10\1),%r5,13\1),%r6,\1),%r7,04\1)
  7.     inc %loop 1
  8.   }
  9. }
RAW Paste Data
Top