LAPTOP-T815PCOQ\25526
2024-12-11 90a3116d249b070b670093afcc41e984aeab657d
SourceCode/Bond/BondEq/RegexEdit.h
@@ -44,6 +44,12 @@
   // 设置输入不合法函数
    void SetInvalidInputCallback(std::function<void()> callback);
    // 查找匹配内容
    bool FindMatch(const std::string& pattern, std::string& foundText);
    // 替换匹配内容
    void ReplaceMatch(const std::string& pattern, const std::string& replacement);
protected:
    // 根据枚举值返回对应的正则表达式
    std::regex GetCurrentRegex() const;