Sha256: dab8c12aede98b7caae026fc6316e3536081c5cce455027c65067aaa16035852

Contents?: true

Size: 331 Bytes

Versions: 12

Compression:

Stored size: 331 Bytes

Contents

module Locomotive
  module Regexps

    # SUBDOMAIN           = /^[a-z][a-z0-9_-]*[a-z0-9]{1}$/

    HANDLE              = /^[a-z][a-z0-9_-]*[a-z0-9]{1}$/

    DOMAIN              = /^(([a-z\d])([a-z\d-]){0,61}([a-z\d]))(\.([a-z\d])([a-z\d-]){0,61}([a-z\d]))*$/i

    URL                 = /((http|https|ftp):\/)?\/\S*/

  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
locomotivecms-3.0.0 lib/locomotive/regexps.rb
locomotivecms-3.0.0.rc7 lib/locomotive/regexps.rb
locomotivecms-3.0.0.rc6 lib/locomotive/regexps.rb
locomotivecms-3.0.0.rc5 lib/locomotive/regexps.rb
locomotivecms-3.0.0.rc4 lib/locomotive/regexps.rb
locomotivecms-3.0.0.rc3 lib/locomotive/regexps.rb
locomotivecms-3.0.0.rc2 lib/locomotive/regexps.rb
locomotivecms-3.0.0.rc1 lib/locomotive/regexps.rb
locomotivecms-3.0.0.pre.beta.1 lib/locomotive/regexps.rb
locomotivecms-3.0.0.pre.alpha.3 lib/locomotive/regexps.rb
locomotivecms-3.0.0.pre.alpha.2 lib/locomotive/regexps.rb
locomotivecms-3.0.0.pre.alpha lib/locomotive/regexps.rb