Sha256: cbfb3cbc93335c93a4e53975ca71a027ee72de11255179f4d36f5c6d006fe4fb
Contents?: true
Size: 266 Bytes
Versions: 3
Compression:
Stored size: 266 Bytes
Contents
module Locomotive module Regexps SUBDOMAIN = /^[a-z][a-z0-9_-]*[a-z0-9]{1}$/ DOMAIN = /^(([a-z])([a-z\d-]){0,61}([a-z\d]))(\.([a-z])([a-z\d-]){0,61}([a-z\d]))*$/i URL = /((http|https|ftp):\/)?\/\S*/ end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
locomotive_cms-2.5.6 | lib/locomotive/regexps.rb |
locomotive_cms-2.5.6.rc2 | lib/locomotive/regexps.rb |
locomotive_cms-2.5.6.rc1 | lib/locomotive/regexps.rb |