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.

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.20211101

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.20211101
File Size Uploaded
google-re2-0.2.20211101.tar.gz 8.7 kB Details

Built distributions (wheels)

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

Total release size: 5.4 MB

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

Download URL google-re2-0.2.20211101.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
305dc0f749c1abad51f8dc59b49b98a58dc06b976727f6b711c87c01944046d9
BLAKE2b-256 checksum
How to use checksums
d7b203fbcad54d1b896e09c89b0342afee3ae528df3c5174ba04aff1a9a8246e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

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

Download URL google_re2-0.2.20211101-cp39-cp39-manylinux_2_24_x86_64.whl
Size 344.4 kB
Tags CPython 3.9 Linux glibc 2.24+ x86-64
SHA-256 checksum
How to use checksums
35c404ea07f8ba0d62bf1195bc89a2183ad7630d87f6653074886a67c233058c
BLAKE2b-256 checksum
How to use checksums
adfb8cc49e7833ab56a58a55d8d66b59f2d4a0f803a8135031a679052b5e47e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

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

Download URL google_re2-0.2.20211101-cp39-cp39-manylinux_2_24_aarch64.whl
Size 320.4 kB
Tags CPython 3.9 Linux glibc 2.24+ ARM64
SHA-256 checksum
How to use checksums
d3dc0f87924bf9be5cd14e69c3d90cd5c78cf455facaf0dbe859795e4c227ceb
BLAKE2b-256 checksum
How to use checksums
e1d48941f453ffb478afb57db2ccaa2e847f876223cb57029081e8aaafec3bcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

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

Download URL google_re2-0.2.20211101-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 344.4 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
3a7bd434d9d74bb3800684c228399cfaa50bd9aed000d6168d70554b051d32b4
BLAKE2b-256 checksum
How to use checksums
625918f7711339c8ba3c422906372048daec1ae93e4c42ad8d9dae98ef75c142
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

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

Download URL google_re2-0.2.20211101-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 324.7 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
0be575a2204257eee3e2767415d4c2043ffc31b272a10ce64f1e013151f25927
BLAKE2b-256 checksum
How to use checksums
f0fce9fd51b7ddd78d4fbbc88ffd3448317f1ffe8738404932821c6fa8b02703
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

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

Download URL google_re2-0.2.20211101-cp38-cp38-manylinux_2_24_x86_64.whl
Size 344.0 kB
Tags CPython 3.8 Linux glibc 2.24+ x86-64
SHA-256 checksum
How to use checksums
c1fb5dbc23fcc2d5a634e23a185ea08e552a83d76bf324ab52b15eb8c0f87795
BLAKE2b-256 checksum
How to use checksums
5ed0524873547963a9425ffd521ea3812e613a5c6a1da4c379acd6ff0553d695
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

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

Download URL google_re2-0.2.20211101-cp38-cp38-manylinux_2_24_aarch64.whl
Size 320.7 kB
Tags CPython 3.8 Linux glibc 2.24+ ARM64
SHA-256 checksum
How to use checksums
47641cca783e00eb05873c9f51a6cd5bc1fc1a4ecb33f3b8c74b620102bfa421
BLAKE2b-256 checksum
How to use checksums
3ffb93616c533f3fa0bdefce1f8b01fddc3c17acf84bb5d0d0c2879c14d5f1ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

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

Download URL google_re2-0.2.20211101-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 343.9 kB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
4a40ab939f5e2b7493faddeb6df8443e62ff418aa21ffcca662b0da698f0cf2f
BLAKE2b-256 checksum
How to use checksums
99efccc730a4d5d757b0c4f0971df4f0842ec9cde37aac3a242fd296e8375a25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

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

Download URL google_re2-0.2.20211101-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 324.5 kB
Tags CPython 3.8 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
863e57f51591cd2878f68b80e85e3f6eb6ebc26a336aafb576789ce54b1d360c
BLAKE2b-256 checksum
How to use checksums
2b00017b3aeee4c7b8f81b0ff8c221104399baeb3ec15f2246234f8478b39b36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

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

Download URL google_re2-0.2.20211101-cp37-cp37m-manylinux_2_24_x86_64.whl
Size 345.7 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.24+ x86-64
SHA-256 checksum
How to use checksums
9536f4d965eaa6754170b4ebdabd6a89b64fe4560cc207fec5272bfad345e8be
BLAKE2b-256 checksum
How to use checksums
a530aca28b38b934df7f3bd0407d0fdf109c8c4a7a4394a05f65b7b1212951aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

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

Download URL google_re2-0.2.20211101-cp37-cp37m-manylinux_2_24_aarch64.whl
Size 321.5 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.24+ ARM64
SHA-256 checksum
How to use checksums
f3c6bac568fb4fedc8c3c8991ae3ac021fd52340f5a64444d100f0b76e6fba71
BLAKE2b-256 checksum
How to use checksums
950ed7d889f9a496db317c4306b0bfa63207d3043f652b301e9ebe0b48005a06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

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

Download URL google_re2-0.2.20211101-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 346.0 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
4092901334817ec105c9cedd41c7057e9e3914fd9321d24b441db2f2df1d4634
BLAKE2b-256 checksum
How to use checksums
8c3ac8714a238e3066f6819f90685b0ac2f4be14fceb8b15f04747cfbe5016ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

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

Download URL google_re2-0.2.20211101-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 327.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
67235bf48cf1d41b3cd0ad42fdafa04afd6f8bfb6c79bf89bc9a01065734f6e2
BLAKE2b-256 checksum
How to use checksums
ad652d90c7156a2d083e517317345a4da27d8064ae61cc4539544656f2695b11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

Release files / google_re2-0.2.20211101-cp36-cp36m-manylinux_2_24_x86_64.whl

Download URL google_re2-0.2.20211101-cp36-cp36m-manylinux_2_24_x86_64.whl
Size 345.7 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.24+ x86-64
SHA-256 checksum
How to use checksums
7f68ac17aa8abe657b970e5e1419223f98ed48dfb70577fe0bbd1697dea74fdb
BLAKE2b-256 checksum
How to use checksums
2e87bdf52e10dac535f4daa0b9cd6c54cba9ce13ae939605acc9baddcc7863da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

Release files / google_re2-0.2.20211101-cp36-cp36m-manylinux_2_24_aarch64.whl

Download URL google_re2-0.2.20211101-cp36-cp36m-manylinux_2_24_aarch64.whl
Size 321.4 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.24+ ARM64
SHA-256 checksum
How to use checksums
07cc08c067156c8fc13d5cb074a4ad2496f3fc73d2b83b80cdfaa2c873edada6
BLAKE2b-256 checksum
How to use checksums
dabc71f765e3d3b034d6b39ec1a22dc86a1d3190f2ad54d838b34142341cd059
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

Release files / google_re2-0.2.20211101-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL google_re2-0.2.20211101-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 345.9 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
1f3b1a0664fcf934e23e449f700fc5fd83a1d93806bd8dc2c395506d05a138a7
BLAKE2b-256 checksum
How to use checksums
bd745c1e5f33342e3bc4a0ac6d8effea86c35d01ce6b937a40aafba54fdfbed5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

Release files / google_re2-0.2.20211101-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL google_re2-0.2.20211101-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 327.1 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
425c9eb2e74aae5bc058ecee5890975d425b3677fc3afc1b0be031cb8dcd0b1d
BLAKE2b-256 checksum
How to use checksums
6e2cf6148d34c098b9ceb8f8b58ef439f6408e72828328ea89bbffe96a95fce1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
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