Skip to content

Install

Paul Wankadia edited this page Apr 23, 2015 · 33 revisions

Quick links: browse | changes

RE2 should install on any modern Unix clone with g++.

git clone https://code.googlesource.com/re2
cd re2
make test
make install
make testinstall

(On BSD systems, use gmake instead of make.)

No attempt has been made to make RE2 compile on Windows, but if anyone would like to try, patches would be welcomed.

For documentation on how to use RE2, see the comment at the top of re2/re2.h.

How to contribute code.

Mail re2-dev with problems.

RE2's native language is C++.
An Erlang wrapper is at https://github.com/tuncer/re2/.
An Inferno wrapper is at https://github.com/powerman/inferno-re2/.
A Python wrapper is at https://github.com/facebook/pyre2/.
A Ruby wrapper is at https://github.com/axic/rre2/.
A Perl wrapper is at http://search.cpan.org/~dgl/re-engine-RE2-0.05/lib/re/engine/RE2.pm.
An Eiffel wrapper is at http://sourceforge.net/projects/eiffelre2/.

Clone this wiki locally