about summary refs log tree commit diff stats
path: root/src/local
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 /src/local
parentdfd6c3f2f0b5494da192ee60f2c588a92ceef089 (diff)
downloadchawan-fb4e7db781c743d7b83245097c7dc91b87b76eb8.tar.gz
libregexp: update LRE_FLAG_UTF16 name
upstream now calls it unicode
Diffstat (limited to 'src/local')
-rw-r--r--src/local/pager.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim
index 98e29a39..31652817 100644
--- a/src/local/pager.nim
+++ b/src/local/pager.nim
@@ -1071,7 +1071,7 @@ proc checkRegex(pager: Pager, regex: Result[Regex, string]): Opt[Regex] =
   return ok(regex.get)
 
 proc compileSearchRegex(pager: Pager, s: string): Result[Regex, string] =
-  var flags = {LRE_FLAG_UTF16}
+  var flags = {LRE_FLAG_UNICODE}
   if pager.config.search.ignore_case:
     flags.incl(LRE_FLAG_IGNORECASE)
   return compileSearchRegex(s, flags)