mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 20:40:25 +08:00
修复IP库模板可能无法正确解析数据的问题
This commit is contained in:
@@ -38,7 +38,7 @@ func (this *Template) init() error {
|
||||
|
||||
return keyword
|
||||
})
|
||||
reg, err := regexp.Compile(template)
|
||||
reg, err := regexp.Compile("^(?U)" + template)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user