From ce1761dff9e79d00bc012938ad6be37caa2edcfd Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Tue, 5 Nov 2024 13:14:45 +0800 Subject: [PATCH] progress --- lib/impure/nre.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/impure/nre.nim b/lib/impure/nre.nim index 0a43b92bed..1c47918ab3 100644 --- a/lib/impure/nre.nim +++ b/lib/impure/nre.nim @@ -231,7 +231,7 @@ when defined(gcDestructors): else: proc destroyRegex(pattern: Regex) = `=destroy`(pattern.pattern) - pcre.code_free(pattern.pcreObj) + pcre2.code_free(pattern.pcreObj) `=destroy`(pattern.captureNameToId) proc getinfo[T](pattern: Regex, opt: uint32): T =