#ifndef __REGEX_H__ #define __REGEX_H__ #include #include #include class Regex : public Base { public: Regex(const String &, int = REG_EXTENDED, int = 0) throw (GeneralException); Regex(const Regex &); ~Regex(); bool Match(const String &) const; private: regex_t preg; int cflags, eflags; char * pattern; }; extern Regex empty, any; #endif