The release of ugrep 5.0 has taken place, enhancing the advanced version of the grep utility for data searching in files. It additionally comes with the interactive ug shell featuring a user interface that provides a preview of surrounding lines. In terms of performance, ugrep vastly outperforms grep. The project's code is written in C++ and is distributed under the BSD license.
The utility combines the most useful features of the grep program with extended functionality, such as the ability to use perl-like regular expressions, fuzzy search, hex dump display mode, nested searching, re-encoding of text encodings, searching in archives (zip, 7z, tar, pax, cpio), compressed files (gz, Z, bz2, lzma, xz, lz4, zstd, brotli), document formats (pdf, doc, docx, odt, epub, rtf), as well as searching for metadata in images and fields in certificates. There is also the possibility to speed up content searches in directories by using an index created separately by the ugrep-indexer utility.

The new version is notable for introducing a new engine for searching with regular expressions, which has improved performance for certain types of patterns. The option "--exclude-fs" has been added to exclude file systems during recursive searches. The option "--all" was added for searching in all files except hidden ones. Syntax highlighting has also been improved.
Source: opennet.ru
