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.20220201
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.20220201.tar.gz | 8.7 kB | Details |
Built distributions (wheels)
Total release size: 5.4 MB
Release files / google-re2-0.2.20220201.tar.gz
| Download URL | google-re2-0.2.20220201.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1fc78c0b574cfbdba4b9120de2e596b3ba11b90d2da46682c1a0a5d2da7e944f
|
|
BLAKE2b-256 checksum How to use checksums |
f26ef3ef6336a46c7d285df0d0360621257a8f6ee45daeca30f5a52ed3962550
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|
Release files / google_re2-0.2.20220201-cp310-cp310-manylinux_2_24_x86_64.whl
| Download URL | google_re2-0.2.20220201-cp310-cp310-manylinux_2_24_x86_64.whl |
|---|---|
| Size | 344.0 kB |
| Tags | CPython 3.10 Linux glibc 2.24+ x86-64 |
|
SHA-256 checksum How to use checksums |
3172e3730101dc9a5e5dff8738f5c42e2eedf0f243d2856d903c96e69ddb24b9
|
|
BLAKE2b-256 checksum How to use checksums |
84078a16fb509f2ad7d2f338ec46d935c5238469d15275c103ad42648c96215e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|
Release files / google_re2-0.2.20220201-cp310-cp310-manylinux_2_24_aarch64.whl
| Download URL | google_re2-0.2.20220201-cp310-cp310-manylinux_2_24_aarch64.whl |
|---|---|
| Size | 320.5 kB |
| Tags | CPython 3.10 Linux glibc 2.24+ ARM64 |
|
SHA-256 checksum How to use checksums |
83ac5ee8242f8a6d4c29d62e98dc1432ab54a59f2a349f7a884f67cea48378fe
|
|
BLAKE2b-256 checksum How to use checksums |
02fbf7b36f8a81ccfc6b41145d283081aee1a78b1db53d2491d26ecc53f3400d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|
Release files / google_re2-0.2.20220201-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | google_re2-0.2.20220201-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 346.0 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
4fcab62797ab2ae5a20ada3a4c71df0a7dca869f78c34bf49eed3498e4784e59
|
|
BLAKE2b-256 checksum How to use checksums |
f95e9433f25570d314d31dd860665857f2403ecb02170ebefff667a136529e02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|
Release files / google_re2-0.2.20220201-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | google_re2-0.2.20220201-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 325.9 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
fdcce822d4239e9a3ac4c8e21b677e7a092cc80ce2f09ed92f3f838920382a0d
|
|
BLAKE2b-256 checksum How to use checksums |
a7bb42049c0d7801ac57f60288f5a442d953ca06fb56d089b9e7ec3a92825283
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|
Release files / google_re2-0.2.20220201-cp39-cp39-manylinux_2_24_x86_64.whl
| Download URL | google_re2-0.2.20220201-cp39-cp39-manylinux_2_24_x86_64.whl |
|---|---|
| Size | 344.1 kB |
| Tags | CPython 3.9 Linux glibc 2.24+ x86-64 |
|
SHA-256 checksum How to use checksums |
cf24a669d5b90e9a42e0c27de91ef005af85bbc66b23b20a124c5510f9df3c11
|
|
BLAKE2b-256 checksum How to use checksums |
a052145943df44fac9e0c4cc3d59d461fa7ce03e5392fb66df11594d725d9fbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|
Release files / google_re2-0.2.20220201-cp39-cp39-manylinux_2_24_aarch64.whl
| Download URL | google_re2-0.2.20220201-cp39-cp39-manylinux_2_24_aarch64.whl |
|---|---|
| Size | 320.6 kB |
| Tags | CPython 3.9 Linux glibc 2.24+ ARM64 |
|
SHA-256 checksum How to use checksums |
1df65183fbfe8b8470bf310207a14ceb6ba64bc002e2048e7c3ecb1c362a179e
|
|
BLAKE2b-256 checksum How to use checksums |
d307ff25cce4cb75186d31938cdc3ef6ff41de64e1844bad775b5c0969c489fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|
Release files / google_re2-0.2.20220201-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | google_re2-0.2.20220201-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 346.2 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
df28205fcb9f27876fecc037d085228b81c875a83605cb78c51d992650b53157
|
|
BLAKE2b-256 checksum How to use checksums |
485e47a350866e47e5d2b2b291338712fcb542323f863721b77292cd5ca73598
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|
Release files / google_re2-0.2.20220201-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | google_re2-0.2.20220201-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 326.1 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
415d0d2805c5c174b369011ab441a961f5c174fe94416f28115be0e24560ad18
|
|
BLAKE2b-256 checksum How to use checksums |
f8c7e6ad5648a4f2f4a2ec1520e4384a5bbc4b007b062a63d3858cc7eee2264b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|
Release files / google_re2-0.2.20220201-cp38-cp38-manylinux_2_24_x86_64.whl
| Download URL | google_re2-0.2.20220201-cp38-cp38-manylinux_2_24_x86_64.whl |
|---|---|
| Size | 343.7 kB |
| Tags | CPython 3.8 Linux glibc 2.24+ x86-64 |
|
SHA-256 checksum How to use checksums |
c969569bd3a8396ae251992e79e8eaf3ae5d7facbfddccd7ee7450fdc0e768a3
|
|
BLAKE2b-256 checksum How to use checksums |
8af60629ebf3820144e9254041bd14409c29649309d940bfda8dd8518b41cb63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|
Release files / google_re2-0.2.20220201-cp38-cp38-manylinux_2_24_aarch64.whl
| Download URL | google_re2-0.2.20220201-cp38-cp38-manylinux_2_24_aarch64.whl |
|---|---|
| Size | 320.4 kB |
| Tags | CPython 3.8 Linux glibc 2.24+ ARM64 |
|
SHA-256 checksum How to use checksums |
04df248f009a9610a5dc79f272f0eb4fbd7c20f23a2a325022f5b53811a044f6
|
|
BLAKE2b-256 checksum How to use checksums |
5bd2e2db02fefc4ddbbfa90b7928f15d6cc25b167c2610cbb8995b3820fb9b29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|
Release files / google_re2-0.2.20220201-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | google_re2-0.2.20220201-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 346.0 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
43e716df8d842e1926bc629b6534bdaee784b2cfe6848417193ae3f4aeb5de01
|
|
BLAKE2b-256 checksum How to use checksums |
85c778022988857ed91459eaf2d1d05f780b3d70a68f59e035b7fd0939cc20a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|
Release files / google_re2-0.2.20220201-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | google_re2-0.2.20220201-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 325.9 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
cbadd832aa4dd2c510c5d3fa1e3f431686a3da0e39b26da1d98a214e43ae88b8
|
|
BLAKE2b-256 checksum How to use checksums |
2d39cfea83f4d82bb6e989c433f485bfaaa4b51fcb42073b58287cab7cf02f42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|
Release files / google_re2-0.2.20220201-cp37-cp37m-manylinux_2_24_x86_64.whl
| Download URL | google_re2-0.2.20220201-cp37-cp37m-manylinux_2_24_x86_64.whl |
|---|---|
| Size | 345.3 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.24+ x86-64 |
|
SHA-256 checksum How to use checksums |
a07fa73850731e719b58258f927a90a0fa8f77d38dbe2ede03ff8febff93cde9
|
|
BLAKE2b-256 checksum How to use checksums |
a9fa32e8dc9511af9607e9eb726bead19def41a7cd8d42e9850eae14f9c08d91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|
Release files / google_re2-0.2.20220201-cp37-cp37m-manylinux_2_24_aarch64.whl
| Download URL | google_re2-0.2.20220201-cp37-cp37m-manylinux_2_24_aarch64.whl |
|---|---|
| Size | 321.7 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.24+ ARM64 |
|
SHA-256 checksum How to use checksums |
e509126192689d688041efe614b8d8967184ed6972cb39d323e1c924db819679
|
|
BLAKE2b-256 checksum How to use checksums |
4dd9be654c2865d889ba22da66778406d6c15a0237dec77ed5dc1df44ab1438f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|
Release files / google_re2-0.2.20220201-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | google_re2-0.2.20220201-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 348.2 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
9ee8cf9c028189f479fbad6954b760bf4a62b008ae49495f2dc2e74a1f069e17
|
|
BLAKE2b-256 checksum How to use checksums |
298e8871bd6ae6d38eb43f1e10a5ca2496e0c19d8f4d76cab8f63936841fa865
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|
Release files / google_re2-0.2.20220201-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | google_re2-0.2.20220201-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 |
f72ae7c4f0b23f93ae1b47529a292e75d7f4dddc5eefabbf073df104e62f6a7a
|
|
BLAKE2b-256 checksum How to use checksums |
fe5f1e01a0c8ae5ba7b932eb53685db077f128fc262650c540c8b785dba21829
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9
|