diff --git a/README.md b/README.md index 1e29fb46a6..4ba6bf2f31 100644 --- a/README.md +++ b/README.md @@ -318,6 +318,15 @@ print("run[CQ:image,file="+j["img"]+"]") ``` ![随机b站404页趣图](https://user-images.githubusercontent.com/41315874/157371451-c09ad3bb-c61a-4a42-9c47-fab3305bc0f8.png) + + - [x] [我|大家|有人][说|问][正则表达式]你[答|说|做|执行][模版] + + - [x] [查看|看看][我|大家|有人][说|问][正则表达式] + + - [x] 删除[大家|有人|我][说|问|让你做|让你执行][正则表达式] + + - 注:模版是指含有`$1``$2`这样的未定参数,会在正则匹配时按顺序填入子匹配对应值 + ### *中优先级* diff --git a/go.mod b/go.mod index 97fc7ad2d3..a64667e495 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.18 require ( github.com/FloatTech/AnimeAPI v1.4.1-0.20220512034947-4dd25b414348 github.com/FloatTech/sqlite v0.2.1 - github.com/FloatTech/zbputils v1.4.1-0.20220514105630-80024139bd3c + github.com/FloatTech/zbputils v1.4.1-0.20220520123519-523ac975b7ab github.com/antchfx/htmlquery v1.2.4 github.com/corona10/goimagehash v1.0.3 github.com/fogleman/gg v1.3.0 diff --git a/go.sum b/go.sum index eed6fcbfd0..95e98aecb4 100644 --- a/go.sum +++ b/go.sum @@ -4,6 +4,8 @@ github.com/FloatTech/sqlite v0.2.1 h1:9t6Me48XJJCIoPy4nLRvcdhcVKfT0c2lilp7SEKROG github.com/FloatTech/sqlite v0.2.1/go.mod h1:6NfHRzqOo9RWeMJEoAQVuo51Omd5LFNxCNQhMF02/9U= github.com/FloatTech/zbputils v1.4.1-0.20220514105630-80024139bd3c h1:Vv6Dy4KbTIiDIyk+wTVG/zq5s0z1GItqHX/vkO/WIxc= github.com/FloatTech/zbputils v1.4.1-0.20220514105630-80024139bd3c/go.mod h1:Cf2wAFtq7OUj4RUHcSQtcAYgAspP06wQseKZwtCJRXQ= +github.com/FloatTech/zbputils v1.4.1-0.20220520123519-523ac975b7ab h1:nkV3HYMBgOzObutXgzmldQbo2Kmaif/ykz+3G1tvoq0= +github.com/FloatTech/zbputils v1.4.1-0.20220520123519-523ac975b7ab/go.mod h1:Cf2wAFtq7OUj4RUHcSQtcAYgAspP06wQseKZwtCJRXQ= github.com/PuerkitoBio/goquery v1.5.1/go.mod h1:GsLWisAFVj4WgDibEWF4pvYnkVQBpKBKeU+7zCJoLcc= github.com/RomiChan/syncx v0.0.0-20220404072119-d7ea0ae15a4c h1:cNPOdTNiVwxLpROLjXCgbIPvdkE+BwvxDvgmdYmWx6Q= github.com/RomiChan/syncx v0.0.0-20220404072119-d7ea0ae15a4c/go.mod h1:KqZzu7slNKROh3TSYEH/IUMG6f4M+1qubZ5e52QypsE=