all options
trixie  ] [  sid  ]
[ Source: re2  ]

Package: python3-re2 (20240702-3 and others)

Links for python3-re2

Screenshot

Debian Resources:

Download Source Package re2:

Maintainer:

External Resources:

Similar packages:

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
  • enhances

Download python3-re2

Download for all available architectures
Architecture Version Package Size Installed Size Files
riscv64 20240702-3+b1 116.3 kB285.0 kB [list of files]