grab
hypergrep
grab | hypergrep | |
---|---|---|
2 | 5 | |
257 | 163 | |
- | - | |
0.0 | 9.3 | |
8 months ago | 11 months ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | MIT License |
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.
grab
-
Ugrep – a more powerful, ultra fast, user-friendly, compatible grep
Also look at https://github.com/stealth/grab from Sebastian Krahmer.
- Grab – experimental and fast implementation of grep
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
What are some alternatives?
ugrep-indexer - A monotonic indexer to speed up grepping by >10x
linux-regex-module - High-performance regular expression matching library for Linux kernel
moar - Moar is a pager. It's designed to just do the right thing without any configuration.
grepedit
rebar - A biased barometer for gauging the relative speed of some regex engines on a curated set of tasks.
librapid - A highly optimised C++ library for mathematical applications and neural networks.
ugrep-benchmarks - ugrep benchmarks
bat - A cat(1) clone with wings.
p4-fusion - A fast Perforce to Git conversion tool written in C++ using Perforce Helix Core C++ API and Libgit2