/[pcre]/code/trunk/pcreposix.c
ViewVC logotype

Diff of /code/trunk/pcreposix.c

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

revision 982 by ph10, Wed Jun 20 15:15:27 2012 UTC revision 1024 by ph10, Wed Aug 29 11:08:24 2012 UTC
# Line 259  const char *errorptr; Line 259  const char *errorptr;
259  int erroffset;  int erroffset;
260  int errorcode;  int errorcode;
261  int options = 0;  int options = 0;
262    int re_nsub = 0;
263    
264  if ((cflags & REG_ICASE) != 0)    options |= PCRE_CASELESS;  if ((cflags & REG_ICASE) != 0)    options |= PCRE_CASELESS;
265  if ((cflags & REG_NEWLINE) != 0)  options |= PCRE_MULTILINE;  if ((cflags & REG_NEWLINE) != 0)  options |= PCRE_MULTILINE;
# Line 282  if (preg->re_pcre == NULL) Line 283  if (preg->re_pcre == NULL)
283    }    }
284    
285  (void)pcre_fullinfo((const pcre *)preg->re_pcre, NULL, PCRE_INFO_CAPTURECOUNT,  (void)pcre_fullinfo((const pcre *)preg->re_pcre, NULL, PCRE_INFO_CAPTURECOUNT,
286    &(preg->re_nsub));    &re_nsub);
287    preg->re_nsub = (size_t)re_nsub;
288  return 0;  return 0;
289  }  }
290    

Legend:
Removed from v.982  
changed lines
  Added in v.1024

  ViewVC Help
Powered by ViewVC 1.1.5