9 lines
143 B
Rust
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"));
|
|
}
|