[tomboy] Watchers.cs: add "ircs" into known URI schemes
- From: Alex Tereschenko <alexter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tomboy] Watchers.cs: add "ircs" into known URI schemes
- Date: Wed, 28 Dec 2016 16:29:12 +0000 (UTC)
commit 469253a7736b0dacd29eff678dd336488ac6c439
Author: Alex Tereschenko <frozen and blue gmail com>
Date: Wed Dec 28 17:27:56 2016 +0100
Watchers.cs: add "ircs" into known URI schemes
Closes #29.
Signed-off-by: Alex Tereschenko <frozen and blue gmail com>
Tomboy/Watchers.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Tomboy/Watchers.cs b/Tomboy/Watchers.cs
index 67d5c44..2f79385 100644
--- a/Tomboy/Watchers.cs
+++ b/Tomboy/Watchers.cs
@@ -402,7 +402,7 @@ namespace Tomboy
@")))"+
@"|\b)"+ // or at beginning of a word \b
@"("+
- @"(news|http|https|ftp|file|irc)://"+ // http:// ...
+ @"(news|http|https|ftp|file|irc|ircs)://"+ // http:// ...
@"|mailto:"+ // or mailto...
@"|(www|ftp)\."+ // or www...
@"|\S*@\S*\."+ // or email adress
@@ -499,7 +499,7 @@ namespace Tomboy
Path.Combine (Environment.GetEnvironmentVariable ("HOME"),
url.Substring (2));
else if (Regex.IsMatch (url,
- @"^(?!(news|mailto|http|https|ftp|file|irc):).+@.{2,}$",
+ @"^(?!(news|mailto|http|https|ftp|file|irc|ircs):).+@.{2,}$",
RegexOptions.IgnoreCase))
url = "mailto:" + url;
else if (Regex.IsMatch (url,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]