hypergrep
linux-regex-module
hypergrep | linux-regex-module | |
---|---|---|
5 | 8 | |
163 | 59 | |
- | - | |
9.3 | 10.0 | |
11 months ago | over 1 year ago | |
C++ | ||
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hypergrep
-
Ugrep – a more powerful, ultra fast, user-friendly, compatible grep
Another issue with Hyperscan is that if you enable HS_FLAG_UTF8[1], which hypergrep does[2,3], and then search invalid UTF-8, then the result is UB.
> This flag instructs Hyperscan to treat the pattern as a sequence of UTF-8 characters. The results of scanning invalid UTF-8 sequences with a Hyperscan library that has been compiled with one or more patterns using this flag are undefined.
That's another issue you'll need to grapple with if you use Hyperscan. PCRE2 used to have this issue[4], but they've since defined the semantics of searching invalid UTF-8 with Unicode mode enabled. ripgrep 14 uses that new mode, but I haven't updated that FAQ answer yet.
[1]: https://intel.github.io/hyperscan/dev-reference/api_files.ht...
[2]: https://github.com/p-ranav/hypergrep/blob/ee85b713aa84e0050a...
[3]: https://github.com/p-ranav/hypergrep/blob/ee85b713aa84e0050a...
[4]: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#why...
- Hypergrep: A Fast Recursive Grep
linux-regex-module
What are some alternatives?
moar - Moar is a pager. It's designed to just do the right thing without any configuration.
linux-uek - Oracle Linux UEK: Unbreakable Enterprise Kernel
rebar - A biased barometer for gauging the relative speed of some regex engines on a curated set of tasks.
grab - experimental and very fast implementation of a grep
librapid - A highly optimised C++ library for mathematical applications and neural networks.
awesome-ebpf - A curated list of awesome projects related to eBPF.
grepedit
python-hyperscan - 🐍 A CPython extension for the Hyperscan regular expression matching library.
p4-fusion - A fast Perforce to Git conversion tool written in C++ using Perforce Helix Core C++ API and Libgit2
repgrep - An interactive replacer for ripgrep that makes it easy to find and replace across files on the command line.
streampager - A pager for command output or large files
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore