From 2239ca1e905aae75a246b204f052540759564a30 Mon Sep 17 00:00:00 2001 From: AnonymousUser Date: Fri, 4 Dec 2020 19:48:22 +0800 Subject: [PATCH] Update --- README.md | 2 +- README_zh.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 455dfd5..7f2a3b2 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ HaE supports three actions: 3. Color upgrade algorithm: **Two regulars expression, the colors are both orange, if the request are matched these, it will be upgraded to red.** 4. The configuration file format uses JSON format, the format is ``` - {name: {"loaded": isLoaded,"regex": regexText, "scope": request/response/any, "action": extract/highlight/any, "color": colorText}} + {name: {"loaded": isLoaded,"regex": regexText, "scope": request/response/any, "action": extract/highlight/any, "color": colorText, "engine": dfa/nfa}} ``` 5. Built-in simple cache to reduce the stuttering phenomenon in the `multi-regular, big data scenario`. diff --git a/README_zh.md b/README_zh.md index ce05e39..7fcfff3 100644 --- a/README_zh.md +++ b/README_zh.md @@ -37,7 +37,7 @@ HaE支持三个动作: 3. 颜色升级算法: 利用下标的方式进行优先级排序,当满足2个同颜色条件则以优先级顺序上升颜色。(例如: **两个正则,颜色为橘黄色,该请求两个正则都匹配到了,那么将升级为红色**) 4. 简单的配置文件格式选用JSON格式,格式为 ``` - {name: {"loaded": isLoaded,"regex": regexText, "scope": request/response/any, "action": extract/highlight/any, "color": colorText}} + {name: {"loaded": isLoaded,"regex": regexText, "scope": request/response/any, "action": extract/highlight/any, "color": colorText, "engine": dfa/nfa}} ``` 5. 内置简单缓存,在“多正则、大数据”的场景下减少卡顿现象。