Companion
object Companion
Contains static declarations for the EmailAddressRegex type.
Functions
Link copied to clipboard
Returns a regular expression for validating email addresses that only accepts lowercase letters, corresponding to the following pattern: ^[a-z]+@[a-z]+\.[a-z]+$.
Link copied to clipboard
Returns a regular expression for validating email addresses that only accepts lowercase letters and digits, corresponding to the following pattern: ^[0-9a-z]+@[0-9a-z]+\.[0-9a-z]+$.
Link copied to clipboard
Returns the default regular expression for validating email addresses, corresponding to the following pattern: ^\S+@\S+\.\S+$.
Link copied to clipboard
Returns a regular expression for validating email addresses with the specified pattern, or returns null if the pattern doesn't match the default one.