LAPTOP-SNT8I5JK\Boounion
2025-04-26 9ad04a15d7f9438cf3e5f1b69b8d458ae767bdf5
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;