usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdun...@apache.org
Subject usergrid git commit: fix email regex
Date Tue, 23 Aug 2016 16:41:40 GMT
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 <mdunker@apigee.com>
Authored: Tue Aug 23 09:40:22 2016 -0700
Committer: Mike Dunker <mdunker@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


Mime
View raw message