Detecting URLs in text is great fun.

When should characters that are allowed in URLs not be considered part of it? Cases I've dealt with today: dot/period, question mark, closing parenthesis. Examples…

Looks like the Mastodon web UI could do better, too. Especially when URLs are wrapped in angle brackets there's no reason to end them early.

Show thread

@cketti It's actually doing better than many other things I've seen though... 😕

@brandon Apologies. I didn't know replies go to the public timeline by default.

@cketti yeah, I honestly think it's a little bit of a bug, but have been too lazy to open an issue about it

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.