H5 pattern pattern:正则表达式验证 例如: <input pattern="1[3578]d{9}"> 可以省略^和$ 必须和required配合使用,否则在用户没有输入任何内容时,也会提交表单,不会去验证正则表达式