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.20210901
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.20210901.tar.gz | 8.7 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| google_re2-0.2.20210901-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.20210901-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.20210901-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.20210901-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.20210901.tar.gz
| Download URL | google-re2-0.2.20210901.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
676fa9ee54e3fb70f290526fc0f4d78d1e5a4add701b5547494eaf7c68c72247
|
|
BLAKE2b-256 checksum How to use checksums |
9d39941d59de62cb56f86dac46992f6bde083242a0b1d5d9bc42dd4c4b3f6584
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
|
Release files / google_re2-0.2.20210901-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | google_re2-0.2.20210901-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 341.6 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
028bb86b1612cbd7947e7493a92f1dc33c8b95b31a57017c392811650b62bf5d
|
|
BLAKE2b-256 checksum How to use checksums |
acb4d4a3a96116f3363940cd8eeccfd1bc310838564f3cf989b875b0122ac2d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
|
Release files / google_re2-0.2.20210901-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | google_re2-0.2.20210901-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 340.7 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
10020ad49a6217534c5b82543ca4ee56c3317981afb68a8c737c212f222564f5
|
|
BLAKE2b-256 checksum How to use checksums |
543ed728112f45bd525c322a237224654463b489ee815b723f5a212646598a94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
|
Release files / google_re2-0.2.20210901-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | google_re2-0.2.20210901-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 342.6 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
542b9b18f01d06375ffab6a0e2ed809e3de7ddedde3382b6d24a98aced57c7a5
|
|
BLAKE2b-256 checksum How to use checksums |
9dc834ba345003b300a4afe4ebc675c199b8b8ce31cd6e11b208c5a82d9746a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
|
Release files / google_re2-0.2.20210901-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | google_re2-0.2.20210901-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 342.4 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a1175c7e5b5ad12462279184099b7b95f72b25fab4d141289224c7a3ffdc4a06
|
|
BLAKE2b-256 checksum How to use checksums |
b457ffaf6738361f1a32a456e6f66b1d505acbfab1792d75ae222eae1989fa69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
|