diff options
Diffstat (limited to 'ext/pcre/pcrelib/pcreposix.c')
| -rw-r--r-- | ext/pcre/pcrelib/pcreposix.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/pcre/pcrelib/pcreposix.c b/ext/pcre/pcrelib/pcreposix.c index 514905bc22..9672be4fd6 100644 --- a/ext/pcre/pcrelib/pcreposix.c +++ b/ext/pcre/pcrelib/pcreposix.c @@ -223,10 +223,8 @@ if ((eflags & REG_NOTEOL) != 0) options |= PCRE_NOTEOL; preg->re_erroffset = (size_t)(-1); /* Only has meaning after compile */ -rc = pcre_exec(preg->re_pcre, NULL, string, (int)strlen(string), - string, // const char *strbeg (added for vi-like 'g' replace flag) - options, (int *)pmatch, nmatch * 2, - 0); // int minlen (added for vi-like 'g' replace flag) +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 */ |
