🆕 blog! “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.
{<((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 turns out that, lurking on […]
👀 Read more: https://shkspr.mobi/blog/2024/09/http-ftp-and-dict/
⸻
#internet