From dbe6767b757d891bb6b4b21edee4b987735dce0c Mon Sep 17 00:00:00 2001 From: pixel Date: Sat, 18 Dec 2004 12:58:10 +0000 Subject: Renaming conflicting "case unsensitive" filename. --- include/BRegex.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 include/BRegex.h (limited to 'include') diff --git a/include/BRegex.h b/include/BRegex.h new file mode 100644 index 0000000..b076342 --- /dev/null +++ b/include/BRegex.h @@ -0,0 +1,22 @@ +#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 -- cgit v1.2.3