Sha256: d267897b2c71a25fcf7872f1f54048d2b0f702203f265289a6db20725fbbfd65

Contents?: true

Size: 333 Bytes

Versions: 28

Compression:

Stored size: 333 Bytes

Contents

class Pyk::Regex
  
  #Pyk::Regex::EMAIL
  EMAIL = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\Z/i
  
  # May be future can be --- https://github.com/phatworx/devise_security_extension
  #Pyk::Regex::PASSWORD
  PASSWORD = /^(?=.*\d)(?=.*([a-z]|[A-Z]))([\x20-\x7E]){8,}$/
  
  #Pyk::Regex::URL
  URL = URI::regexp(%w(http https))
  
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
pyk-0.1.0 lib/pyk/regex.rb
pyk-0.0.9 lib/pyk/regex.rb
pyk-0.0.8 lib/pyk/regex.rb
pyk-0.0.7 lib/pyk/regex.rb
pyk-0.0.6 lib/pyk/regex.rb
pyk-0.0.5 lib/pyk/regex.rb
pyk-0.0.3 lib/pyk/regex.rb
pyk-0.0.2 lib/pyk/regex.rb