diff options
Diffstat (limited to 'Ivy/IvyBinding.h')
-rw-r--r-- | Ivy/IvyBinding.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Ivy/IvyBinding.h b/Ivy/IvyBinding.h index 44a87ee..58f6d42 100644 --- a/Ivy/IvyBinding.h +++ b/Ivy/IvyBinding.h @@ -24,7 +24,7 @@ #include <pcre.h>
#else /* we don't USE_PCRE */
#define MAX_MSG_FIELDS 200
-#include "Regex.h"
+#include "Regexp.h"
#endif /* USE_PCRE */
class IvyBinding
@@ -48,11 +48,10 @@ private: #ifdef USE_PCRE
pcre *regexp;
pcre_extra *inspect;
- int nb_match;
int ovector[OVECSIZE];
#else /* we don't USE_PCRE */
- regex_t regexp; /* la regexp sous forme machine */
- regmatch_t match[MAX_MSG_FIELDS+1]; /* resultat du match */
+ Regexp *regexp; /* la regexp sous forme machine */
+ //regmatch_t match[MAX_MSG_FIELDS+1]; /* resultat du match */
#endif /* USE_PCRE */
-
+ int nb_match;
};
\ No newline at end of file |