Sha256: ea20dd0b16d4a614d1e8065e3c60aa28557f768b10a0a248ce51e860d7753870

Contents?: true

Size: 372 Bytes

Versions: 10

Compression:

Stored size: 372 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
    
    CONTENT_FOR         = /\{\{\s*content_for_([a-zA-Z]{1}[a-zA-Z_0-9]*)(\s+.*)?\s*\}\}/
    
    CONTENT_FOR_LAYOUT  = /\{\{\s*content_for_layout\s*\}\}/
    
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
locomotive_cms-0.0.2.4 lib/locomotive/regexps.rb
locomotive_cms-0.0.2.3 lib/locomotive/regexps.rb
locomotive_cms-0.0.2.2 lib/locomotive/regexps.rb
locomotive_cms-0.0.2.1 lib/locomotive/regexps.rb
locomotive_cms-0.0.2 lib/locomotive/regexps.rb
locomotive_cms-0.0.1.4 lib/locomotive/regexps.rb
locomotive_cms-0.0.1.3 lib/locomotive/regexps.rb
locomotive_cms-0.0.1.2 lib/locomotive/regexps.rb
locomotive_cms-0.0.1.1 lib/locomotive/regexps.rb
locomotive_cms-0.0.1 lib/locomotive/regexps.rb