Sha256: 0a1808d5922073c4730387cfde6f330ae82a0be46dc7639d88a5d9987d800f73

Contents?: true

Size: 169 Bytes

Versions: 10

Compression:

Stored size: 169 Bytes

Contents

# frozen_string_literal: true

class Base64Validator < BaseValidator

  REGEXP = /^(?:[A-Za-z0-9+$]{4})*(?:[A-Za-z0-9+$]{2}==|[A-Za-z0-9+$]{3}=|[A-Za-z0-9+$]{4})$/

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lite-validators-1.8.0 lib/lite/validators/base64_validator.rb
lite-validators-1.7.2 lib/lite/validators/base64_validator.rb
lite-validators-1.7.1 lib/lite/validators/base64_validator.rb
lite-validators-1.7.0 lib/lite/validators/base64_validator.rb
lite-validators-1.6.0 lib/lite/validators/base64_validator.rb
lite-validators-1.5.0 lib/lite/validators/base64_validator.rb
lite-validators-1.4.0 lib/lite/validators/base64_validator.rb
lite-validators-1.3.2 lib/lite/validators/base64_validator.rb
lite-validators-1.3.1 lib/lite/validators/base64_validator.rb
lite-validators-1.3.0 lib/lite/validators/base64_validator.rb