i’ve checked the regexp independently and it works, and i’ve put this
regexp with telephone, and it checks the dates correctly (telephone is a
integer type), however when i do it with dob it’ll give me some strange
results:
23-12-2008 will be valid, while 23-13-2008 won’t. so i’m guessing it’s
checking whether dates are valid completely independently from my
validations, however this isn’t what i want.

i’ve checked the regexp independently and it works, and i’ve put this
regexp with telephone, and it checks the dates correctly (telephone is a
integer type), however when i do it with dob it’ll give me some strange