...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.