class Regxlib::Username
- START
-
Regxlib::Username
###########
Public Class Methods
standard()
click to toggle source
# File lib/regxlib.rb, line 11 def self.standard /\A[a-zA-Z1234567890]+[a-zA-Z-_1234567890]+[a-zA-Z1234567890]\z/i end
standard_nonum()
click to toggle source
Regxlib::Username.standard_nonum
# File lib/regxlib.rb, line 16 def self.standard_nonum /\A[a-zA-Z]+[a-zA-Z\-_]+[a-zA]\z/i end
strict()
click to toggle source
# File lib/regxlib.rb, line 21 def self.strict /\A[a-zA-Z1234567890]+[a-zA-Z1234567890]+[a-zA-Z1234567890]\z/i end
strict_nonum()
click to toggle source
Regxlib::Username.strict_no_num
# File lib/regxlib.rb, line 26 def self.strict_nonum /\A[a-zA-Z]+[a-zA-Z]+[a-zA-Z]\z/i end