tomboy r2397 - in trunk: . Tomboy



Author: sharm
Date: Mon Mar  2 22:12:24 2009
New Revision: 2397
URL: http://svn.gnome.org/viewvc/tomboy?rev=2397&view=rev

Log:
* Tomboy/Watchers.cs: Remove extraneous whitespace matching in URL
  regex. Fixes bug #436994, patch from our own Stefan Schweizer.

Modified:
   trunk/ChangeLog
   trunk/Tomboy/Watchers.cs

Modified: trunk/Tomboy/Watchers.cs
==============================================================================
--- trunk/Tomboy/Watchers.cs	(original)
+++ trunk/Tomboy/Watchers.cs	Mon Mar  2 22:12:24 2009
@@ -374,7 +374,7 @@
 		Gtk.TextMark click_mark;
 
 		const string URL_REGEX =
-		        @"((\b((news|http|https|ftp|file|irc)://|mailto:|(www|ftp)\.|\S* \S*\ )|(^|\s)/\S+/|(^|\s)~/\S+)\S*\b/?)";
+		        @"((\b((news|http|https|ftp|file|irc)://|mailto:|(www|ftp)\.|\S* \S*\ )|/\S+/|~/\S+)\S*\b/?)";
 
 		static Regex regex;
 		static bool text_event_connected;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]