#include <regex.h>
Public Types | |
typedef RegexType::EncodingType | Encoding |
typedef Encoding::Ch | Ch |
Public Member Functions | |
GenericRegexSearch (const RegexType ®ex, Allocator *allocator=0) | |
~GenericRegexSearch () | |
template<typename InputStream > | |
bool | Match (InputStream &is) |
bool | Match (const Ch *s) |
template<typename InputStream > | |
bool | Search (InputStream &is) |
bool | Search (const Ch *s) |
Private Types | |
typedef RegexType::State | State |
typedef RegexType::Range | Range |
Private Member Functions | |
template<typename InputStream > | |
bool | SearchWithAnchoring (InputStream &is, bool anchorBegin, bool anchorEnd) |
size_t | GetStateSetSize () const |
bool | AddState (Stack< Allocator > &l, SizeType index) |
bool | MatchRange (SizeType rangeIndex, unsigned codepoint) const |
Private Attributes | |
const RegexType & | regex_ |
Allocator * | allocator_ |
Allocator * | ownAllocator_ |
Stack< Allocator > | state0_ |
Stack< Allocator > | state1_ |
uint32_t * | stateSet_ |
typedef Encoding::Ch internal::GenericRegexSearch< RegexType, Allocator >::Ch |
typedef RegexType::EncodingType internal::GenericRegexSearch< RegexType, Allocator >::Encoding |
|
private |
|
private |
|
inline |
Definition at line 604 of file regex.h.
|
inline |
Definition at line 616 of file regex.h.
|
inlineprivate |
Definition at line 684 of file regex.h.
|
inlineprivate |
|
inline |
Definition at line 622 of file regex.h.
|
inline |
|
inlineprivate |
Definition at line 699 of file regex.h.
|
inline |
Definition at line 632 of file regex.h.
|
inline |
|
inlineprivate |
Definition at line 646 of file regex.h.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |