empathy r1954 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1954 - trunk/libempathy-gtk
- Date: Tue, 9 Dec 2008 16:19:38 +0000 (UTC)
Author: xclaesse
Date: Tue Dec 9 16:19:38 2008
New Revision: 1954
URL: http://svn.gnome.org/viewvc/empathy?rev=1954&view=rev
Log:
Match literal dot rather than any char in email domain
This fixes half of #563713: previously, "foo bar baz" was matched as an email
address.
Modified:
trunk/libempathy-gtk/empathy-theme.c
Modified: trunk/libempathy-gtk/empathy-theme.c
==============================================================================
--- trunk/libempathy-gtk/empathy-theme.c (original)
+++ trunk/libempathy-gtk/empathy-theme.c Tue Dec 9 16:19:38 2008
@@ -39,7 +39,7 @@
#define SEPARATOR "([^,;\?><()\\ ])"
#define BODY "([^\\ ]*(\\\\ )?)+"
#define URI_REGEX "("SHEMES"://"BODY SEPARATOR")" \
- "|((mailto:)?"BODY"@"BODY"."BODY SEPARATOR")"\
+ "|((mailto:)?"BODY"@"BODY"\\."BODY SEPARATOR")"\
"|((www|ftp)."BODY SEPARATOR")"
static GRegex *uri_regex = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]