Skip to content

Commit

Permalink
✏️ 修复GitHub搜索正则
Browse files Browse the repository at this point in the history
  • Loading branch information
kanrichan committed May 2, 2021
1 parent f780325 commit f190316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/repo_searcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit f190316

Please sign in to comment.