#include <yateclass.h>
Inheritance diagram for Regexp:
Public Member Functions | |
Regexp () | |
Regexp (const char *value, bool extended=false, bool insensitive=false) | |
Regexp (const Regexp &value) | |
virtual | ~Regexp () |
Regexp & | operator= (const char *value) |
bool | compile () |
bool | matches (const char *value) const |
virtual bool | matches (const String &value) const |
void | setFlags (bool extended, bool insensitive) |
bool | isExtended () const |
bool | isCaseInsensitive () const |
Protected Member Functions | |
virtual void | changed () |
Friends | |
class | String |
A regular expression matching class.
|
Creates a new, empty regexp. |
|
Creates a new initialized regexp.
|
|
Copy constructor.
|
|
Destroys the regexp, disposes the memory. |
|
Called whenever the value changed (except in constructors) to recompile. Reimplemented from String. |
|
Makes sure the regular expression is compiled
|
|
Return the Case Insensitive flag
|
|
Return the POSIX Extended syntax flag
|
|
Checks if the pattern matches a string
Reimplemented from String. |
|
Checks if the pattern matches a given value
|
|
Assignment from char* operator. Reimplemented from String. |
|
Change the expression matching flags
|