diff --git a/.gitea/issue_template.yaml b/.gitea/issue_template.yaml index 1b2a600..5effb87 100644 --- a/.gitea/issue_template.yaml +++ b/.gitea/issue_template.yaml @@ -12,7 +12,7 @@ body: placeholder: "例如:张三 或 JohnDoe" validations: required: true - regex: "^(?:[\u4e00-\u9fa5]{2,10}|[a-zA-Z]{4,20})$" + regex: ^(?:[\u4e00-\u9fa5]{2,10}|[a-zA-Z]{4,20})$ - type: input id: student_id attributes: @@ -20,7 +20,7 @@ body: placeholder: "例如:202100010001" validations: required: true - regex: "^\d{12}$" + regex: ^\d{12}$ --- ### 输入规则