From 30d203050e832c7e3b7ca32cea615cb0825b5a2f Mon Sep 17 00:00:00 2001 From: Fred Quintana Date: Thu, 14 Jan 2010 12:16:20 -0800 Subject: allow + in usernames --- common/java/com/android/common/Patterns.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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}" + "(" + -- cgit v1.1