[Xfce4-commits] [apps/xfce4-terminal] 01/01: Add support for magnet: links

noreply at xfce.org noreply at xfce.org
Tue Jul 19 17:59:58 CEST 2016


This is an automated email from the git hooks/post-receive script.

f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.

commit 2a13c1cce6e36f94c125beff59a945f8964a980b
Author: Igor <f2404 at yandex.ru>
Date:   Tue Jul 19 18:59:36 2016 +0300

    Add support for magnet: links
    
    Fixes #9775
---
 terminal/terminal-widget.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/terminal/terminal-widget.c b/terminal/terminal-widget.c
index a372994..41353fa 100644
--- a/terminal/terminal-widget.c
+++ b/terminal/terminal-widget.c
@@ -82,7 +82,8 @@ static const TerminalRegexPattern regex_patterns[] =
   { SCHEME "//(?:" USERPASS "\\@)?" HOST PORT URLPATH, PATTERN_TYPE_FULL_HTTP },
   { "(?:www[[:digit:]]{0,3}|ftp)" HOSTCHARS_CLASS "*\\." HOST PORT URLPATH, PATTERN_TYPE_HTTP },
   { "(?:" MAILTO ")?" USERCHARS_CLASS "[" USERCHARS ".]*\\@" HOSTCHARS_CLASS "+\\." HOST, PATTERN_TYPE_EMAIL },
-  { "news:[[:alnum:]\\Q^_{|}~!\"#$%&'()*+,./;:=?`\\E]+", PATTERN_TYPE_FULL_HTTP }
+  { "news:[[:alnum:]\\Q^_{|}~!\"#$%&'()*+,./;:=?`\\E]+", PATTERN_TYPE_FULL_HTTP },
+  { "magnet:[-[:alnum:]\\Q^_{|}~!\"#$%&'()*+,./;:=?`\\E]+", PATTERN_TYPE_FULL_HTTP }
 };
 
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list