diff options
Diffstat (limited to 'Ivy/IvyBinding.h')
-rw-r--r-- | Ivy/IvyBinding.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ivy/IvyBinding.h b/Ivy/IvyBinding.h index 58f6d42..4354e55 100644 --- a/Ivy/IvyBinding.h +++ b/Ivy/IvyBinding.h @@ -20,7 +20,6 @@ #define USE_PCRE
#ifdef USE_PCRE
-#define OVECSIZE 60 /* must be multiple of 3, for regexp return */
#include <pcre.h>
#else /* we don't USE_PCRE */
#define MAX_MSG_FIELDS 200
@@ -48,7 +47,8 @@ private: #ifdef USE_PCRE
pcre *regexp;
pcre_extra *inspect;
- int ovector[OVECSIZE];
+ int ovectorsize;
+ int* ovector;
#else /* we don't USE_PCRE */
Regexp *regexp; /* la regexp sous forme machine */
//regmatch_t match[MAX_MSG_FIELDS+1]; /* resultat du match */
|