Crate xer_minigrep

Source
Expand description

§Minigrep

minigrep is a minimal version of grep as shown in the rust book.

This is the documentation for the library crate part of minigrep.

Structs§

Config

Functions§

run
Performs a search according to what values are in the passed in Config, which could mean case sensitive search, case insensitive search, etc.
search
Returns a vector of references to str where each str is a line that matched case-sensitively a search for query in contents.
search_case_insensitive
Returns a vector of references to str where each str is a line that matched case-insensitively a search for query in contents.