mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
search: disable unicode support
This commit is contained in:
parent
ea7aad99b8
commit
bddf749fba
@ -67,7 +67,7 @@ pub fn new(pattern: &str) -> Result<Searcher, RegexError> {
|
||||
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user