Merge branch 'feat/1.1.1/state' into test

This commit is contained in:
LinkinStars 2023-08-01 14:15:37 +08:00
commit 063e30b460
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ func (sp *SearchParser) ParseStructure(ctx context.Context, dto *schema.SearchDT
func (sp *SearchParser) parseTags(ctx context.Context, query *string) (tags []string) {
var (
// expire tag pattern
exprTag = `(?m)\[([a-zA-Z0-9-\+\.#]+)\]{1}?`
exprTag = `\[(.*?)\]`
q = *query
limit = 5
)