9 lines
143 B
Rust
Raw Permalink Normal View History

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