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 Text (unicode in Python 2, str in Python 3) will be encoded to UTF-8.
* The pattern string cannot be Text 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.1.20210601
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.1.20210601.tar.gz | 9.1 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| google_re2-0.1.20210601-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.1.20210601-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.1.20210601-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.1.20210601-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.3 MB
Release files / google-re2-0.1.20210601.tar.gz
| Download URL | google-re2-0.1.20210601.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1c4fffa79fc8d9ef0ea088f95b00d2e6310df3c83059b41445a9fe44aa238b8
|
|
BLAKE2b-256 checksum How to use checksums |
1bb37caa93e52124e458e41070d0df2e390969d2ef8babbe2b48990c67a7cdb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.4
|
Release files / google_re2-0.1.20210601-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | google_re2-0.1.20210601-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 333.8 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
e683a715a3390dfa0a53bcf93c2d1122ef277672a2191d429cfb023f49bce8ff
|
|
BLAKE2b-256 checksum How to use checksums |
01b0e9c2da4cefc46ea8d9d22a588583973ce69c8a230a058a02fc43e375e81a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.4
|
Release files / google_re2-0.1.20210601-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | google_re2-0.1.20210601-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 333.4 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
9383cf421af4ffae595191c6f8c6d8fab61b453c148884b55b3c30f628557bf1
|
|
BLAKE2b-256 checksum How to use checksums |
9f5a7067b29fe6fd02bbf2ac6cc5f0c57182bd4dd2c0c1248cd9e054d22c8fcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.4
|
Release files / google_re2-0.1.20210601-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | google_re2-0.1.20210601-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 336.1 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
d0e01bdfbbce47a2e247d8220fc53c4f949861ba4aa63ebea79d9d0d27740621
|
|
BLAKE2b-256 checksum How to use checksums |
e235130fc2fc37ba1a53ef709aa8f697af313c959ee5113d89cd4bcabdd6b998
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.4
|
Release files / google_re2-0.1.20210601-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | google_re2-0.1.20210601-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 336.0 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ef2441937586bbd8b4da0db6367d5847fec6db3cd08f51d1617088537ef3a80d
|
|
BLAKE2b-256 checksum How to use checksums |
be72ec649f13d372e573cb19732389d21eed6aa9b81c9b7e5c5ade782a18ead6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.4
|