Best of 2012

The blog posts Hacker News loved most in 2012. 247 posts.

Tools & Productivity
45

My favorite regex of all time

I thought I'd share my favorite regex of all time. [ -~] Any idea what this regexp matches? Scroll down for the answer. . . . . . . . . It matches all ASCII characters from the space to tilde. What are these characters? These are all printable characters! Take a look at this ASCII table. Printable characters start…