[Xfce4-commits] <xfce4-terminal:master> Allow magnet links in the regex (bug #9775).

Nick Schermer noreply at xfce.org
Sun May 5 20:58:01 CEST 2013


Updating branch refs/heads/master
         to 50d24085c9535996b6028678960d871e2148065f (commit)
       from d1dc0d1f1ef0591d06ef7998c1956834bc4d9869 (commit)

commit 50d24085c9535996b6028678960d871e2148065f
Author: Nick Schermer <nick at xfce.org>
Date:   Sun May 5 20:56:17 2013 +0200

    Allow magnet links in the regex (bug #9775).

 terminal/terminal-widget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/terminal/terminal-widget.c b/terminal/terminal-widget.c
index 75872c8..d490994 100644
--- a/terminal/terminal-widget.c
+++ b/terminal/terminal-widget.c
@@ -48,7 +48,7 @@
 #define PORT            "(?:\\:[[:digit:]]{1,5})?"
 #define PATHCHARS_CLASS "[-[:alnum:]\\Q_$.+!*,;@&=?/:~#'%\\E]"
 #define PATHTERM_CLASS  "[^\\Q]'.}>) \t\r\n,\"\\E]"
-#define SCHEME          "(?:news:|telnet:|nntp:|file:\\/|https?:|ftps?:|sftp:|webcal:)"
+#define SCHEME          "(?:news:|telnet:|nntp:|file:\\/|https?:|ftps?:|sftp:|webcal:|magnet:)"
 #define USERPASS        USERCHARS_CLASS "+(?:" PASSCHARS_CLASS "+)?"
 #define URLPATH         "(?:(/"PATHCHARS_CLASS"+(?:[(]"PATHCHARS_CLASS"*[)])*"PATHCHARS_CLASS"*)*"PATHTERM_CLASS")?"
 


More information about the Xfce4-commits mailing list