Add extra argument for new pg_regexec API.

This commit is contained in:
Bruce Momjian 2005-07-10 18:31:59 +00:00
parent aacfeba61b
commit 21634e513f
1 changed files with 1 additions and 1 deletions

View File

@ -813,7 +813,7 @@ CheckAffix(const char *word, size_t len, AFFIX * Affix, char flagflags, char *ne
data = (pg_wchar *) palloc((dat_len + 1) * sizeof(pg_wchar));
data_len = pg_mb2wchar_with_len(newword, data, dat_len);
if (!(err = pg_regexec(&(Affix->reg.regex), data, dat_len, NULL, 1, subs, 0)))
if (!(err = pg_regexec(&(Affix->reg.regex), data, dat_len, 0, NULL, 1, subs, 0)))
{
pfree(data);
return newword;