From 9788056af63e073607897559997a44272b9a5cef Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 29 Nov 2001 01:03:21 +0000 Subject: Regex done! --- include/Regex.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'include/Regex.h') diff --git a/include/Regex.h b/include/Regex.h index 6786041..1fc7197 100644 --- a/include/Regex.h +++ b/include/Regex.h @@ -3,13 +3,22 @@ #ifdef __cplusplus #include +#include + +#include class Regex : public Base { public: - + Regex(const String &, int = REG_EXTENDED | REG_ICASE, int = 0) throw (GeneralException); + ~Regex(); + bool Match(const String &) const; private: + regex_t preg; + int eflags; }; +extern Regex empty, any; + #else #error This only works with a C++ compiler #endif -- cgit v1.2.3