grep-search 0.1.7

This is search query in contents lib.
Documentation
  • Coverage
  • 50%
    1 out of 2 items documented1 out of 2 items with examples
  • Size
  • Source code size: 4.12 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 121.17 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mike0top

This is search grep lib

Example of using search:

use search::{search, search_case_insensitive};

fn main() {
    let query = "RUst";
    let contents = "Rust is good language";
    let results = search(query, contents, false, false, true);
    assert_eq!(results, vec!["Rust"]) // -> True
}

Version search -- 0.1.7

Note:

  • This is part of the grep project

Update version -- 0.1.7

  • Update function search
  • Delete function search_case_insensitive
  • Update README.md