RE2 Python bindings
181.40 KB
built 2026-10-17 19:18:24 GMT
Description
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.
Dependencies
44 totalRequires33
- ld-linux-riscv64-lp64d.so.1()(64bit)
- ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit)
- libc.so.6()(64bit)
- libc.so.6(GLIBC_2.27)(64bit)
- libc.so.6(GLIBC_2.32)(64bit)
- libc.so.6(GLIBC_2.34)(64bit)
- libgcc_s.so.1()(64bit)
- libgcc_s.so.1(GCC_3.0)(64bit)
- libre2.so.11()(64bit)
- libstdc++.so.6()(64bit)
- libstdc++.so.6(CXXABI_1.3)(64bit)
- libstdc++.so.6(CXXABI_1.3.11)(64bit)
- libstdc++.so.6(CXXABI_1.3.13)(64bit)
- libstdc++.so.6(CXXABI_1.3.15)(64bit)
- libstdc++.so.6(CXXABI_1.3.2)(64bit)
- libstdc++.so.6(CXXABI_1.3.3)(64bit)
- libstdc++.so.6(CXXABI_1.3.5)(64bit)
- libstdc++.so.6(CXXABI_1.3.9)(64bit)
- libstdc++.so.6(GLIBCXX_3.4)(64bit)
- libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
- libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
- libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
- libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
- libstdc++.so.6(GLIBCXX_3.4.29)(64bit)
- libstdc++.so.6(GLIBCXX_3.4.30)(64bit)
- python(abi) = 3.15
- re2(riscv-64) = 2:20251105-22.fc45
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PartialHardlinkSets) <= 4.0.4-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
- rtld(GNU_HASH)
Provides9
- python-google-re2 = 2:1.1.20251105-22.fc45
- python-re2 = 2:1.1.20251105-22.fc45
- python3-google-re2 = 2:1.1.20251105-22.fc45
- python3-google-re2(riscv-64) = 2:1.1.20251105-22.fc45
- python3-re2 = 2:1.1.20251105-22.fc45
- python3.15-google-re2 = 2:1.1.20251105-22.fc45
- python3.15-re2 = 2:1.1.20251105-22.fc45
- python3.15dist(google-re2) = 1.1.20251105
- python3dist(google-re2) = 1.1.20251105
Obsoletes1
- python3-fb-re2 < 1.0.7-19
Conflicts1
- python3-fb-re2
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
16
Files 1–16 of 16
Component of
buildroots that installed this RPMNo Buildroots
