LilyTerm icon indicating copy to clipboard operation
LilyTerm copied to clipboard

Not all URLs are recognized as such.

Open eugene2k opened this issue 8 years ago • 4 comments

Presently lilyterm will recognize a URL such as http://example.com, but not http://example. So URLs such as http://localhost/ or http://author/ (a valid url) aren't recogized.

eugene2k avatar Jul 16 '16 18:07 eugene2k

The conf file holds the regex for web links. You could change it in there to match your needs. Maybe you could find a good standard regex that also does what you want and suggest it or do a pull request

~/.config/lilyterm/default.conf

bryanparadis avatar Dec 26 '16 17:12 bryanparadis

Neither my conf file, nor the one in this repository actually hold the url regex.

eugene2k avatar Dec 26 '16 19:12 eugene2k

I have a large list of regex in my conf file: username_regex password_regex hostname_regex address_body_regex address_end_regex web_match_regex ftp_match_regex file_match_regex email_match_regex

They seem to have been added as a custom regex feature: https://github.com/Tetralet/LilyTerm/commit/6772ca100b019ee6d9d09f2dd7520a6e0fc2da08 https://github.com/Tetralet/LilyTerm/commit/e6771451e4c4c8567f8f69feb253e127cbf793dd

Are you running the current git or an older stable release?

bryanparadis avatar Dec 26 '16 19:12 bryanparadis

It's an older stable version. I didn't realize the last release was five years ago until now. Thx!

eugene2k avatar Dec 26 '16 19:12 eugene2k