Sha256: 4be1541010b8253a078e5aa27ac77b6b98a07b486e7d90fa8b6740c174b01083
Contents?: true
Size: 253 Bytes
Versions: 3
Compression:
Stored size: 253 Bytes
Contents
# frozen_string_literal: true class Base64Validator < BaseValidator # rubocop:disable Layout/LineLength REGEXP ||= /^(?:[A-Za-z0-9+$]{4})*(?:[A-Za-z0-9+$]{2}==|[A-Za-z0-9+$]{3}=|[A-Za-z0-9+$]{4})$/.freeze # rubocop:enable Layout/LineLength end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lite-validators-1.1.1 | lib/lite/validators/base64_validator.rb |
lite-validators-1.1.0 | lib/lite/validators/base64_validator.rb |
lite-validators-1.0.7 | lib/lite/validators/base64_validator.rb |