#include <cel_regex.h>

Public Member Functions | |
| virtual AutoPtr< Region > | search (const UChar1 *str, const UChar1 *rangePtr=NULL, const UChar1 *rangeEnd=NULL, const UChar1 *strEnd=NULL)=0 |
| virtual AutoPtr< Region > | match (const char *str, const char *strAt=NULL, const char *strEnd=NULL)=0 |
Public Member Functions inherited from Celartem::Referable | |
| Referable () | |
| void | addRef () const |
| void | releaseRef () const |
| size_t | getReferenceCount () const |
Static Public Member Functions | |
| static AutoPtr< RegEx > | create (const UChar1 *inPattern, size_t length, int inOptionFlags=regex_default) |
Static Public Member Functions inherited from Celartem::Referable | |
| static void | dumpDbgAllRefCount () |
This class defines the RegEx interface. You should use RegularExpression class instead of creating the instance of this class directly.
|
static |
This method is a factory for RegEx class. You should use RegularExpression instead of RegEx class.
| inPattern | A pattern to search. |
| length | The length of the pattern string. |
| inOptionFlags | Any combination of RegexOptionFlag enumerations to control the behavior. |
Referenced by Celartem::RegularExpression::init().
|
pure virtual |
This method tries to match the specified string to the pattern.
| str | A string to do pattern matching on. |
| strAt | Pointer to the beginning point of pattern matching. |
| strEnd | Pointer to the ending point of pattern matching. |
|
pure virtual |
This method searchs the matching portion.
| str | A string to do pattern matching on. |
| rangePtr | Pointer to the beginning point of pattern matching. |
| rangeEnd | Pointer to the ending point of pattern matching. |
| strEnd | Pointer to the string end. If this parameter is explicitly specified, then str don't have to be terminated by '\0'. |