Sha256: af31ed313f4da2377489a3dfd616be4f3b9699bdd692b5ec3824cdbbbc51c84d
Contents?: true
Size: 244 Bytes
Versions: 12
Compression:
Stored size: 244 Bytes
Contents
# frozen_string_literal: true module LightServiceExt module Regex TYPE = { email: URI::MailTo::EMAIL_REGEXP }.freeze class << self def match?(type, value) TYPE[type].match?(value) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems