#include <BESRegex.h>
Collaboration diagram for BESRegex:
Public Member Functions | |
BESRegex (const char *t, int dummy) | |
Compatability ctor. | |
BESRegex (const char *t) | |
Initialize a POSIX regular expression (using the 'extended' features). | |
int | match (const char *s, int len, int pos=0) |
Does the pattern match. | |
int | search (const char *s, int len, int &matchlen, int pos=0) |
How much of the string does the pattern matche. | |
~BESRegex () |
Definition at line 41 of file BESRegex.h.
BESRegex::BESRegex | ( | const char * | t | ) |
Initialize a POSIX regular expression (using the 'extended' features).
t | The regular expression pattern. |
Definition at line 84 of file BESRegex.cc.
BESRegex::BESRegex | ( | const char * | t, | |
int | dummy | |||
) |
Compatability ctor.
Definition at line 91 of file BESRegex.cc.
BESRegex::~BESRegex | ( | ) |
Definition at line 74 of file BESRegex.cc.
int BESRegex::match | ( | const char * | s, | |
int | len, | |||
int | pos = 0 | |||
) |
Does the pattern match.
s | The string | |
len | The length of string to consider | |
pos | Start looking at this position in the string |
Definition at line 103 of file BESRegex.cc.
Referenced by BESScrub::pathname_ok().
int BESRegex::search | ( | const char * | s, | |
int | len, | |||
int & | matchlen, | |||
int | pos = 0 | |||
) |
How much of the string does the pattern matche.
s | The string | |
len | The length of string to consider | |
matchlen | Return the length of the matched portion in this value-result parameter. | |
pos | Start looking at this position in the string |
Definition at line 127 of file BESRegex.cc.
References BESScrub::size_ok().
Here is the call graph for this function: