Skip to content
Sections
>> Trisquel >> Packages >> xolotl (13.0) >> python >> python3-re2
[  xolotl  ]
[ Source: re2  ]

Package: python3-re2 (20250805-1build3)

efficient, principled regular expression library, Python bindings

RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library.

RE2 uses automata theory to guarantee that regular expression searches run in time linear in the size of the input. RE2 implements memory limits, so that searches can be constrained to a fixed amount of memory. RE2 is engineered to use a small fixed C++ stack footprint no matter what inputs or regular expressions it must process; thus RE2 is useful in multithreaded environments where thread stacks cannot grow arbitrarily large.

On large inputs, RE2 is often much faster than backtracking engines; its use of automata theory lets it apply optimizations that the others cannot.

This package contains the Python bindings, providing a module (re2) which is a drop-in replacement for the standard library re module.

Other Packages Related to python3-re2

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.34) [not i386]
    Package not available
    dep: libc6 (>= 2.42) [i386]
  • dep: libgcc-s1 (>= 3.0) [riscv64]
    GCC support library
    dep: libgcc-s1 (>= 3.3.1) [amd64, arm64, ppc64el]
    dep: libgcc-s1 (>= 3.5) [armhf]
    dep: libgcc-s1 (>= 4.2) [i386]
  • dep: libre2-11 (= 20250805-1build3)
    efficient, principled regular expression library
  • dep: libre2-11-absl20260107
    virtual package provided by libre2-11
  • dep: libstdc++6 (>= 14)
    GNU Standard C++ Library v3
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
    dep: python3 (<< 3.15)
    dep: python3 (>= 3.14~)

Download python3-re2

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 133.4 kB370 kB [list of files]
arm64 125.7 kB362 kB [list of files]
armhf 133.1 kB298 kB [list of files]
i386 151.3 kB404 kB [list of files]
ppc64el 134.8 kB426 kB [list of files]
riscv64 144.6 kB338 kB [list of files]