mgrep is a command line tool that allows users to search text files for lines matching a given regular expression. It is similar to the well-known Unix utility, grep.
As a natural extension to the single-line regular expressions, mgrep is also capable of searching for multiline patterns.
mgrep is not a grep replacement, but it is intended to be grep-compatible: implemented options and behavior should be the same as those of grep.
mgrep is written in C++ using the Boost.Regex library.
A configure/make system is provided for Linux, but its source code should compile on all platforms that have the std and Boost.Regex libraries installed.
Follow mgrep - A Multiline grep Implementation
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of mgrep - A Multiline grep Implementation!