Closed andsanmar closed 3 years ago
This is probably the same as #718
I solved this for my old X11 terminal emulator by writing https://github.com/mvdan/xurls - it's regex-based, but smart enough to deal with surrounding characters.
I wish there was a way to use it with Termite, but there doesn't seem to be a way right now.
Another option would be to simply copy xurls' regular expression for http/https URLs, which isn't all that large. That should only need to be updated once a year or so.
Termite is obsolete. Please use Alacritty instead. See https://github.com/thestinger/termite#termite-is-obsoleted-by-alacritty for more details.
If in an url ends in parenthesis+dot, it uses it for opening the link (e.g.
(https://github.com/thestinger/termite).
will openhttps://github.com/thestinger/termite/).