Paul Wankadia 8afcf7fcc4 Improve support for the optional ICU dependency.
For GNU make, conditionally populate the `Requires:` field in `re2.pc`.
Use `pkg-config` to obtain the necessary compiler and linker flags when
building `static-testinstall` and `shared-testinstall`.

For CMake, the dependency has to be expressed to CMake itself, not just
to `pkg-config` as above.

Fixes #407.

Change-Id: Ie5e0ea88e0662f54be011b3bc0c57f2cfa852f88
Reviewed-on: https://code-review.googlesource.com/c/re2/+/60931
Reviewed-by: Paul Wankadia <junyer@google.com>
Reviewed-by: Perry Lorier <perryl@google.com>
2023-01-25 14:13:14 +00:00
2015-07-17 02:42:53 +00:00
2022-09-14 14:58:51 +00:00
2014-01-09 19:49:05 -05:00
2010-03-02 17:17:51 -08:00
2021-08-09 16:49:40 +00:00
2021-07-09 00:12:06 +00:00
2021-10-18 14:46:37 +00:00

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++.

The Python wrapper is at https://github.com/google/re2/tree/abseil/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).
Description
No description provided
Readme BSD-3-Clause 13 MiB
Languages
C++ 90.8%
Python 5%
Starlark 1.3%
Makefile 1%
CMake 0.8%
Other 1%