grep-rs

A grep-like library written in rust

Currently working features

Searching through files
Searching through standard input
Excluding patterns
Printing all lines before the first instance of the pattern
Printing all lines after the first instance of the pattern
Case Insensitivity
(NEW) Regex

Examples

Examples take place in hypothetical directory containing
Basicfile1.txt Basicfile2.txt
Basicfile3.txt Basicfile4.txt

see examples/
or run cargo run --example [file_name]