summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPixel <Pixel>2001-11-29 17:42:23 +0000
committerPixel <Pixel>2001-11-29 17:42:23 +0000
commit23d91060b557f77fc37e629a168ca810cd66a364 (patch)
tree1af217429ab2e9f00188381f560e6a0bdea968b1 /include
parenta6f79293000e96e07ab2688541fcb38225d4094f (diff)
Fixing regex
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;