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.3.2 lib/pyk/regex.rb
pyk-0.3.1 lib/pyk/regex.rb
pyk-0.3.0 lib/pyk/regex.rb
pyk-0.2.9 lib/pyk/regex.rb
pyk-0.2.8 lib/pyk/regex.rb
pyk-0.2.7 lib/pyk/regex.rb
pyk-0.2.6 lib/pyk/regex.rb
pyk-0.2.5 lib/pyk/regex.rb
pyk-0.2.3 lib/pyk/regex.rb
pyk-0.2.2 lib/pyk/regex.rb
pyk-0.2.1 lib/pyk/regex.rb
pyk-0.2.0 lib/pyk/regex.rb
pyk-0.1.9 lib/pyk/regex.rb
pyk-0.1.8 lib/pyk/regex.rb
pyk-0.1.6 lib/pyk/regex.rb
pyk-0.1.5 lib/pyk/regex.rb
pyk-0.1.4 lib/pyk/regex.rb
pyk-0.1.3 lib/pyk/regex.rb
pyk-0.1.2 lib/pyk/regex.rb
pyk-0.1.1 lib/pyk/regex.rb