@@ -37,6 +37,9 @@ func GetRegex(key string) []*RegexpInfo {
}
infos = append(infos, info)
} else {
+ if s == "" {
+ continue
+ }
info := &RegexpInfo{
keyStr: s,
regs: regexp.MustCompile(".*(?i)" + s + ".*"),