updates format validation to allow regex attribute