Sha256: f2e0f10038933234845639dd72ee3f41da09ad6d4c97d0e2a96d866867dca311

Contents?: true

Size: 211 Bytes

Versions: 1

Compression:

Stored size: 211 Bytes

Contents

module Format
  # Laxly matches an IP Address , would also pass numbers > 255 though
  IP_ADDRESS = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/

  # Laxly matches an HTTP(S) URI
  HTTP_URI = %r{^https?:\/\/\S+$}
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
publify_core-9.1.0 lib/format.rb