[ticket/989] add simple validation for $archive_var
[ticket/989] Fix regex to only match existing months between 1970 and 2037