Rust Rewrite Index

pcre2

New Perl Compatible Regular Expression Library - utilities

Rust efforts

Research record · 2026-11-29

Searched PCRE2 Rust source ports, PCRE-compatible engines and Rust PCRE2 bindings. Oxidized PCRE2 is a limited independent implementation, not the original C library or a binding; no complete direct PCRE2 source port surfaced in these sources.

Original source check. The packaged source scan found zero files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Rust component

Oxidized PCRE2

Rust implementation of a practical PCRE2 subset for grep -P; upstream says it is not a full drop-in replacement and its pcre2test is a stub.

Evidence checked 2026-11-29

Project structure

This is PCRE2, the new implementation of PCRE, a library of functions to support regular expressions whose syntax and semantics are as close as possible to those of the Perl 5 language. New projects should use this library in preference to the older library, confusingly called pcre3 in Debian.

Inside the source tree

Source files by extension in this snapshot · C (69), Zig (1)

Selected components packaged from this source in Debian 13.

  • pcre2-utils · New Perl Compatible Regular Expression Library - utilities
  • libpcre2-8-0 · New Perl Compatible Regular Expression Library- 8 bit runtime files
  • libpcre2-16-0 · New Perl Compatible Regular Expression Library - 16 bit runtime files
  • libpcre2-32-0 · New Perl Compatible Regular Expression Library - 32 bit runtime files
  • libpcre2-posix3 · New Perl Compatible Regular Expression Library - posix-compatible runtime files
  • libpcre2-dev · New Perl Compatible Regular Expression Library - development files

Source record

Debian snapshot version
10.46-1~deb13u3

More in this category

Libraries & formats

How statuses are assigned