Skip to content

EmailSimple

Giuseppe Cannella edited this page Feb 19, 2020 · 6 revisions
Type name example
EmailSimple $@$.$
import com.github.gekomad.regexcollection.Validate.validate
import com.github.gekomad.regexcollection.EmailSimple

assert(validate[EmailSimple]("abc,a@%.d") == Some("abc,a@%.d"))
assert(validate[EmailSimple]("$@$.$") == Some("$@$.$"))
assert(validate[EmailSimple]("@b.c") == None)
Clone this wiki locally