Anope IRC Services  Version 2.0
Public Member Functions | Private Attributes
PCRERegex Class Reference
Inheritance diagram for PCRERegex:
Inheritance graph
[legend]
Collaboration diagram for PCRERegex:
Collaboration graph
[legend]

Public Member Functions

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

Private Attributes

pcre * regex
 

Additional Inherited Members

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

Detailed Description

Definition at line 7 of file m_regex_pcre.cpp.

Constructor & Destructor Documentation

PCRERegex::PCRERegex ( const Anope::string expr)
inline

Definition at line 12 of file m_regex_pcre.cpp.

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

PCRERegex::~PCRERegex ( )
inline

Definition at line 21 of file m_regex_pcre.cpp.

Member Function Documentation

bool PCRERegex::Matches ( const Anope::string str)
inlinevirtual

Implements Regex.

Definition at line 26 of file m_regex_pcre.cpp.

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

Field Documentation

pcre* PCRERegex::regex
private

Definition at line 9 of file m_regex_pcre.cpp.


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