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

Public Member Functions

 POSIXRegex (const Anope::string &expr)
 ~POSIXRegex ()
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 5 of file m_regex_posix.cpp.

Constructor & Destructor Documentation

◆ POSIXRegex()

POSIXRegex::POSIXRegex ( const Anope::string expr)

Definition at line 10 of file m_regex_posix.cpp.

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

Referenced by POSIXRegexProvider::Compile().

◆ ~POSIXRegex()

POSIXRegex::~POSIXRegex ( )

Definition at line 22 of file m_regex_posix.cpp.

Member Function Documentation

◆ Matches()

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

Implements Regex.

Definition at line 27 of file m_regex_posix.cpp.

References Anope::string::c_str().

Field Documentation

◆ regbuf

regex_t POSIXRegex::regbuf

Definition at line 7 of file m_regex_posix.cpp.

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