2023-12-20 23:17:46 +00:00
|
|
|
pub mod calc;
|
2024-01-03 07:48:02 +00:00
|
|
|
pub mod dictionary;
|
2023-12-20 10:08:36 +00:00
|
|
|
pub mod ip;
|
2024-04-04 04:51:19 +00:00
|
|
|
pub mod thesaurus;
|
2024-01-15 01:07:53 +00:00
|
|
|
pub mod timezone;
|
2023-12-20 10:08:36 +00:00
|
|
|
pub mod useragent;
|
2023-12-21 04:18:43 +00:00
|
|
|
pub mod wikipedia;
|
2023-12-20 10:08:36 +00:00
|
|
|
|
|
|
|
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;
|