Skip to content

Commit

Permalink
ValidationBean: adapted regex
Browse files Browse the repository at this point in the history
  • Loading branch information
AnsgarLichter committed Mar 22, 2019
1 parent 58116ab commit 3e690ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/justdoit/common/ejb/ValidationBean.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class ValidationBean {
@Resource
Validator validator;

private final String regex = "\\S+@\\S+.[a-z]{2,}";
private final String regex = "\\S+@\\S+\\.[a-z]{2,}";

/**
* This method validates an entity and returns a new List of errors.
Expand Down

0 comments on commit 3e690ad

Please sign in to comment.