regularexpression.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_REGEXP_H
#define RUDIMENTS_REGEXP_H
#include <rudiments/private/regularexpressionincludes.h>
class RUDIMENTS_DLLSPEC regularexpression {
public:
static bool match(const char *str, size_t length,
const char *pattern);
static bool match(const char *str, const char *pattern);
regularexpression();
regularexpression(const char *pattern);
~regularexpression();
bool setPattern(const char *pattern);
const char *getPattern() const;
bool study();
bool match(const char *str);
bool match(const char *str, size_t length);
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
regularexpression
Definition: regularexpression.h:14
regularexpression::regularexpression
regularexpression()
regularexpression::study
bool study()
regularexpression::~regularexpression
~regularexpression()
regularexpression::regularexpression
regularexpression(const char *pattern)
regularexpression::setPattern
bool setPattern(const char *pattern)
regularexpression::match
bool match(const char *str, size_t length)
regularexpression::match
static bool match(const char *str, size_t length, const char *pattern)
regularexpression::getSubstringStart
const char * getSubstringStart(int32_t index)
regularexpression::getPattern
const char * getPattern() const
regularexpression::getSubstringCount
int32_t getSubstringCount()
regularexpression::getSubstringStartOffset
int32_t getSubstringStartOffset(int32_t index)
regularexpression::getSubstringEndOffset
int32_t getSubstringEndOffset(int32_t index)
regularexpression::match
bool match(const char *str)
regularexpression::match
static bool match(const char *str, const char *pattern)
regularexpression::getSubstringEnd
const char * getSubstringEnd(int32_t index)