A drop-in replacement for the re module.
It uses RE2 under the hood, of course, so various PCRE features
(e.g. backreferences, look-around assertions) are not supported.
Known differences between this API and the re module's API:
* The error class does not provide any error information as attributes.
* The Options class replaces the re module's flags with RE2's options as
gettable/settable properties. Please see re2.h for their documentation.
* The pattern string and the input string do not have to be the same type.
Any str will be encoded to UTF-8.
* The pattern string cannot be str if the options specify Latin-1 encoding.
Known issues with regard to building the C++ extension:
* Building requires RE2 to be installed on your system.
On Debian, for example, install the libre2-dev package.
* Building requires pybind11 to be installed on your system OR venv.
On Debian, for example, install the pybind11-dev package.
For a venv, install the pybind11 package from PyPI.
* Building on macOS has not been tested yet and will possibly fail.
* Building on Windows has not been tested yet and will probably fail.
Metadata
Release files for google-re2 0.2.20210801
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| google-re2-0.2.20210801.tar.gz | 8.7 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| google_re2-0.2.20210801-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.17+ x86-64 | Details |
| google_re2-0.2.20210801-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.17+ x86-64 | Details |
| google_re2-0.2.20210801-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.17+ x86-64 | Details |
| google_re2-0.2.20210801-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.17+ x86-64 | Details |
Total release size: 1.4 MB
Release files / google-re2-0.2.20210801.tar.gz
| Download URL | google-re2-0.2.20210801.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0806d78691e67970b3761767a30f1c631fed85b87001266c6adcb672ac2c9beb
|
|
BLAKE2b-256 checksum How to use checksums |
5c00fc37c04116f8c51438c5575ee8ef1309e7b9c8c6a55e192c6d91988b9341
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|
Release files / google_re2-0.2.20210801-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | google_re2-0.2.20210801-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 336.9 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
80640ae77e62b8619347308bc15becbc0252a6d4e494c9aa202818432e9d60af
|
|
BLAKE2b-256 checksum How to use checksums |
efb867a24ec404eaa999f8be950285b2cc505191b2b3926de8d24250c50daa1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|
Release files / google_re2-0.2.20210801-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | google_re2-0.2.20210801-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 336.8 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
e58350b1431d24b5ee5cc8604498043e3e5f53e0c6ca103ea2432ac54cd89774
|
|
BLAKE2b-256 checksum How to use checksums |
05bf4202c0ca4b833ccd1e117e72b133bc5f62c15607b0eea1aee757ac4679db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|
Release files / google_re2-0.2.20210801-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | google_re2-0.2.20210801-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 337.8 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
9376cc4d87aa4c39fb3c88918ece0aa1d8861f7631a5340a4fd46cd0790b71da
|
|
BLAKE2b-256 checksum How to use checksums |
1660fa9ec295898504971784d20171cc25c6a927608038bd2a3d16654b621d25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|
Release files / google_re2-0.2.20210801-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | google_re2-0.2.20210801-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 337.7 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
f469ece85e6e118cb29eee2f6e2d5b66eb47a2108cc1dc30a51732a41ab20233
|
|
BLAKE2b-256 checksum How to use checksums |
c7e4a0973791d9423259d4e8a380b42744ae1784da6d3ae71d83f02ce85175d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|