Crate cpp_regexp[][src]

Expand description

cpp std::regex test only

    use cpp_regexp::{RegExp,Config};
    assert!(RegExp::new("^hello$",Default::default()).test("hello"));
    let config = Config{
        icase:true,
        ..Default::default()
    };
    let mut regex = RegExp::new("^hello$",config);
    assert!(regex.test("hellO"));

Structs

Enums