WAF操作符增加包含任一单词、包含所有单词、不包含任一单词

This commit is contained in:
GoEdgeLab
2023-12-07 11:42:59 +08:00
parent 1f2cdb7b87
commit f55a49bb0d
6 changed files with 341 additions and 217 deletions

View File

@@ -4,7 +4,7 @@ package re
type RuneMap map[rune]*RuneTree
func (this *RuneMap) Lookup(s string, caseInsensitive bool) bool {
func (this RuneMap) Lookup(s string, caseInsensitive bool) bool {
return this.lookup([]rune(s), caseInsensitive, 0)
}