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

noreply at xfce.org noreply at xfce.org
Wed Aug 24 16:35:55 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 694f45b324f033daae02ec983030ea80571d69dd
Author: Igor <f2404 at yandex.ru>
Date:   Wed Aug 24 17:35:47 2016 +0300

    Add magnet links support
---
 terminal/terminal-regex.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/terminal/terminal-regex.h b/terminal/terminal-regex.h
index f53bdce..358f330 100644
--- a/terminal/terminal-regex.h
+++ b/terminal/terminal-regex.h
@@ -1,5 +1,6 @@
 /*
  * Copyright © 2015 Egmont Koblinger
+ * Copyright (c) 2016 Igor Zakharov
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -140,6 +141,6 @@
 #define REGEX_URL_HTTP   DEFS "(?<!(?:" HOSTNAMESEGMENTCHARS_CLASS "|[.]))(?=(?i:www|ftp))" HOSTNAME1 PORT URLPATH
 #define REGEX_URL_VOIP   DEFS "(?i:h323:|sips?:)" USERPASS URL_HOST PORT VOIP_PATH
 #define REGEX_EMAIL      DEFS "(?i:mailto:)?" USER "@" EMAIL_HOST
-#define REGEX_NEWS_MAN   "(?i:news:|man:|info:)[-[:alnum:]\\Q^_{|}~!\"#$%&'()*+,./;:=?`\\E]+"
+#define REGEX_NEWS_MAN   "(?i:news:|man:|info:|magnet:)[-[:alnum:]\\Q^_{|}~!\"#$%&'()*+,./;:=?`\\E]+"
 
 #endif /* !TERMINAL_REGEX_H */

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


More information about the Xfce4-commits mailing list