regularexpression.h
// Copyright (c) 1999-2002 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_REGEXP_H
#define RUDIMENTS_REGEXP_H
#include <rudiments/private/regularexpressionincludes.h>
class regularexpressionprivate;
class RUDIMENTS_DLLSPEC regularexpression {
public:
static bool match(const char *str, const char *pattern);
regularexpression();
regularexpression(const char *pattern);
~regularexpression();
bool compile(const char *pattern);
bool study();
bool match(const char *str);
int32_t getSubstringCount();
const char *getSubstringStart(int32_t index);
const char *getSubstringEnd(int32_t index);
int32_t getSubstringStartOffset(int32_t index);
int32_t getSubstringEndOffset(int32_t index);
#include <rudiments/private/regularexpression.h>
};
#endif