diff options
author | Frederic Peters <fpeters@src.gnome.org> | 2008-09-29 23:05:59 +0800 |
---|---|---|
committer | Frederic Peters <fpeters@src.gnome.org> | 2008-09-29 23:05:59 +0800 |
commit | 027891177c8442bf589fca112626a8ee7be7a4be (patch) | |
tree | 4d3722aa6697c06a1befa6b7355191cd76ae5327 /libempathy | |
parent | cdbfe7b1b107a7042d2f0e67a71a19fe0d2bd2e2 (diff) | |
download | gsoc2013-empathy-027891177c8442bf589fca112626a8ee7be7a4be.tar gsoc2013-empathy-027891177c8442bf589fca112626a8ee7be7a4be.tar.gz gsoc2013-empathy-027891177c8442bf589fca112626a8ee7be7a4be.tar.bz2 gsoc2013-empathy-027891177c8442bf589fca112626a8ee7be7a4be.tar.lz gsoc2013-empathy-027891177c8442bf589fca112626a8ee7be7a4be.tar.xz gsoc2013-empathy-027891177c8442bf589fca112626a8ee7be7a4be.tar.zst gsoc2013-empathy-027891177c8442bf589fca112626a8ee7be7a4be.zip |
Catch underscores in email addresses. (closes: #554284)
svn path=/trunk/; revision=1500
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c index a815ea7a1..b5bdb9ff7 100644 --- a/libempathy/empathy-utils.c +++ b/libempathy/empathy-utils.c @@ -97,7 +97,7 @@ regex_init (void) break; case EMPATHY_REGEX_EMAIL: expression = - "(mailto:)?[a-z0-9][a-z0-9.-]*@[a-z0-9]" + "(mailto:)?[a-z0-9][a-z0-9._-]*@[a-z0-9]" "[a-z0-9-]*(\\.[a-z0-9][a-z0-9-]*)+"; break; case EMPATHY_REGEX_OTHER: |