metasearch/src/engines/answer.rs
mat 95f7c147f1
Add color picker answer (#13)
* Add color picker answer

* set autocomplete=off for the inputs

* add symbols to the regexes

* tweak hsv and hsl regex

* don't show wikipedia when searching 'color picker'
2024-07-16 03:07:23 -05:00

19 lines
401 B
Rust

pub mod colorpicker;
pub mod dictionary;
pub mod fend;
pub mod ip;
pub mod notepad;
pub mod numbat;
pub mod thesaurus;
pub mod timezone;
pub mod useragent;
pub mod wikipedia;
macro_rules! regex {
($re:literal $(,)?) => {{
static RE: std::sync::OnceLock<regex::Regex> = std::sync::OnceLock::new();
RE.get_or_init(|| regex::Regex::new($re).unwrap())
}};
}
pub(crate) use regex;