Remove SearchOptions::REGEX.

A bit WIP as it awaits migration of buffer search to modes
This commit is contained in:
Piotr Osiewicz 2023-08-08 14:42:11 +02:00
parent 0ca29e56c2
commit c53554ead3
5 changed files with 7 additions and 17 deletions

View file

@ -39,7 +39,6 @@ bitflags! {
const NONE = 0b000;
const WHOLE_WORD = 0b001;
const CASE_SENSITIVE = 0b010;
const REGEX = 0b100;
}
}
@ -68,7 +67,6 @@ impl SearchOptions {
let mut options = SearchOptions::NONE;
options.set(SearchOptions::WHOLE_WORD, query.whole_word());
options.set(SearchOptions::CASE_SENSITIVE, query.case_sensitive());
options.set(SearchOptions::REGEX, query.is_regex());
options
}
}