*:匹配前面字符任意次 ?: 0或1次 +:1次或多次 {m}:匹配m次 {m,n}:至少m,至多n次 转载于:https://www.cnblogs.com/lqynkdcwy/p/9305250.html