summaryrefslogtreecommitdiff
path: root/program/js/common.js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-01-25 22:56:53 +0000
committerthomascube <thomas@roundcube.net>2006-01-25 22:56:53 +0000
commit5e35126796f14e0910a007972779d96fd49e1789 (patch)
tree9d04098a0470504edbf12692247ba58545f1695e /program/js/common.js
parentc9d09bbe43f268c11cadc9846652ff33521edf6c (diff)
Added folder purge function and some checks
Diffstat (limited to 'program/js/common.js')
-rw-r--r--program/js/common.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/js/common.js b/program/js/common.js
index 02f698b90..8378e2e57 100644
--- a/program/js/common.js
+++ b/program/js/common.js
@@ -6,11 +6,11 @@
| Copyright (C) 2005, RoundCube Dev, - Switzerland |
| Licensed under the GNU GPL |
| |
- | Modified:2005/11/06 (roundcube) |
- | |
+-----------------------------------------------------------------------+
| Author: Thomas Bruederli <roundcube@gmail.com> |
+-----------------------------------------------------------------------+
+
+ $Id$
*/
@@ -271,7 +271,7 @@ function rcube_check_email(input, inline)
{
var reg_str = '([a-z0-9][-a-z0-9\.\+_]*)\@(([-a-z0-9][\.]?)*[a-z0-9]\.[a-z]{2,9})';
var reg1 = inline ? new RegExp(reg_str, 'i') : new RegExp('^'+reg_str+'$', 'i');
- var reg2 = /[\._\-\@]{2}/;
+ var reg2 = /[\._\-]{2}/;
return reg1.test(input) && !reg2.test(input) ? true : false;
}
return false;