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::Regex ( const Anope::string expr)

Definition at line 32 of file regexpr.h.

◆ ~Regex()

virtual Regex::~Regex ( )

Definition at line 34 of file regexpr.h.

Member Function Documentation

◆ GetExpression()

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

Definition at line 35 of file regexpr.h.

Referenced by Anope::Match().

◆ Matches()

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

◆ expression

Anope::string Regex::expression

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