Class: Safai::Regex

Inherits:
Object
  • Object
show all
Defined in:
lib/safai/regex.rb

Constant Summary collapse

EMAIL =
/\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\Z/i
PASSWORD =
/^(?=.*\d)(?=.*([a-z]|[A-Z]))([\x20-\x7E]){8,}$/