EmailAddressRegex

@ExperimentalSince(version = KotoolsTypesVersion.V5_0_1)
class EmailAddressRegex

Represents a regular expression for validating email addresses.

For creating an instance of this type, see the factory functions provided by the EmailAddressRegex.Companion type.

Types

Link copied to clipboard
object Companion

Contains static declarations for the EmailAddressRegex type.

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean

Returns true if the other object is an instance of EmailAddressRegex with the same string representation, or returns false otherwise.

Link copied to clipboard
override fun hashCode(): Int

Returns a hash code value for this regular expression.

Link copied to clipboard
infix fun matches(text: CharSequence): Boolean

Returns true if the specified text matches this regular expression, or returns false otherwise.

Link copied to clipboard
override fun toString(): String

Returns the string representation of this regular expression.