The regular expression is responsible for only passing correct keys to month_num, this can/will break.