From 52e2e9884b29e6ac0f6e3f62b4d43cf90c27789b Mon Sep 17 00:00:00 2001 From: yixinnb <1667511790@qq.com> Date: Sat, 1 Mar 2025 11:58:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/issue=5Ftemplate.ya?= =?UTF-8?q?ml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/issue_template.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}$ --- ### 输入规则