Anope IRC Services  Version 2.0
Public Member Functions | Private Attributes
TRERegex Class Reference
Inheritance diagram for TRERegex:
Inheritance graph
Collaboration diagram for TRERegex:
Collaboration graph

Public Member Functions

 TRERegex (const Anope::string &expr)
 ~TRERegex ()
bool Matches (const Anope::string &str)
- Public Member Functions inherited from Regex
virtual ~Regex ()
const Anope::stringGetExpression ()

Private Attributes

regex_t regbuf

Additional Inherited Members

- Protected Member Functions inherited from Regex
 Regex (const Anope::string &expr)

Detailed Description

Definition at line 6 of file m_regex_tre.cpp.

Constructor & Destructor Documentation

◆ TRERegex()

TRERegex::TRERegex ( const Anope::string expr)

Definition at line 11 of file m_regex_tre.cpp.

References BUFSIZE, and Anope::string::c_str().

Referenced by TRERegexProvider::Compile().

◆ ~TRERegex()

TRERegex::~TRERegex ( )

Definition at line 23 of file m_regex_tre.cpp.

Member Function Documentation

◆ Matches()

bool TRERegex::Matches ( const Anope::string str)

Implements Regex.

Definition at line 28 of file m_regex_tre.cpp.

References Anope::string::c_str().

Field Documentation

◆ regbuf

regex_t TRERegex::regbuf

Definition at line 8 of file m_regex_tre.cpp.

The documentation for this class was generated from the following file: