summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/pcreposix.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/pcrelib/pcreposix.c')
-rw-r--r--ext/pcre/pcrelib/pcreposix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pcre/pcrelib/pcreposix.c b/ext/pcre/pcrelib/pcreposix.c
index 9672be4fd6..3c56d63c68 100644
--- a/ext/pcre/pcrelib/pcreposix.c
+++ b/ext/pcre/pcrelib/pcreposix.c
@@ -212,7 +212,7 @@ return 0;
*************************************************/
int
-regexec(regex_t *preg, const char *string, size_t nmatch,
+regexec(regex_t *preg, const char *str, size_t nmatch,
regmatch_t pmatch[], int eflags)
{
int rc;
@@ -223,7 +223,7 @@ 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), 0, options,
+rc = pcre_exec(preg->re_pcre, NULL, str, (int)strlen(str), 0, options,
(int *)pmatch, nmatch * 2);
if (rc == 0) return 0; /* All pmatch were filled in */