diff options
Diffstat (limited to 'include/Regex.h')
-rw-r--r-- | include/Regex.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/include/Regex.h b/include/Regex.h index daac59f..b076342 100644 --- a/include/Regex.h +++ b/include/Regex.h @@ -1,22 +1,22 @@ -#ifndef __REGEX_H__
-#define __REGEX_H__
-
-#include <Exceptions.h>
-#include <BString.h>
-#include <regex.h>
-
-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
+#ifndef __REGEX_H__ +#define __REGEX_H__ + +#include <Exceptions.h> +#include <BString.h> +#include <regex.h> + +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 |