You are here: Home / LBN / Up2date / Data Science / BastionLinux 36 / python3-google-re2-20240702-21.lbn36.x86_64

python3-google-re2-20240702-21.lbn36.x86_64

Package Attributes
RPM  python3-google-re2-20240702-21.lbn36.x86_64.rpm Architecture  x86_64 Epoch  1 Size  309710 Created  2025/01/03 03:07:33 UTC
Package Specification
Summary RE2 Python bindings
Group Unspecified
License BSD-3-Clause
Home Page https://github.com/google/re2
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.

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PayloadIsZstd)  
rpmlib(CompressedFileNames)  
rpmlib(FileDigests)  
rpmlib(PartialHardlinkSets)  
Provides
python-google-re2
python-re2
python3-google-re2
python3-google-re2(x86-64)
python3-re2
python3.10-google-re2
python3.10-re2
python3.10dist(google-re2)
python3dist(google-re2)
Obsoletes
python3-fb-re2
Conflicts
python3-fb-re2

Document Actions