Crate milligrep[][src]

Custom simplified implementation of grep

Structs

Config

The necessary configurations for initializing milligrep.

Functions

run

Runs the library logic. Expects a reference to Config.

search

Returns the line(s) where the pattern is matched in the contents of the file. It is case sensitive.

search_case_insensitive

Returns the line(s) where the pattern is matched in the contents of the file. It is case in-sensitive.