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 […]
⸻
#internet
@Edent ahhh, I'm nostalgic for the days when people made protocols target then just REST APIs...