summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Regex.h7
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;