Public Member Functions

DFA Class Reference

#include <Regex.h>

Collaboration diagram for DFA:
Collaboration graph
[legend]

Public Member Functions

 DFA ()
 ~DFA ()
int compile (const char *pattern, unsigned flags=0)
int compile (const char **patterns, int npatterns, unsigned flags=0)
int match (const char *str) const
int match (const char *str, int length) const

Detailed Description

Definition at line 48 of file Regex.h.


Constructor & Destructor Documentation

DFA::DFA (  )  [inline]

Definition at line 51 of file Regex.h.

DFA::~DFA (  ) 

Definition at line 27 of file Regex.cc.

References __pat::_next, __pat::_p, __pat::_pe, __pat::_re, and ats_free().


Member Function Documentation

int DFA::compile ( const char *  pattern,
unsigned  flags = 0 
)
int DFA::compile ( const char **  patterns,
int  npatterns,
unsigned  flags = 0 
)

Definition at line 93 of file Regex.cc.

References __pat::_idx, and __pat::_next.

int DFA::match ( const char *  str  )  const
int DFA::match ( const char *  str,
int  length 
) const

Definition at line 135 of file Regex.cc.

References __pat::_idx, __pat::_next, __pat::_pe, and __pat::_re.


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