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 built-google-re2 0.0.7.20210224100510
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| built_google_re2-0.0.7.20210224100510-cp39-cp39-manylinux2014_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.17+ x86-64 | Details |
| built_google_re2-0.0.7.20210224100510-cp38-cp38-manylinux2014_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.17+ x86-64 | Details |
| built_google_re2-0.0.7.20210224100510-cp37-cp37m-manylinux2014_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.17+ x86-64 | Details |
| built_google_re2-0.0.7.20210224100510-cp36-cp36m-manylinux2014_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.17+ x86-64 | Details |
Total release size: 2.0 MB
Release files / built_google_re2-0.0.7.20210224100510-cp39-cp39-manylinux2014_x86_64.whl
| Download URL | built_google_re2-0.0.7.20210224100510-cp39-cp39-manylinux2014_x86_64.whl |
|---|---|
| Size | 492.6 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
5ef0bb28b0e2a0922a406dd146b0f6aae2654d0ec2d96876a8398074121fd9f3
|
|
BLAKE2b-256 checksum How to use checksums |
6c365c00f1a7bc8ced209a9a0300b2d9c2b5fa78ba0e6d1fef047d73908854bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.2
|
Release files / built_google_re2-0.0.7.20210224100510-cp38-cp38-manylinux2014_x86_64.whl
| Download URL | built_google_re2-0.0.7.20210224100510-cp38-cp38-manylinux2014_x86_64.whl |
|---|---|
| Size | 492.5 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a41941e4c815b16cf5487d6de69a63347acf2dfc31bbd0b06e7d3f09dc3fc36b
|
|
BLAKE2b-256 checksum How to use checksums |
c40257681c262c1060b1ccd7ae49ade78f86f0f45ac9b647d0319b3898065cdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.2
|
Release files / built_google_re2-0.0.7.20210224100510-cp37-cp37m-manylinux2014_x86_64.whl
| Download URL | built_google_re2-0.0.7.20210224100510-cp37-cp37m-manylinux2014_x86_64.whl |
|---|---|
| Size | 494.2 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
f5f4964c215e37a3fe4fd9ec1354f908ee99b09bf299895ec2e934e1b49819c5
|
|
BLAKE2b-256 checksum How to use checksums |
52b182d4da73ee27a324ba099131b7430cc00104c07ab1c72c3029670b4ddb0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.2
|
Release files / built_google_re2-0.0.7.20210224100510-cp36-cp36m-manylinux2014_x86_64.whl
| Download URL | built_google_re2-0.0.7.20210224100510-cp36-cp36m-manylinux2014_x86_64.whl |
|---|---|
| Size | 494.1 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
342b5e2f3561c7695c0ab76e7adc4cd72168445a94b5a1b841870d2a943323e4
|
|
BLAKE2b-256 checksum How to use checksums |
410c42dd7404270fc38997afb00ed8a956836d8a4862081f5e2bce2d5d17d78c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.2
|