You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by md...@apache.org on 2016/08/23 16:41:40 UTC

usergrid git commit: fix email regex

Repository: usergrid
Updated Branches:
  refs/heads/hotfix-20160819 b5ed32acc -> ca49f1fde


fix email regex


Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/ca49f1fd
Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/ca49f1fd
Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/ca49f1fd

Branch: refs/heads/hotfix-20160819
Commit: ca49f1fde1145905bfa2d15b746bf2a80b2b7e30
Parents: b5ed32a
Author: Mike Dunker <md...@apigee.com>
Authored: Tue Aug 23 09:40:22 2016 -0700
Committer: Mike Dunker <md...@apigee.com>
Committed: Tue Aug 23 09:40:22 2016 -0700

----------------------------------------------------------------------
 .../org/apache/usergrid/persistence/index/query/Identifier.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/ca49f1fd/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/query/Identifier.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/query/Identifier.java b/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/query/Identifier.java
index 9313c03..f98ccc7 100644
--- a/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/query/Identifier.java
+++ b/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/query/Identifier.java
@@ -33,7 +33,7 @@ public class Identifier implements Serializable {
 
     public static final String UUID_REX = 
             "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}";
-    public static final String EMAIL_REX =  "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}";
+    public static final String EMAIL_REX =  "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}";
 
     public enum Type {
         UUID, NAME, EMAIL