1 2 3 4 5 6 7
use regexp::Regexp; #[test] fn test_eval() { let r = Regexp::new(&String::from("(ab)*")); assert!(r.eval(String::from("ab"))); }