Regular Expressions are one of the most important tools in a programmer’s toolbox.
A regex master can achieve magical string manipulation with a few characters!
If you’ve never heard about regular expressions, now is time. RegexBuddy can help get you started.
Those Implementations are not the only ones though, there are numerous regex engines in the wild. I gathered the interesting ones for you in this blog post.
The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. PCRE has its own native API, as well as a set of wrapper functions that correspond to the POSIX regular expression API. The PCRE library is free, even for building proprietary software.
You can grab the C++ library here, and there are bindings for many other languages.
Google has its own implementation of regex, called RE2.
RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It’s used internally by Google and in under constant development.
Oniguruma supports a variety of character encodings. It used to be the default regular expression engine for Ruby.
Onigmo is a fork of Oniguruma, which includes some features introduced in Perl 5.10+. It is also the default regular expression engine for Ruby since version 2.0.
re3 tries to re-invent the syntax of regular expressions to make them more readable, and thus easier to learn and maintain.
According to its creator, Aur Saraf: Regular Expressions are one of the best ideas in the programming world. However, Regular Expression syntax is a ^#.\! accident from the 70s. Lets fix it.*
! re3 is only implemented in python