mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-30 18:41:45 +00:00
httpserver may work better now
This commit is contained in:
@@ -55,7 +55,7 @@ proc rawCompile(pattern: string, flags: cint): PPcre =
|
||||
return com
|
||||
|
||||
proc finalizeRegEx(x: TRegEx) =
|
||||
# XXX This is a hack, but PCRE does not export it's "free" function properly.
|
||||
# XXX This is a hack, but PCRE does not export its "free" function properly.
|
||||
# Sigh. The hack relies on PCRE's implementation (see ``pcre_get.c``).
|
||||
# Fortunately the implementation is unlikely to change.
|
||||
pcre.free_substring(cast[cstring](x.h))
|
||||
|
||||
Reference in New Issue
Block a user