#include <Regex.h>
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 |
Definition at line 48 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().
int DFA::compile | ( | const char * | pattern, | |
unsigned | flags = 0 | |||
) |
Definition at line 83 of file Regex.cc.
References ink_assert.
Referenced by Diags::activate_taglist(), ats_wildcard_matcher::ats_wildcard_matcher(), hdrtoken_init(), mime_init(), and RegressionTest::run().
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 |
Definition at line 129 of file Regex.cc.
Referenced by hdrtoken_tokenize_dfa(), ats_wildcard_matcher::match(), mime_parse_day(), mime_parse_month(), mime_parse_rfc822_date_fastcase(), RegressionTest::run(), RegressionTest::run_some(), and Diags::tag_activated().
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.