emailRegex property

String emailRegex
getter/setter pair

complex regex that validate a email id with the general email standards

Implementation

static String emailRegex = r"^(?=.{1,64}@)([a-zA-Z\d]+([\.\-_]?[a-zA-Z\d]+)*)@(?=.{4,63}$)([a-zA-Z\d]+([\.\-]?[a-zA-Z\d]+)*\.[a-zA-Z\d]{2,})$";