Amended the structure of the data option of AgeType to echo the standard XML convention (YYYY-MM-DD) #26

I also took the opportunity to use a better regex than the previous effort.