2024-11-12 15:03:58 +03:00

9 lines
143 B
Rust

extern crate regex;
use regex::Regex;
fn main() {
let re = Regex::new(r"[a-z&&[x]]").unwrap();
println!("{}", re.is_match("bye"));
}