Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 979 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 979 Bytes

redgrep

About

redgrep is a grep based on regular expression derivatives. That is, it uses regular expression derivatives to construct the DFA. It then uses LLVM to JIT the DFA.

Since regular expression derivatives permit the three basic Boolean operations of disjunction (|), conjunction (&) and complement (!), redgrep enables you to write very powerful regular expressions very easily and guarantees to match them in linear time.

Building

You must have Bazel, GNU bison and either GCC or Clang.

redgrep attempts to keep up with LLVM development, so you should get the source code and build LLVM. (Debian and Ubuntu users might prefer to install the nightly packages instead.)

llvm-config-17 must be in your path.

Contact

redgrep@googlegroups.com

Disclaimer

This is not an official Google product.