}
}
- virtual ~TRERegex()
+ ~TRERegex()
{
regfree(®buf);
}
- virtual bool Matches(const std::string& text)
+ bool Matches(const std::string& text)
{
if (regexec(®buf, text.c_str(), 0, NULL, 0) == 0)
{
ServerInstance->Modules->AddService(trf);
}
- Version GetVersion()
+ Version GetVersion() CXX11_OVERRIDE
{
return Version("Regex Provider Module for TRE Regular Expressions", VF_VENDOR);
}