From fb4e7db781c743d7b83245097c7dc91b87b76eb8 Mon Sep 17 00:00:00 2001 From: bptato Date: Thu, 21 Mar 2024 18:28:07 +0100 Subject: libregexp: update LRE_FLAG_UTF16 name upstream now calls it unicode --- adapter/protocol/man.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adapter/protocol') 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) -- cgit