Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/google/re2
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.
https://github.com/google/re2
Last synced: 6 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/google/re2
- Owner: google
- License: bsd-3-clause
- Created: 2014-08-18T21:21:26.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2024-05-18T11:14:12.000Z (6 months ago)
- Last Synced: 2024-05-18T19:24:12.059Z (6 months ago)
- Language: C++
- Homepage:
- Size: 9.93 MB
- Stars: 8,657
- Watchers: 238
- Forks: 1,103
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-list - re2 - friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library. | google | 5997 | (C++)
- Awesome-GithubRepos - RE2 - friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library. (This repo contains the list of awesome repo present in github. A tribute to the freely available awesome educational resources.)
- awesome-code-for-gamedev - google/re2 - 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. (C++ Libraries / Tokenizer)
- awesome-bazel - RE2
- awesome-regex - RE2 - Popular C++ regex library used by Go, etc. Non-backtracking engine. (Regex engines / Source code)
README
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 testinstallBuilding RE2 requires Abseil (https://github.com/abseil/abseil-cpp)
to be installed on your system. Building the testing for RE2 requires
GoogleTest (https://github.com/google/googletest) and Benchmark
(https://github.com/google/benchmark) to be installed as well.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/wikiIssue tracker:
https://github.com/google/re2/issuesMailing list:
https://groups.google.com/group/re2-devUnless otherwise noted, the RE2 source files are distributed
under the BSD-style license found in the LICENSE file.RE2's native language is C++.
The Python wrapper is at https://github.com/google/re2/tree/main/python
and on PyPI (https://pypi.org/project/google-re2/).A C wrapper is at https://github.com/marcomaggi/cre2/.
A D wrapper is at https://github.com/ShigekiKarita/re2d/ and on DUB (code.dlang.org).
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).
An R wrapper is at https://github.com/girishji/re2/ and on CRAN (cran.r-project.org).
A Ruby wrapper is at https://github.com/mudge/re2/ and on RubyGems (rubygems.org).
A WebAssembly wrapper is at https://github.com/google/re2-wasm/ and on NPM (npmjs.com).