Skip to main content
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.
See https://github.com/google/re2/wiki/Syntax for the canonical
reference, but known syntactic "gotchas" relative to Python are:

* PCRE supports \Z and \z; RE2 supports \z; Python supports \z,
but calls it \Z. You must rewrite \Z to \z in pattern strings.

Known differences between this module's 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.20220401

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for google-re2 0.2.20220401
File Size Uploaded
google-re2-0.2.20220401.tar.gz 8.9 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for google-re2 0.2.20220401
File
google_re2-0.2.20220401-cp310-cp310-manylinux_2_24_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.24+ x86-64 Details
google_re2-0.2.20220401-cp310-cp310-manylinux_2_24_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.24+ ARM64 Details
google_re2-0.2.20220401-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
google_re2-0.2.20220401-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details
google_re2-0.2.20220401-cp39-cp39-manylinux_2_24_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.24+ x86-64 Details
google_re2-0.2.20220401-cp39-cp39-manylinux_2_24_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.24+ ARM64 Details
google_re2-0.2.20220401-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.20220401-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ ARM64 Details
google_re2-0.2.20220401-cp38-cp38-manylinux_2_24_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.24+ x86-64 Details
google_re2-0.2.20220401-cp38-cp38-manylinux_2_24_aarch64.whl CPython 3.8 CPython 3.8 Linux glibc 2.24+ ARM64 Details
google_re2-0.2.20220401-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.20220401-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ ARM64 Details
google_re2-0.2.20220401-cp37-cp37m-manylinux_2_24_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.24+ x86-64 Details
google_re2-0.2.20220401-cp37-cp37m-manylinux_2_24_aarch64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.24+ ARM64 Details
google_re2-0.2.20220401-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.20220401-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ ARM64 Details

Total release size: 5.3 MB

Release files / google-re2-0.2.20220401.tar.gz

Download URL google-re2-0.2.20220401.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bf71be32f155f20abd2c9aa3ff3aed9538d19b464dc5387451d4123e2c051d8e
BLAKE2b-256 checksum
How to use checksums
5b16e9494bd24209da5b35571fdcf137d607dd6fa36e87651640bcb3c2a0cb61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9

Release files / google_re2-0.2.20220401-cp310-cp310-manylinux_2_24_x86_64.whl

Download URL google_re2-0.2.20220401-cp310-cp310-manylinux_2_24_x86_64.whl
Size 342.4 kB
Tags CPython 3.10 Linux glibc 2.24+ x86-64
SHA-256 checksum
How to use checksums
bd41d067cd40ffa78fc6851141311b08e5d9c33d423e5419f0789f8f898039e3
BLAKE2b-256 checksum
How to use checksums
33be9707691238b3cac145dd0a8bc2b65075807ac8f1324eb06f96c0559f18a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9

Release files / google_re2-0.2.20220401-cp310-cp310-manylinux_2_24_aarch64.whl

Download URL google_re2-0.2.20220401-cp310-cp310-manylinux_2_24_aarch64.whl
Size 319.5 kB
Tags CPython 3.10 Linux glibc 2.24+ ARM64
SHA-256 checksum
How to use checksums
8aa542e8a4b88840f233b4dc0a85967dadf8cc5900a18ba314eefa7f92eb7e02
BLAKE2b-256 checksum
How to use checksums
2b8627e40f358c0a81a7cfc5e91d7477b9ab8195bfc978e3361ac7d6f800eaf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9

Release files / google_re2-0.2.20220401-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL google_re2-0.2.20220401-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 345.4 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
ad00d4b9a5e2ae34bcd7138c599111d0727a7853777ff05398568a69eb843208
BLAKE2b-256 checksum
How to use checksums
306638adebff73e4007b22c0985efdb0f3864a94ea67d515d5c88259d5b226f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9

Release files / google_re2-0.2.20220401-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL google_re2-0.2.20220401-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 325.2 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
02ba3b406360e2c9317e4b8f58066461487a43bc7f9e5844d9899aa75f1d06c6
BLAKE2b-256 checksum
How to use checksums
62bd0a342fbf546e68da8234832b9b7d99f47c6e0f67cf1651522ba97eed679f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9

Release files / google_re2-0.2.20220401-cp39-cp39-manylinux_2_24_x86_64.whl

Download URL google_re2-0.2.20220401-cp39-cp39-manylinux_2_24_x86_64.whl
Size 342.5 kB
Tags CPython 3.9 Linux glibc 2.24+ x86-64
SHA-256 checksum
How to use checksums
0c48affac8f8455d87e61c884490f3cb5c34d32ba8bddacc26cd3aff3dff19a7
BLAKE2b-256 checksum
How to use checksums
dd45e82cd54060999ef5f6bf7487d6006b8f0834d7b2ad389897b520ef85f595
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9

Release files / google_re2-0.2.20220401-cp39-cp39-manylinux_2_24_aarch64.whl

