about summary refs log tree commit diff stats
path: root/src/local/pager.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/local/pager.nim')
-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)