Email validation

When I enter an valid email address into an EmaiField, the input is validated as correct. If I delete the @ from the input, I get an validation error. But when I just delete the “.com” from the end of the input, it will be validated as correct. it sounds like the probleme described here:

I am using Vaadin 23.3.5 and the regex pattern in EmailField.class is:

private static final String EMAIL_PATTERN = “^” + “([a-zA-Z0-9_\.\-+])+” // local
+ “@” + “[a-zA-Z0-9-.]+” // domain
+ “\.” + “[a-zA-Z0-9-]{2,}” // tld
+ “$”;

I think it would be better to move this discussion to GitHub. Can you create an issue please?