mrDarker
2025-09-01 9370dd2497683084f8c0ae958f8be5dec34bd2f1
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;