Skip to content
/ re2 Public

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.

License

Notifications You must be signed in to change notification settings

google/re2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

aecba11 · May 27, 2020
Jul 17, 2015
Mar 15, 2020
Aug 18, 2019
Apr 9, 2015
May 27, 2020
Mar 13, 2020
Jul 10, 2015
Apr 5, 2020
Jan 10, 2014
Oct 11, 2019
May 22, 2020
Nov 20, 2014
Jun 26, 2014
Mar 3, 2010
May 17, 2020
Feb 13, 2019
Aug 18, 2019
Jun 24, 2018
Jun 24, 2018
Aug 26, 2019
Mar 4, 2018
Aug 7, 2016
Feb 7, 2012

Repository files navigation

This is the source code repository for RE2, a regular expression library.

For documentation about how to install and use RE2,
visit https://github.com/google/re2/.

The short version is:

make
make test
make install
make testinstall

There is a fair amount of documentation (including code snippets) in
the re2.h header file.

More information can be found on the wiki:
https://github.com/google/re2/wiki

Issue tracker:
https://github.com/google/re2/issues

Mailing list:
https://groups.google.com/group/re2-dev

Unless otherwise noted, the RE2 source files are distributed
under the BSD-style license found in the LICENSE file.

RE2's native language is C++.

A C wrapper is at https://github.com/marcomaggi/cre2/.
An Erlang wrapper is at https://github.com/dukesoferl/re2/ and on Hex (hex.pm).
An Inferno wrapper is at https://github.com/powerman/inferno-re2/.
A Node.js wrapper is at https://github.com/uhop/node-re2/ and on NPM (npmjs.com).
An OCaml wrapper is at https://github.com/janestreet/re2/ and on OPAM (opam.ocaml.org).
A Perl wrapper is at https://github.com/dgl/re-engine-RE2/ and on CPAN (cpan.org).
A Python wrapper is at https://github.com/facebook/pyre2/ and on PyPI (pypi.org).
An R wrapper is at https://github.com/qinwf/re2r/ and on CRAN (cran.r-project.org).
A Ruby wrapper is at https://github.com/mudge/re2/ and on RubyGems (rubygems.org).

About

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.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published