diff options
author | Pixel <Pixel> | 2001-11-29 17:42:23 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2001-11-29 17:42:23 +0000 |
commit | 23d91060b557f77fc37e629a168ca810cd66a364 (patch) | |
tree | 1af217429ab2e9f00188381f560e6a0bdea968b1 /include | |
parent | a6f79293000e96e07ab2688541fcb38225d4094f (diff) |
Fixing regex
Diffstat (limited to 'include')
-rw-r--r-- | include/Regex.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/Regex.h b/include/Regex.h index 1fc7197..9c8d466 100644 --- a/include/Regex.h +++ b/include/Regex.h @@ -4,17 +4,18 @@ #include <Exceptions.h> #include <String.h> - #include <regex.h> class Regex : public Base { public: - Regex(const String &, int = REG_EXTENDED | REG_ICASE, int = 0) throw (GeneralException); + Regex(const String &, int = REG_EXTENDED, int = 0) throw (GeneralException); + Regex(const Regex &); ~Regex(); bool Match(const String &) const; private: regex_t preg; - int eflags; + int cflags, eflags; + char * pattern; }; extern Regex empty, any; |