[SOLVED] – if !Regex::new(r””^X[d]*$””).unwrap().is_match(s) { by admin | Aug 19, 2022 | if !Regex::new(r""^X[d]*$"").unwrap().is_match(s) {