Closed
Description
Tested with regex 0.2.1
println!("{:?}", RegexSet::new(&["a", "b",]).unwrap().is_match("b"));
println!("{:?}", RegexSet::new(&["b", "a",]).unwrap().is_match("b"));
println!("{:?}", RegexSet::new(&["a", "β",]).unwrap().is_match("β"));
println!("{:?}", RegexSet::new(&["β", "a",]).unwrap().is_match("β"));
gives
true
true
false
true
The third should also be true. The only difference of b
or β
leads to different results.