2012/9/23 David Gomes <[email protected]> > Hey everyone, > > https://code.launchpad.net/~elementary-apps/pantheon-terminal/new-protocols > > If you have some free time, please check that branch and add some new > protocols (or tell us about other ones with a reply to this email): > > > this.clickable("""(http?|ftp?|https?|ftps?|irc?|sftp?|mailto?)://\S+"""); > > The other day we discussed this on IRC and shnatsel and voldyman told me > about lots of protocols. The channel wasn't being logged at the time and I > forgot some of the protocols they suggested. >
The following URI schemes are relevant in a terminal: ldap, ldaps, nfs, smb, rsync, ssh, rlogin, telnet, git, git+ssh, bzr, bzr+ssh, svn, svn+ssh Depending on the regexp syntax (and you seem to have a really weird one here, with "?" after every URI option - that typically makes the last character optional) and implementation details, you also might want to add matching a delimiter before the URI scheme, so that "omgwtfhttp://" won't be treated as a URl. -- Sergey "Shnatsel" Davidoff OS architect @ elementary
-- Mailing list: https://launchpad.net/~elementary-dev-community Post to : [email protected] Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp

