go-playground / validator

:100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
MIT License
16.53k stars 1.31k forks source link

Regex email validation passing an invalid email with characters \, ", Ŝ, ħ, ', Ģ #1050

Open ioannouky opened 1 year ago

ioannouky commented 1 year ago

Package version eg. v9, v10:

latest (10.11.1) v10

Issue, Question or Enhancement:

Regex e-mail validation passing with e-mail containing example characters: \,", Ŝ, ħ, ', Ģ

email like test@test.com \. should be invalid, but is considered valid.

Code sample, to showcase or reproduce:

https://go.dev/play/p/y8L1Z7lr4wp