mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 09:24:36 +00:00
progress
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user