zhangjinkun 6 years ago
parent
commit
108aed99f1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/jy/extract/extract.go

+ 2 - 1
src/jy/extract/extract.go

@@ -660,7 +660,8 @@ func ExtRegCore(extfrom string, doc map[string]interface{}, j *ju.Job, in *RegLu
 			j.Result[in.Field] = append(j.Result[in.Field], field)
 		}
 		AddExtLog("extract", j.SourceMid, nil, kvMap, in, et.TaskInfo) //抽取日志
-	} else if !in.IsLua {
+	}
+	if !in.IsLua {
 		//全文正则
 		//text := qu.ObjToString(doc[extfrom])
 		//if in.Field != "" {