BAEL-4430: Update the email regexp pattern (#9893)
This commit is contained in:
		
							parent
							
								
									3f3bbe4a0d
								
							
						
					
					
						commit
						1ed8b7a2bf
					
				| @ -20,7 +20,7 @@ public class User { | ||||
|     @Max(value = 65, message = "Age should not be greater than 65") | ||||
|     private int age; | ||||
| 
 | ||||
|     @Email(regexp=".@.\\..*", message = "Email should be valid") | ||||
|     @Email(regexp=".*@.*\\..*", message = "Email should be valid") | ||||
|     private String email; | ||||
| 
 | ||||
|     public Long getId() { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user