Sha256: ab23fb01e27b7b651db4755ca27eb202bcf62737a5e657a15b6a50d2851b737f
Contents?: true
Size: 176 Bytes
Versions: 2
Compression:
Stored size: 176 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})$/.freeze end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lite-validators-1.2.0 | lib/lite/validators/base64_validator.rb |
lite-validators-1.1.2 | lib/lite/validators/base64_validator.rb |