janestreet/re2

OCaml bindings for RE2

46

stars

169

commits

C++

primary language

Jul 10, 2026

updated

Browse cluster: OCaml metaprogramming and PPX

README

How to link against these bindings
==================================

We export a library Re2 with one module Regex which binds the Google re2 regex
library.  Binaries which link to the OCaml Re2 library get the underlying
Google library and these bindings.

The underlying re2 sources updated 18 March 2015 (rev 3d5f1714e63f).

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

Contributors

jdimino-js

55 commits

xclerc

36 commits

public-release

26 commits

trefis

18 commits

janestreet/re2

OCaml bindings for RE2

46

stars

169

commits

C++

primary language

Jul 10, 2026

updated

Browse cluster: OCaml metaprogramming and PPX

README

How to link against these bindings
==================================

We export a library Re2 with one module Regex which binds the Google re2 regex
library.  Binaries which link to the OCaml Re2 library get the underlying
Google library and these bindings.

The underlying re2 sources updated 18 March 2015 (rev 3d5f1714e63f).

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

Contributors

jdimino-js

55 commits

xclerc

36 commits

public-release

26 commits

trefis

18 commits

Languages

C++

65.5%

C

18.2%

Python

8.4%

OCaml

4.8%

HTML

2.1%