Update: Customize HaE's Regex Engine

Now you can customize HaE's regex engine: NFA/DFA, but the premise is that you need to test your regex is running ok under the engine you choose.
This commit is contained in:
AnonymousUser
2020-12-04 02:43:34 +08:00
parent 170ed412b3
commit d9e0bf4714
4 changed files with 44 additions and 26 deletions

View File

@@ -30,6 +30,7 @@ public class FillTable {
String color = jsonObj1.getString("color");
String scope = jsonObj1.getString("scope");
String action = jsonObj1.getString("action");
String engine = jsonObj1.getString("engine");
// 填充数据
Vector rules = new Vector();
rules.add(loaded);
@@ -38,6 +39,7 @@ public class FillTable {
rules.add(color);
rules.add(scope);
rules.add(action);
rules.add(engine);
dtm.addRow(rules);
}
}