summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorFred Quintana <fredq@google.com>2010-01-14 12:16:20 -0800
committerFred Quintana <fredq@google.com>2010-01-14 14:57:20 -0800
commit30d203050e832c7e3b7ca32cea615cb0825b5a2f (patch)
tree054427f51237377326e3521d2c127a7ce12298f3 /common
parentbb68a4fc54231e147d91fe3668d1409ccfd81a45 (diff)
downloadframeworks_base-30d203050e832c7e3b7ca32cea615cb0825b5a2f.zip
frameworks_base-30d203050e832c7e3b7ca32cea615cb0825b5a2f.tar.gz
frameworks_base-30d203050e832c7e3b7ca32cea615cb0825b5a2f.tar.bz2
allow + in usernames
Diffstat (limited to 'common')
-rw-r--r--common/java/com/android/common/Patterns.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/java/com/android/common/Patterns.java b/common/java/com/android/common/Patterns.java
index 2eab3e1..24a18c0 100644
--- a/common/java/com/android/common/Patterns.java
+++ b/common/java/com/android/common/Patterns.java
@@ -122,7 +122,7 @@ public class Patterns {
public static final Pattern EMAIL_ADDRESS
= Pattern.compile(
- "[a-zA-Z0-9\\+\\.\\_\\%\\-]{1,256}" +
+ "[a-zA-Z0-9\\+\\.\\_\\%\\-\\+]{1,256}" +
"\\@" +
"[a-zA-Z0-9][a-zA-Z0-9\\-]{0,64}" +
"(" +