about summary refs log tree commit diff stats
path: root/adapter/protocol/man.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-03-21 18:28:07 +0100
committerbptato <nincsnevem662@gmail.com>2024-03-21 18:28:07 +0100
commitfb4e7db781c743d7b83245097c7dc91b87b76eb8 (patch)
tree06e86acbcaea5c15150f8b872cc2430652184394 /adapter/protocol/man.nim
parentdfd6c3f2f0b5494da192ee60f2c588a92ceef089 (diff)
downloadchawan-fb4e7db781c743d7b83245097c7dc91b87b76eb8.tar.gz
libregexp: update LRE_FLAG_UTF16 name
upstream now calls it unicode
Diffstat (limited to 'adapter/protocol/man.nim')
-rw-r--r--adapter/protocol/man.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapter/protocol/man.nim b/adapter/protocol/man.nim
index cc6b9cf9..9dfcb20e 100644
--- a/adapter/protocol/man.nim
+++ b/adapter/protocol/man.nim
@@ -142,7 +142,7 @@ proc processManpage(ofile, efile: File; header, keyword: string) =
   stdout.write(line.processBackspace() & '\n')
   var wasBlank = false
   template re(s: static string): Regex =
-    let r = s.compileRegex({LRE_FLAG_GLOBAL, LRE_FLAG_UTF16})
+    let r = s.compileRegex({LRE_FLAG_GLOBAL, LRE_FLAG_UNICODE})
     if r.isNone:
       stdout.write(s & ": " & r.error)
       quit(1)