/[pcre]/code/tags/pcre-4.0/pcreposix.c
ViewVC logotype

Diff of /code/tags/pcre-4.0/pcreposix.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 27 by nigel, Sat Feb 24 21:38:49 2007 UTC revision 35 by nigel, Sat Feb 24 21:39:05 2007 UTC
# Line 28  restrictions: Line 28  restrictions:
28    
29  3. Altered versions must be plainly marked as such, and must not be  3. Altered versions must be plainly marked as such, and must not be
30     misrepresented as being the original software.     misrepresented as being the original software.
31    
32    4. If PCRE is embedded in any software that is released under the GNU
33       General Purpose Licence (GPL), then the terms of that licence shall
34       supersede any condition above with which it is incompatible.
35  -----------------------------------------------------------------------------  -----------------------------------------------------------------------------
36  */  */
37    
# Line 219  if ((eflags & REG_NOTEOL) != 0) options Line 223  if ((eflags & REG_NOTEOL) != 0) options
223    
224  preg->re_erroffset = (size_t)(-1);   /* Only has meaning after compile */  preg->re_erroffset = (size_t)(-1);   /* Only has meaning after compile */
225    
226  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,
227    (int *)pmatch, nmatch * 2);    (int *)pmatch, nmatch * 2);
228    
229  if (rc == 0) return 0;    /* All pmatch were filled in */  if (rc == 0) return 0;    /* All pmatch were filled in */

Legend:
Removed from v.27  
changed lines
  Added in v.35

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12