RE2 Alternatives

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

Copy a direct link to this comment to your clipboard
RE2 alternatives page was last updated

Alternatives list

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

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Windows
    • Linux
     
  2. Hyperscan icon
     Like

    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
     
  3. TRE icon
     Like

    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
     
  4. Oniguruma icon
     Like

    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 of 5 RE2 alternatives