• Home
Name Date Size #Lines LOC

..--

app/04-Jul-2025-357296

benchlog/04-Jul-2025-5,5855,502

doc/04-Jul-2025-1,0651,020

lib/git/04-Jul-2025-10571

python/04-Jul-2025-1,7881,410

re2/04-Jul-2025-35,70526,753

util/04-Jul-2025-2,0001,249

.bazelrcD04-Jul-2025689 2116

BUILD.bazelD04-Jul-202511.1 KiB439411

CMakeLists.txtD04-Jul-20258 KiB269231

CONTRIBUTING.mdD04-Jul-2025128 32

LICENSED04-Jul-20251.5 KiB2827

MODULE.bazelD04-Jul-20251.2 KiB3024

MakefileD04-Jul-202512.1 KiB409319

READMED04-Jul-20251.8 KiB4835

SECURITY.mdD04-Jul-2025293 54

WORKSPACE.bazelD04-Jul-2025260 85

WORKSPACE.bzlmodD04-Jul-2025260 85

libre2.symbolsD04-Jul-2025258 1716

libre2.symbols.darwinD04-Jul-2025248 1312

re2.pc.inD04-Jul-2025275 108

re2Config.cmake.inD04-Jul-2025531 2718

runtestsD04-Jul-2025646 3427

testinstall.ccD04-Jul-2025621 2820

ucs2.diffD04-Jul-202518.8 KiB568536

README

1This is the source code repository for RE2, a regular expression library.
2
3For documentation about how to install and use RE2,
4visit https://github.com/google/re2/.
5
6The short version is:
7
8make
9make test
10make install
11make testinstall
12
13Building RE2 requires Abseil (https://github.com/abseil/abseil-cpp)
14to be installed on your system. Building the testing for RE2 requires
15GoogleTest (https://github.com/google/googletest) and Benchmark
16(https://github.com/google/benchmark) to be installed as well.
17
18There is a fair amount of documentation (including code snippets) in
19the re2.h header file.
20
21More information can be found on the wiki:
22https://github.com/google/re2/wiki
23
24Issue tracker:
25https://github.com/google/re2/issues
26
27Mailing list:
28https://groups.google.com/group/re2-dev
29
30Unless otherwise noted, the RE2 source files are distributed
31under the BSD-style license found in the LICENSE file.
32
33RE2's native language is C++.
34
35The Python wrapper is at https://github.com/google/re2/tree/main/python
36and on PyPI (https://pypi.org/project/google-re2/).
37
38A C wrapper is at https://github.com/marcomaggi/cre2/.
39A D wrapper is at https://github.com/ShigekiKarita/re2d/ and on DUB (code.dlang.org).
40An Erlang wrapper is at https://github.com/dukesoferl/re2/ and on Hex (hex.pm).
41An Inferno wrapper is at https://github.com/powerman/inferno-re2/.
42A Node.js wrapper is at https://github.com/uhop/node-re2/ and on NPM (npmjs.com).
43An OCaml wrapper is at https://github.com/janestreet/re2/ and on OPAM (opam.ocaml.org).
44A Perl wrapper is at https://github.com/dgl/re-engine-RE2/ and on CPAN (cpan.org).
45An R wrapper is at https://github.com/girishji/re2/ and on CRAN (cran.r-project.org).
46A Ruby wrapper is at https://github.com/mudge/re2/ and on RubyGems (rubygems.org).
47A WebAssembly wrapper is at https://github.com/google/re2-wasm/ and on NPM (npmjs.com).
48