Crate nanogrep

Source
Expand description

Custom simplified implementation of minigrep with additional features.

Structs§

  • The necessary configurations for initializing nanogrep.

Functions§

  • Runs the library logic. Expects a reference to Config.
  • Returns the line(s) where the pattern is matched in the contents of the file.
  • Returns summary which includes total matched occurence(s) of the pattern & line respectively.