Download URL google_re2-0.2.20220401-cp39-cp39-manylinux_2_24_aarch64.whl
Size 319.7 kB
Tags CPython 3.9 Linux glibc 2.24+ ARM64
SHA-256 checksum
How to use checksums
f2a56540c5577a0a20f675748f14c9359c75e506ef65c453d18eec9f40527b79
BLAKE2b-256 checksum
How to use checksums
896b7f5b58fa45bf7149ce48c2a69ded4bb224c0a27004fcfa2118792eebdba3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9

Release files / google_re2-0.2.20220401-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL google_re2-0.2.20220401-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 345.7 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
f720181266ffe13a0ba0a5fe4889dbad414761da2de42a4754ca583e188bad5e
BLAKE2b-256 checksum
How to use checksums
be94a771879787ff25a6092e5638acb537b6899c36e6d1465ccbfd58ff5903b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9

Release files / google_re2-0.2.20220401-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL google_re2-0.2.20220401-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 325.2 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
9310d428b93db3e155c87ccf0e5ecb14324a3d7310cbb6d5cb33eb4e02a16ef7
BLAKE2b-256 checksum
How to use checksums
c4d0aa89bb4a8a57addd22cb24b30b2d4a94b7af129ec590c3b84a5f1e0f8911
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9

Release files / google_re2-0.2.20220401-cp38-cp38-manylinux_2_24_x86_64.whl

Download URL google_re2-0.2.20220401-cp38-cp38-manylinux_2_24_x86_64.whl
Size 342.3 kB
Tags CPython 3.8 Linux glibc 2.24+ x86-64
SHA-256 checksum
How to use checksums
ca878e5532273564a113340b02da1ade3410dea14230729c127792c2216f53fa
BLAKE2b-256 checksum
How to use checksums
f857259d7c722928aeab3e644bbe416af6822e92c3b0c03162c5d49a2f3f4f1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9

Release files / google_re2-0.2.20220401-cp38-cp38-manylinux_2_24_aarch64.whl

Download URL google_re2-0.2.20220401-cp38-cp38-manylinux_2_24_aarch64.whl
Size 319.4 kB
Tags CPython 3.8 Linux glibc 2.24+ ARM64
SHA-256 checksum
How to use checksums
0646590d4dcd8061628606ad72782b67eeb75ab97e6c004d678b92427430b678
BLAKE2b-256 checksum
How to use checksums
c8eea7f0be183b74b5ec0dd48c0f1652894ab8fe938819931025648a978827ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9

Release files / google_re2-0.2.20220401-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL google_re2-0.2.20220401-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 345.0 kB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
bd53e0478e3b84599723c18491cbbbd08bf159262f4491101ba3dab4ebe7e95b
BLAKE2b-256 checksum
How to use checksums
255fcc08bb4d7d5cd65cc5b87063d189c1dcfedef555af5661c95a9ff2f3b81b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9

Release files / google_re2-0.2.20220401-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL google_re2-0.2.20220401-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 324.9 kB
Tags CPython 3.8 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
1faed7ce2173161d8d9e9f5e956b3b0e9c7490664b8cb6737874c11cdac77239
BLAKE2b-256 checksum
How to use checksums
eb26c856bd08ed62f2f31b486abbdf8c806bb278015882fd65d71c739727e195
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9

Release files / google_re2-0.2.20220401-cp37-cp37m-manylinux_2_24_x86_64.whl

Download URL google_re2-0.2.20220401-cp37-cp37m-manylinux_2_24_x86_64.whl
Size 345.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.24+ x86-64
SHA-256 checksum
How to use checksums
a4efeaac4260bfbc8dd9f469cfb3aff353cbb58e531ecfccad7d6963e330464b
BLAKE2b-256 checksum
How to use checksums
2027e258f8520d02208cf147c7c1d1e797580ddc04a4e6436b95063cc99bd525
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9

Release files / google_re2-0.2.20220401-cp37-cp37m-manylinux_2_24_aarch64.whl

Download URL google_re2-0.2.20220401-cp37-cp37m-manylinux_2_24_aarch64.whl
Size 321.3 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.24+ ARM64
SHA-256 checksum
How to use checksums
f6906ff810245e1617f0a096cb2d575bb52067acb3ad430529c52f923754781f
BLAKE2b-256 checksum
How to use checksums
f847cb87bc484e8e0a5ce1cee7986c83e3263bb51e7eedd63eacfa4593a8ac0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9

Release files / google_re2-0.2.20220401-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL google_re2-0.2.20220401-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 347.8 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
475695b08018228d88fa8bc5372384f55c4ac412b37530773bda8caa8e543aed
BLAKE2b-256 checksum
How to use checksums
be302bca35b14685e577d307c313828755d11586c79bc7013c63fcfd1de11af3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9

Release files / google_re2-0.2.20220401-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL google_re2-0.2.20220401-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 328.7 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
244f467bade9ec4b6c7409761c54ccb029d44bd64519f354289a2291e7d4acbc
BLAKE2b-256 checksum
How to use checksums
a49b41f4f9df30b17ddb7a8ef0ff62517236694564d0a69c5c5dacc248ce71e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/24.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.9.9
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page