Public Member Functions | List of all members
RegExpr Class Reference

#include <RegExpr.hxx>

Inheritance diagram for RegExpr:
Inheritance graph
Collaboration diagram for RegExpr:
Collaboration graph

Public Member Functions

 RegExpr (const std::string &expression_, bool ignore_case)
 ~RegExpr ()
const std::stringhas_failed () const
GB_ERROR get_error () const
size_t subexpr_count () const
const RegMatchmatch (const std::string &versus, size_t offset=0) const
const RegMatchsubexpr_match (size_t subnr) const

Detailed Description

Definition at line 61 of file RegExpr.hxx.

Constructor & Destructor Documentation

RegExpr::RegExpr ( const std::string expression_,
bool  ignore_case 

Definition at line 23 of file RegExpr.cxx.

RegExpr::~RegExpr ( )

Definition at line 31 of file RegExpr.cxx.

References GBS_free_regexpr().

Member Function Documentation

const std::string* RegExpr::has_failed ( ) const

Definition at line 78 of file RegExpr.hxx.

Referenced by References::add_dbid(), clear_comment_cb(), get_error(), and mp_file2list().

GB_ERROR RegExpr::get_error ( ) const

Definition at line 79 of file RegExpr.hxx.

References GBS_global_string(), has_failed(), NULp, and string().

Referenced by References::add_dbid(), and mp_file2list().

size_t RegExpr::subexpr_count ( ) const

Definition at line 89 of file RegExpr.cxx.

References GBS_regex::compiled.

Referenced by References::add_dbid(), mp_file2list(), and subexpr_match().

const RegMatch * RegExpr::match ( const std::string versus,
size_t  offset = 0 
) const

Definition at line 80 of file RegExpr.cxx.

References NULp, and offset.

Referenced by References::add_dbid(), clear_comment_cb(), and mp_file2list().

const RegMatch * RegExpr::subexpr_match ( size_t  subnr) const

Definition at line 97 of file RegExpr.cxx.

References NULp, re_assert, result, and subexpr_count().

Referenced by References::add_dbid(), and mp_file2list().

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