Sha256: 6ebc7ddf0d5ed0d59eb6206bf90520698bac2a3b2127fc4a7fdfca6175ee9e90

Contents?: true

Size: 201 Bytes

Versions: 10

Compression:

Stored size: 201 Bytes

Contents

module Typus
  module Regex

    Email = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/

    Url = /(^$)|(^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(([0-9]{1,5})?\/.*)?$)/ix

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
typus-3.0.12 lib/typus/regex.rb
typus-3.0.11 lib/typus/regex.rb
typus-3.0.11.rc5 lib/typus/regex.rb
typus-3.0.11.rc4 lib/typus/regex.rb
typus-3.0.11.rc3 lib/typus/regex.rb
typus-3.0.11.rc2 lib/typus/regex.rb
typus-3.0.11.rc1 lib/typus/regex.rb
typus-3.0.10 lib/typus/regex.rb
typus-3.0.9 lib/typus/regex.rb
typus-3.0.8 lib/typus/regex.rb