mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-01-06 20:15:50 +08:00
优化IP库模板分析程序
This commit is contained in:
@@ -38,7 +38,7 @@ func (this *Template) init() error {
|
||||
|
||||
return keyword
|
||||
})
|
||||
reg, err := regexp.Compile("^(?U)" + template)
|
||||
reg, err := regexp.Compile("^(?U)" + template + "\n?$")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user