Crate minigrep_ag

Source
Expand description

§Minigrep

minigrep is a light version of the popular command-line utility grep

Structs§

Config

Functions§

run
Runs the program using the config and search functions.
search
Searches the query in the contents given - case sensitive. Returns a vector of string slices representing the lines where the query is found.
search_case_insensitive
Searches the query in the contents given - case insensitives. Returns a vector of string slices representing the lines where the query is found.