摘要:
//日期格式yyyy PatternsDict.date_y= /^(\d{4})$/; //日期格式yyyy-mm PatternsDict.date_ym= /^(\d{4})-(0\d{1}|1[0-2])$/; //日期格式yyyy-mm-dd PatternsDict.date_ymd= /^(\d{4})-(0\d{1}|1[0-2])-(0\d{1}|[12]\d{1}|3[01])$/; //时间格式hh PatternsDict.time_h=/^(0\d{1}|1\d{1}|2[0-3])$/; //时间格式hh:mm PatternsDict.time_hm=/^(0\d 阅读全文