chenluhua1980
2025-12-11 33f080ddc32f3545b685b2e0a7a5df3c35894270
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;