Comparison of regular-expression engines


This is a comparison of regular-expression engines.

Libraries

NameOfficial websiteProgramming languageSoftware licenseUsed by
Boost.RegexC++Notepad++ >= 6.0.0, EmEditor
BoostXpressiveC++
CL-PPCRECommon Lisp
cppreC++
DEELXC++ personal and commercial use
FREJJava
GLib/GRegexC
GRETAC++
RTL, HLSFPGA accelerated >100Gbit/s regex engine for cybersecurity, financial, e-commerce industries.
RTLhardware-accelerated search acceleration using RegEx available for ASIC, FPGA and cloud. Enables massively parallel content processing at ultra-high speeds.
HyperscanC, x86-specific assembly
ICUC, C++Foundation
Jakarta/RegexpJava
java.util.regexJavajEdit
JRegexJava
MATLABMATLAB, The Language of Technical Computing
OnigurumaCAtom, Take Command Console, Tera Term, TextMate, Sublime Text, SubEthaEdit, EmEditor and jq
Onigmo CRuby
PattwoStevesoftJava
PCREC, C++Apache HTTP Server, Nginx, BBEdit, Julia, HHVM, Notepad++ < 6.0.0, PHP, Delphi, R
Qt/QRegExpC++Kate, Kile
regex - Henry Spencer's regular expression librariesC
RE2C++Go, Google Sheets, Gmail, G Suite
Henry Spencer's Advanced Regular ExpressionsC
RGXC++ based component library
SubRegC
TPerlRegExObject Pascal
TRECmusl
TRegExprObject PascalTotal Commander
XRegExpJavaScript
Wolfram Language Wolfram LanguageMathematica, the Wolfram Development Platform

Languages

Language features

NOTE: An application using a library for regular expression support does not necessarily offer the full set of features of the library, e.g. GNU grep which uses PCRE does not offer lookahead support, though PCRE does.

Part 1

Part 2

API features