Sha256: bc13141bf5a63bf88d3adb375556946e12c3705b0c08e9f1729b88560255e3c8

Contents?: true

Size: 249 Bytes

Versions: 44

Compression:

Stored size: 249 Bytes

Contents

module Typus
  module Regex

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

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

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

  end
end

Version data entries

44 entries across 44 versions & 3 rubygems

Version Path
typus-3.1.4 lib/typus/regex.rb
typus-3.1.3 lib/typus/regex.rb
typus-3.1.2 lib/typus/regex.rb
typus-3.1.1 lib/typus/regex.rb
typus-3.1.0 lib/typus/regex.rb
typus-3.1.0.rc19 lib/typus/regex.rb
typus-3.1.0.rc18 lib/typus/regex.rb
typus-3.1.0.rc17 lib/typus/regex.rb
typus-3.1.0.rc16 lib/typus/regex.rb
typus-3.1.0.rc15 lib/typus/regex.rb
typus-3.1.0.rc14 lib/typus/regex.rb
typus-3.1.0.rc13 lib/typus/regex.rb
typus-3.1.0.rc12 lib/typus/regex.rb
typus-3.1.0.rc11 lib/typus/regex.rb
typus-3.1.0.rc10 lib/typus/regex.rb
typus-3.1.0.rc9 lib/typus/regex.rb
typus-3.1.0.rc8 lib/typus/regex.rb
typus-3.1.0.rc7 lib/typus/regex.rb
typus-3.1.0.rc6 lib/typus/regex.rb
typus-3.1.0.rc5 lib/typus/regex.rb