diff --git a/src/config.rs b/src/config.rs index f0af8cb..8591999 100644 --- a/src/config.rs +++ b/src/config.rs @@ -22,28 +22,33 @@ lazy_static! { // Parse time format into Duration pub fn try_parse_duration(text: &str) -> result::Result { - lazy_static! { - static ref REGEX_MATCH_TIME: Regex = - Regex::new(r"^(?P