From bddf749fba7b078f0fa212948c2eef68df5d2076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Sat, 12 Jun 2021 23:35:25 +0900 Subject: [PATCH] search: disable unicode support --- helix-core/src/search.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-core/src/search.rs b/helix-core/src/search.rs index 7faa21df0..1549d64b8 100644 --- a/helix-core/src/search.rs +++ b/helix-core/src/search.rs @@ -67,7 +67,7 @@ pub fn new(pattern: &str) -> Result { // Create Regex DFAs for all search directions. let mut builder = dense::Builder::new(); - let builder = builder.case_insensitive(!has_uppercase); + let builder = builder.case_insensitive(!has_uppercase).unicode(false); let left_fdfa = builder.clone().reverse(true).build(pattern)?; let left_rdfa = builder