LoRegExpValidator.email constructor

LoRegExpValidator.email([
  1. String message = 'Invalid email'
])

Implementation

LoRegExpValidator.email([
  this.message = 'Invalid email',
]) : pattern = r'^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|'
          r'(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.'
          r'[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$';