diff options
Diffstat (limited to 'src/modules/extra')
-rw-r--r-- | src/modules/extra/m_regex.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/extra/m_regex.h b/src/modules/extra/m_regex.h index cffb94cbd..441d1c0df 100644 --- a/src/modules/extra/m_regex.h +++ b/src/modules/extra/m_regex.h @@ -34,6 +34,11 @@ public: } virtual bool Matches(const std::string& text) = 0; + + const std::string& GetRegexString() const + { + return regex_string; + } }; class RegexFactoryRequest : public Request |