Sha256: 67cb5550ce0c23dc87da4755478b6c4b90a78f6e56c9885f1d587f1bc0881ab2
Contents?: true
Size: 314 Bytes
Versions: 11
Compression:
Stored size: 314 Bytes
Contents
require "attentive/entity" # Email regex asserts that there are no @ symbols or whitespaces in either the # localpart or the domain, and that there is a single @ symbol separating the # localpart and the domain. Attentive::Entity.define "core.email", %q{(?<email>[^@\s]+@[^@\s]+)} do |match| match["email"] end
Version data entries
11 entries across 11 versions & 1 rubygems