Sha256: 473dab0c4679224b95dc54f319f7438bce5b617825f121db739627a68d242c99
Contents?: true
Size: 529 Bytes
Versions: 1
Compression:
Stored size: 529 Bytes
Contents
#http://en.wikipedia.org/wiki/National_identification_number pl: length: 11 regexp: '(?<year>\d{2})(?<month>\d{2})(?<day>\d{2})(?<individual>\d{4})(?<control>\d{1})' weights: '1379137913' 'no': length: 11 regexp: '(?<day>\d{2})(?<month>\d{2})(?<year>\d{2})(?<individual>\d{3})(?<control>\d{2})' weights1: '376189452' #provides multiplying weights for the sum of digits to compute a first control digit weights2: '5432765432' #provides multiplying weights for the sum of digits to compute a second control digit
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
national-ids-validator-1.0.1 | lib/national-ids-validator/rules.yml |