Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 80,841 posts.

Any topic
Any year
9807

HTTP: , FTP:, and Dict:?

I went for a spelunk through an ancient codebase a few weeks ago which contained a curious regex that I just couldn't grok. Copied to 📋⧉ {<((https?|ftp|dict|tel):[^\'">\s]+)>}i I'm familiar with HTTP and FTP. I worked in the mobile industry, so knew that tel:+44... could be used to launch a dialer. But DICT?!?!?! It…