#ifndef __REGEX_H__ #define __REGEX_H__ #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 #endif