Fixed pattern variable.
This commit is contained in:
parent
bf09582478
commit
57b1adcec2
|
@ -31,7 +31,7 @@ static int f_pcre_compile(lua_State *L) {
|
||||||
pcre2_code* re = pcre2_compile(
|
pcre2_code* re = pcre2_compile(
|
||||||
(PCRE2_SPTR)str,
|
(PCRE2_SPTR)str,
|
||||||
len,
|
len,
|
||||||
PCRE2_UTF,
|
pattern,
|
||||||
&errorNumber,
|
&errorNumber,
|
||||||
&errorOffset,
|
&errorOffset,
|
||||||
NULL
|
NULL
|
||||||
|
|
Loading…
Reference in New Issue