From dbe30433a1c771efce2dd121a820368ed1a672cd Mon Sep 17 00:00:00 2001 From: Yiwen-Chan Date: Sun, 2 May 2021 19:04:55 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20=E4=BF=AE=E5=A4=8DGitHub?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=AD=A3=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- github/repo_searcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/repo_searcher.go b/github/repo_searcher.go index 9a350a5e..b2a52075 100644 --- a/github/repo_searcher.go +++ b/github/repo_searcher.go @@ -14,7 +14,7 @@ import ( ) func init() { // 插件主体 - zero.OnRegex(`^>github\s(-.{1,10} )?(.*)$`).SetBlock(true).FirstPriority(). + zero.OnRegex(`^>github\s(-.{1,10}? )?(.*)$`).SetBlock(true).FirstPriority(). Handle(func(ctx *zero.Ctx) { // 发送请求 header := http.Header{