Sha256: 514ecdcc83eea78f27587fce685abcf8e6b96cecef1ba2b60986ef4549d4e59f
Contents?: true
Size: 416 Bytes
Versions: 4
Compression:
Stored size: 416 Bytes
Contents
# frozen_string_literal: true module SwissBankValidator IBAN_REGEX = /\ACH[A-Z0-9]{2}\d{5}[A-Z0-9]{12}\z/.freeze IBAN_LENGTH = 21 # Regex that allow only field accepted by Swiss bank to initiate a payment BANK_REGEX = %r{\A[a-zA-Z0-9.,;:’+\-()?*\[\]{}`´~'\s!“#%÷=@_$£ àáâäçèéêëìíîïñòóôöùúûüýßÀÁÂÄÇÈÉÊËÌÍÎÏÒÓÔÖÙÚÛÜÑ]*\z}x.freeze end
Version data entries
4 entries across 4 versions & 1 rubygems