Date regex (YYYY-MM-DD)
static String date = r'^(19|20)\d\d-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$';