#regex #grep #egrep #search #pattern

grep-searcher

Fast line oriented regex searching as a library

6 releases

0.1.4 Apr 15, 2019
0.1.3 Feb 10, 2019
0.1.1 Sep 7, 2018
0.1.0 Aug 20, 2018
0.0.1 Aug 8, 2018

#44 in Text processing

Download history 591/week @ 2019-02-02 634/week @ 2019-02-09 501/week @ 2019-02-16 525/week @ 2019-02-23 572/week @ 2019-03-02 556/week @ 2019-03-09 455/week @ 2019-03-16 492/week @ 2019-03-23 447/week @ 2019-03-30 527/week @ 2019-04-06 1712/week @ 2019-04-13 834/week @ 2019-04-20 664/week @ 2019-04-27 628/week @ 2019-05-04 575/week @ 2019-05-11

2,917 downloads per month
Used in 5 crates (4 directly)

Unlicense/MIT

270KB
5K SLoC

grep-searcher

A high level library for executing fast line oriented searches. This handles things like reporting contextual lines, counting lines, inverting a search, detecting binary data, automatic UTF-16 transcoding and deciding whether or not to use memory maps.

Linux build status Windows build status

Dual-licensed under MIT or the UNLICENSE.

Documentation

https://docs.rs/grep-searcher

NOTE: You probably don't want to use this crate directly. Instead, you should prefer the facade defined in the grep crate.

Usage

Add this to your Cargo.toml:

[dependencies]
grep-searcher = "0.1"

and this to your crate root:

extern crate grep_searcher;

Dependencies

~4.5MB
~142K SLoC