class Regxlib::Email

START

Regxlib::Email ###########

Public Class Methods

co_uk() click to toggle source

Regxlib::Email.co.uk

# File lib/regxlib.rb, line 87
def self.co_uk
  /\A[\w+-.]+@[a-z\d\-.]+\.[c]+[o]+\.[u]+[k]+\z/i
end
co_uk_com() click to toggle source

Regxlib::Email.co_uk_com

# File lib/regxlib.rb, line 77
def self.co_uk_com
  /\A[\w+-.]+@[a-z\d\-.]+\.([c]+[o]+\.[u]+[k]|[c]+[o]+[m])+\z/i
end
com() click to toggle source

Regxlib::Email.com

# File lib/regxlib.rb, line 82
def self.com
  /\A[\w+-.]+@[a-z\d\-.]+\.[c]+[o]+[m]+\z/i
end
edu() click to toggle source

Regxlib::Email.edu

# File lib/regxlib.rb, line 72
def self.edu
  /\A[\w+-.]+@[a-z\d\-.]+\.[e]+[d]+[u]+\z/i
end
multi() click to toggle source

Regxlib::Email.multi

# File lib/regxlib.rb, line 37
def self.multi
  /\A[\w+-.]+@[a-z\d\-.]+\.(
  [i]+[o]
  |[c]+[o]+[m]
  |[m]+[a]+[i]+[l]
  |[c]+[o]+\.[a]+[u]
  |[c]+[o]+\.[u]+[k]
  |[c]+[o]+\.[u]+[s]
  |[c]+[o]+\.[b]+[r]
  |[c]+[o]+\.[d]+[k]
  |[c]+[o]+\.[e]+[u]
  |[c]+[o]+\.[f]+[i]
  |[c]+[o]+\.[f]+[r]
  |[c]+[o]+\.[d]+[e]
  |[c]+[o]+\.[g]+[r]
  |[c]+[o]+\.[i]+[n]
  |[c]+[o]+\.[i]+[e]
  |[c]+[o]+\.[i]+[t]
  |[c]+[o]+\.[n]+[z]
  |[c]+[o]+\.[n]+[o]
  |[c]+[o]+\.[e]+[s]
  |[c]+[o]+\.[s]+[e]
  )+\z/i
end
org() click to toggle source

Regxlib::Email.org

# File lib/regxlib.rb, line 67
def self.org
  /\A[\w+-.]+@[a-z\d\-.]+\.[o]+[r]+[g]+\z/i
end
standard() click to toggle source

Regxlib::Email.standard

# File lib/regxlib.rb, line 62
def self.standard
  /\A[\w+-.]+@[a-z\d\-.]+\.[a-z]+\z/i
end