redgrep VS ocaml-re

Compare redgrep vs ocaml-re and see what are their differences.

ocaml-re

Pure OCaml regular expressions, with support for Perl and POSIX-style strings (by ocaml)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
redgrep ocaml-re
4 2
150 229
0.7% 2.6%
5.8 8.6
2 months ago 7 days ago
C++ OCaml
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

redgrep

Posts with mentions or reviews of redgrep. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-07.

ocaml-re

Posts with mentions or reviews of ocaml-re. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-07.
  • Show HN: Regex Derivatives (Brzozowski Derivatives)
    10 projects | news.ycombinator.com | 7 Mar 2023
    Note that it's not difficult to (lazily or not) build a NFA using derivatives as well (with Antimirov's construction).

    [1]: https://github.com/ocaml/ocaml-re/

  • Super-expressive – Write regex in natural language
    4 projects | news.ycombinator.com | 21 Jan 2021
    I'm familiar with standard (compact) regex syntax, but I've been using the above syntax recently in a couple small places. I'm a bit on the fence as to which is "better". The compact syntax is, of course, more compact. I think it's a very similar comparison between APL (which I've not used) and most other common programming languages.

    One advantage of the expanded syntax is that it's a bit nicer to incorporate a string variable, e.g. "str some_string" vs. "/#{Regexp.escape(some_string)}/" (to borrow Ruby's syntax).

    [1] https://github.com/ocaml/ocaml-re

What are some alternatives?

When comparing redgrep and ocaml-re you can also consider the following projects:

ixy-languages - A high-speed network driver written in C, Rust, C++, Go, C#, Java, OCaml, Haskell, Swift, Javascript, and Python

google-drive-ocamlfuse - FUSE filesystem over Google Drive

smartstring - Compact inlined strings for Rust.

recross-coq - Regexp engine in Coq for solving regexp crosswords

libskry_r - Lucky imaging library

mcilroy-regex - Doug McIlroy's C++ regular expression matching library

barre - A Regular Expression Library and CFG parser for Rust using Brzozski Derivatives

super-expressive - 🦜 Super Expressive is a zero-dependency JavaScript library for building regular expressions in (almost) natural language

fst - Represent large sets and maps compactly with finite state transducers.

agda-regexp-automata - Formalization of Regular Languages in Agda: regular expressions, finite-state automata, proof of equivalence, proof of the pumping lemma.

ixy - A simple yet fast user space network driver for Intel 10 Gbit/s NICs written from scratch

regexp-Brzozowski - Coq formalization of decision procedures for regular expression equivalence [maintainer=@anton-trunov]