gotosocial/internal/regexes
Daenney 5155718bcb feat: Relax URL matching
Instead of only linkifying things with an explicit http or https scheme,
the xurls.Relaxed also matches links with known TLDs. This means that
text like 'banana.com' will also be matched, despite the missing
http/https scheme. This also works to linkify email addresses, which is
handy.

This should also ensure we catch links without a scheme for the purpose
of spam checking.
2025-03-20 15:37:08 +01:00
..
regexes.go feat: Relax URL matching 2025-03-20 15:37:08 +01:00