1、合法日期:
一个月31天、 一个月30天、一个月28天、一个月29天
^((\\d{4}-(0?[13578]|1[02])-(0?[1-9]|[12]\\d|3[01]))|(\\d{4}-(0?[469]|11)-(0?[1-9]|[12]\\d|30))|(\\d{4}-0?2-(0?[1-9]|1\\d|2[0-8]))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29))$
2、匹配参考文献‘[数字]’:
[3] Heider, E.R.& D.C.Oliver. The structure of color space in naming and memory of two languages [J]. Foreign Language Teaching and Research, 1999, (3): 62 – 67.
.*\\[[0-9]+\\].*