Perl Compatible Regular Expressions Alternatives

    Perl Compatible Regular Expressions is described as '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'. There are five alternatives to Perl Compatible Regular Expressions for Linux, Mac, Windows, Self-Hosted solutions and FreeBSD. The best alternative is nregex, which is both free and Open Source. Other great apps like Perl Compatible Regular Expressions are TRE (Free, Open Source), RE2 (Free, Open Source), Oniguruma (Free, Open Source) and Hyperscan (Free, Open Source).

    This page was last updated Feb 5, 2020

    1. A DFA based Regex engine that supports submatches. Built with Nim (programming language). Benchmarks show nregex is up to 7 times faster than Perl Compatible Regular Expressions.
    2. TRE is a lightweight, robust, and efficient POSIX compliant regexp matching library with some exciting features such as approximate (fuzzy) matching.
      No screenshots yet


    3. RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library with wrappers for many languages including Perl, Python, Erlang and more.
      No screenshots yet
    4. Oniguruma is a modern and flexible regular expressions library. It encompasses features from different regular expression implementations that traditionally exist in different languages. Character encoding can be specified per regular expression object.
      No screenshots yet
    5. Hyperscan is a high-performance multiple regex matching library. It follows the regular expression syntax of the commonly-used libpcre library, but is a standalone library with its own C API.
      No screenshots yet
    Showing 5 of 5 alternatives