--- code/trunk/pcreposix.c 2007/02/24 21:38:45 25 +++ code/trunk/pcreposix.c 2007/02/24 21:39:05 35 @@ -12,7 +12,7 @@ Written by: Philip Hazel - Copyright (c) 1998 University of Cambridge + Copyright (c) 1997-1999 University of Cambridge ----------------------------------------------------------------------------- Permission is granted to anyone to use this software for any purpose on any @@ -28,6 +28,10 @@ 3. Altered versions must be plainly marked as such, and must not be misrepresented as being the original software. + +4. If PCRE is embedded in any software that is released under the GNU + General Purpose Licence (GPL), then the terms of that licence shall + supersede any condition above with which it is incompatible. ----------------------------------------------------------------------------- */ @@ -219,7 +223,7 @@ preg->re_erroffset = (size_t)(-1); /* Only has meaning after compile */ -rc = pcre_exec(preg->re_pcre, NULL, string, (int)strlen(string), options, +rc = pcre_exec(preg->re_pcre, NULL, string, (int)strlen(string), 0, options, (int *)pmatch, nmatch * 2); if (rc == 0) return 0; /* All pmatch were filled in */