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
Follow

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

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
chaos.social

chaos.social – a Fediverse instance for & by the Chaos community