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

Copy a direct link to this comment to your clipboard
Perl Compatible Regular Expressions alternatives page was last updated

Alternatives list

  1. nregex icon
     Like
    Copy a direct link to this comment to your clipboard

    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.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Self-Hosted
     
    • nregex is the most popular Self-Hosted alternative to Perl Compatible Regular Expressions.

    • nregex is the most popular Open Source & free alternative to Perl Compatible Regular Expressions.

    • nregex is Free and Open SourcePerl Compatible Regular Expressions is also Free and Open Source
  2. TRE icon
     Like
    Copy a direct link to this comment to your clipboard

    TRE is a lightweight, robust, and efficient POSIX compliant regexp matching library with some exciting features such as approximate (fuzzy) matching.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Windows
    • Linux
     
    • TRE is the most popular Windows, Mac & Linux alternative to Perl Compatible Regular Expressions.

    • TRE is Free and Open SourcePerl Compatible Regular Expressions is also Free and Open Source
  3. RE2 icon
     Like
    Copy a direct link to this comment to your clipboard

    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.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Windows
    • Linux
     
  4. Oniguruma icon
     Like
    Copy a direct link to this comment to your clipboard

    Oniguruma is a modern and flexible regular expressions library. It encompasses features from different regular expression implementations that traditionally exist in different languages.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Linux
     
  5. Hyperscan icon
     Like
    Copy a direct link to this comment to your clipboard

    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. Hyperscan uses hybrid automata techniques to allow simultaneous matching of large...

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Linux
    • FreeBSD
     
5 of 5 Perl Compatible Regular Expressions alternatives