src/components/Regular/index.vue
@@ -253,8 +253,8 @@ regexno = regexno.slice(0, -1); hostregex = "(?=.*(?:" + `${regex}` + ")).*$"; hostregexno = "^(?!.(?:" + `${regexno}` + ")).*$"; this.TargetoptionList[index].hostregex = hostregex; this.TargetoptionList[index].hostregex2 = hostregexno; this.TargetoptionList[index].targetregex = hostregex; this.TargetoptionList[index].targetregex2 = hostregexno; console.log(hostregex, "确定字匹配"); console.log(hostregexno, "否定字匹配"); this.handleSelectionChange();