|
OPeNDAP Hyrax Back End Server (BES) Updated for version 3.8.3
|
a C++ interface to POSIX regular expression functions. More...
#include <BESRegex.h>

Public Member Functions | |
| BESRegex (const char *t) | |
| Initialize a POSIX regular expression (using the 'extended' features). | |
| BESRegex (const char *t, int dummy) | |
| Compatability ctor. | |
| 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 () | |
a C++ interface to POSIX regular expression functions.
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.
Does the regular expression match the string?
| 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 main(), and 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.
Does the regular expression match the string?
| 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().
