Latest on twitter:

sweet ass-regex

codedump:

My tribute to xkcd #37 — this regular expression changes “sweet-ass x” to “sweet ass-x”.

s/(\bsweet)[- ](ass)\s(\w)/$1 $2-$3/i

hahahahahahah why i havent i seen this tumblr before??

  • bdotdub reblogged this from codedump and added:
    hahahahahahah why i havent i seen
  • morningstar reblogged this from inky
  • inky reblogged this from codedump
  • codedump posted this
  • -->
    blog comments powered by Disqus