mrDarker
2025-09-12 8d55ed4a167d9b09d65e4a26ece287c6e37a9c84
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;