pike.git / src / post_modules / _Regexp_PCRE / pcre_glue.cmod

version» Context lines:

pike.git/src/post_modules/_Regexp_PCRE/pcre_glue.cmod:404:      #define OVECTOR_SIZE 3000 /* multiple of three; possible hits*3 */       PIKEFUN int|array(int) exec(string subject,    void|int startoffset)    {    struct array *res;       int ovector[OVECTOR_SIZE];    INT32 off=0; -  char *dummy_s; +     int opts=0;       if (!THIS->re)    Pike_error("need to initialize before exec() is called\n");       if (startoffset)    off = startoffset->u.integer;       /* FIXME: also MATCH_LIMIT and CALLOUT_DATA ... later */