diff options
author | fcolin | 2009-06-18 14:07:58 +0000 |
---|---|---|
committer | fcolin | 2009-06-18 14:07:58 +0000 |
commit | b62585c0d4dec9b1cec86f808b3d8b0eddd0437c (patch) | |
tree | 566ae0fd54ccd6119de8117143b558f81742aefc /Ivy/IvyBinding.h | |
parent | bab8b091f69679c373e4f8ccfa794cd52419db8f (diff) | |
download | ivy-cplusplus-b62585c0d4dec9b1cec86f808b3d8b0eddd0437c.zip ivy-cplusplus-b62585c0d4dec9b1cec86f808b3d8b0eddd0437c.tar.gz ivy-cplusplus-b62585c0d4dec9b1cec86f808b3d8b0eddd0437c.tar.bz2 ivy-cplusplus-b62585c0d4dec9b1cec86f808b3d8b0eddd0437c.tar.xz |
correction bug sur limite d'argument dans une expression reguliere PCRE
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 */
|