Expand description
§Minigrep
minigrep is a light version of the popular command-line utility grep
Structs§
Functions§
- run
- Runs the program using the config and search functions.
- search
- Searches the
queryin thecontentsgiven - case sensitive. Returns a vector of string slices representing the lines where the query is found. - search_
case_ insensitive - Searches the
queryin thecontentsgiven - case insensitives. Returns a vector of string slices representing the lines where the query is found.