Anope IRC Services  Version 2.0
Public Member Functions | Protected Member Functions | Private Attributes
Regex Class Referenceabstract

#include <regexpr.h>

Inheritance diagram for Regex:
Inheritance graph
Collaboration diagram for Regex:
Collaboration graph

Public Member Functions

virtual ~Regex ()
const Anope::stringGetExpression ()
virtual bool Matches (const Anope::string &str)=0

Protected Member Functions

 Regex (const Anope::string &expr)

Private Attributes

Anope::string expression

Detailed Description

Definition at line 28 of file regexpr.h.

Constructor & Destructor Documentation

Regex::Regex ( const Anope::string expr)

Definition at line 32 of file regexpr.h.

virtual Regex::~Regex ( )

Definition at line 34 of file regexpr.h.

Member Function Documentation

const Anope::string& Regex::GetExpression ( )

Definition at line 35 of file regexpr.h.

Referenced by Anope::Match().

virtual bool Regex::Matches ( const Anope::string str)
pure virtual

Implemented in TRERegex, POSIXRegex, and PCRERegex.

Referenced by SQLineManager::CheckChannel(), and Anope::Match().

Field Documentation

Anope::string Regex::expression

Definition at line 30 of file regexpr.h.

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