mantid_grep 0.0.1

mantid_grep provides grep functionality for use within the mantid ecosystem
Documentation
1
2
3
4
5
6
7
use mantid_grep::{matches, MatchesInput};

#[test]
fn test_simple() {
    let res = matches("test", MatchesInput::Expression("TE"), true).unwrap();
    assert_eq!(res[0].as_str(), "te");
}