Sha256: c282068d2aab63d4fa02f98666311a592be98d3586e3f462870c09048fa0893b

Contents?: true

Size: 200 Bytes

Versions: 7

Compression:

Stored size: 200 Bytes

Contents

module Locomotive
  module Regexps

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

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

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
locomotive_cms-0.0.4.beta7 lib/locomotive/regexps.rb
locomotive_cms-0.0.4.beta5 lib/locomotive/regexps.rb
locomotive_cms-0.0.4.beta4 lib/locomotive/regexps.rb
locomotive_cms-0.0.4.beta3 lib/locomotive/regexps.rb
locomotive_cms-0.0.4.beta2 lib/locomotive/regexps.rb
locomotive_cms-0.0.4.beta1 lib/locomotive/regexps.rb
locomotive_cms-0.0.4 lib/locomotive/regexps.rb