Subject: | Persons born on the 30th/31st mistakenly identified as companies |
Judging by
http://cpansearch.perl.org/src/AVAR/Business-IS-PIN-0.05/PIN.pm, a
"person" is someone whose kennitala starts with 0,1,2 while a "company"
is someone whose kennitala starts with 3,4,5.
What about someone born on the 30th of March or the 31st of January of a
year? Won't their kennitala start with a 3 even though they are a person?
Perhaps the easiest fix is to relace [0-2] with (?:[0-2]|3[01]) and
[3-5] with (?:3[2-9]|[45]) in "person" and "company", respectively.