Fixed pattern variable.

This commit is contained in:
Adam Harrison 2021-05-01 01:52:41 -04:00
parent bf09582478
commit 57b1adcec2
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ static int f_pcre_compile(lua_State *L) {
pcre2_code* re = pcre2_compile(
(PCRE2_SPTR)str,
len,
PCRE2_UTF,
pattern,
&errorNumber,
&errorOffset,
NULL