Sha256: aaae911067ed2950354822a47e50c954c0ab4cb143f4ef4896d13dbcd02786b1

Contents?: true

Size: 202 Bytes

Versions: 6

Compression:

Stored size: 202 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

6 entries across 6 versions & 1 rubygems

Version Path
locomotive_cms-1.0.0.beta lib/locomotive/regexps.rb
locomotive_cms-0.0.4.beta12 lib/locomotive/regexps.rb
locomotive_cms-0.0.4.beta11 lib/locomotive/regexps.rb
locomotive_cms-0.0.4.beta10 lib/locomotive/regexps.rb
locomotive_cms-0.0.4.beta9 lib/locomotive/regexps.rb
locomotive_cms-0.0.4.beta8 lib/locomotive/regexps.rb