[gnome-terminal] screen: Recognise man: and info: URIs
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] screen: Recognise man: and info: URIs
- Date: Tue, 22 May 2012 18:14:05 +0000 (UTC)
commit 54a08e956d140adb60bd85c91e37516d1803cf8b
Author: Christian Persch <chpe gnome org>
Date: Mon May 21 18:18:24 2012 +0200
screen: Recognise man: and info: URIs
https://bugzilla.gnome.org/show_bug.cgi?id=676452
src/terminal-screen.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index 27bb6f0..2713624 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -178,7 +178,7 @@ static const TerminalRegexPattern url_regex_patterns[] = {
{ "(?:www|ftp)" HOSTCHARS_CLASS "*\\." HOST PORT URLPATH , FLAVOR_DEFAULT_TO_HTTP, G_REGEX_CASELESS },
{ "(?:callto:|h323:|sip:)" USERCHARS_CLASS "[" USERCHARS ".]*(?:" PORT "/[a-z0-9]+)?\\@" HOST, FLAVOR_VOIP_CALL, G_REGEX_CASELESS },
{ "(?:mailto:)?" USERCHARS_CLASS "[" USERCHARS ".]*\\@" HOSTCHARS_CLASS "+\\." HOST, FLAVOR_EMAIL, G_REGEX_CASELESS },
- { "news:[[:alnum:]\\Q^_{|}~!\"#$%&'()*+,./;:=?`\\E]+", FLAVOR_AS_IS, G_REGEX_CASELESS },
+ { "(?:news:|man:|info:)[[:alnum:]\\Q^_{|}~!\"#$%&'()*+,./;:=?`\\E]+", FLAVOR_AS_IS, G_REGEX_CASELESS },
};
static GRegex **url_regexes;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]