;
          return;
        }
        ipv6RegTooltip.show({
          title: i18n({
            "en": `Matched: ${curIpv6s[idx]}`,
            "zh-cn": `匹配到: ${curIpv6s[idx]}`,
          }),
          placement: "top",
        });
        return;
      }
        
      // 检测正则表达式是否合法
      let reg;
      try {
        reg = new RegExp($ipv6Reg.value);
      } catch (err) {
        ipv6RegTooltip.show({
          title: i18n({
            "en": "<span style='color: red'>Invalid re