Another Notes app automatically recognizes URLs in the text and turns them into clickable links, but as of my tests only http, https and ftp URLs are being recognized, also email addresses and domain names. I would suggest to treat everything matching i.e. \w+[-\w]*:\/[^ ]+ like an URL, because there are many different protocols other than http(s), here are some examples:
ftps
sftp
ssh
mailto
tel
geo
gemini
gopher
...and new ones may appear in the future, i.e. fedi links for the purpose of mobile apps like Tusky.
Also I noticed some special TLDs like onion, i2p or loki used in p2p networks are not recognized. I suggest add them too.
Another Notes app automatically recognizes URLs in the text and turns them into clickable links, but as of my tests only http, https and ftp URLs are being recognized, also email addresses and domain names. I would suggest to treat everything matching i.e.
\w+[-\w]*:\/[^ ]+
like an URL, because there are many different protocols other than http(s), here are some examples:...and new ones may appear in the future, i.e. fedi links for the purpose of mobile apps like Tusky.
Also I noticed some special TLDs like onion, i2p or loki used in p2p networks are not recognized. I suggest add them too.