macOS
brew install pcre2local Homebrew formula metadata
brew / Rang 11
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für pcre2 in AI-Agent-Workflows.
Installation
brew install pcre2local Homebrew formula metadata
sudo apk add pcre2Alpine Linux edge package indexes · pcre2 · Quelle: dl-cdn.alpinelinux.org
sudo dnf install pcre2Fedora Rawhide package metadata · pcre2 · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#pcre2nixpkgs package indexes · pkgs/by-name/pc/pcre2/package.nix · Quelle: api.github.com
sudo pacman -S pcre2Arch Linux sync databases · pcre2 · Quelle: geo.mirror.pkgbuild.com
sudo apt install libpcre2-16-0Debian stable package indexes · libpcre2-16-0 · Quelle: deb.debian.org
sudo zypper install libpcre2-16-0openSUSE Tumbleweed package metadata · libpcre2-16-0 · Quelle: download.opensuse.org
scoop install main/pcre2grepScoop official bucket manifest trees · bucket/pcre2grep.json · Quelle: api.github.com
Überblick
Perl compatible regular expressions library with a new API
Verlauf
PCRE2 is the maintained Perl-Compatible Regular Expressions library, providing C APIs for pattern compilation and matching, Unicode support, multiple code-unit widths, and optional JIT compilation.
PCRE2 was created after nearly two decades of the original API made further development difficult. The redesign introduced a more extensible interface, automatic optimization, refactored internals, and new functionality under distinct pcre2-prefixed APIs.
The first PCRE2 release established a successor line rather than a drop-in replacement. The original library is now obsolete, while PCRE2 continues as the maintained project.
PCRE2 became the maintained PCRE generation for applications and language bindings needing Perl-compatible matching without embedding Perl. Separate library names allow it to coexist with legacy PCRE during migrations.
Its self-contained, permissively licensed implementation is consumed directly by software and indirectly through runtimes, bindings, and command-line tools.
Developers link libpcre2-8, libpcre2-16, or libpcre2-32 according to the required code-unit width and use the compile and match APIs.
pcre2grep supplies command-line searching, pcre2test supports pattern experiments and diagnostics, and pcre2-config reports build settings.
PCRE2 has no documented runtime configuration or credentials file; Unicode, JIT, and related capabilities are primarily build-time features controlled through APIs at runtime.
PCRE2 is a foundational library in many dependency graphs. Maintainers care about its distinct 8-, 16-, and 32-bit code-unit libraries, optional Unicode and JIT features, and its deliberate ABI break from PCRE1.
The pcre2grep and pcre2test utilities also make the package useful outside compiled applications for searching, experimentation, and diagnostics.
Sicherheitslage
library-like package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
pcre2-config | cli | globales Executable | |
pcre2grep | cli | globales Executable | |
pcre2test | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/PCRE2Project/pcre2
Installationsmetadaten
| Paketschlüssel | brew:pcre2 |
|---|---|
| Version | 10.49 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/pcre2 |
| Homepage | https://www.pcre.org/ |
| Repository | https://github.com/PCRE2Project/pcre2 |
| Upstream-Dokumentation | https://www.pcre.org/ |
| Lizenz | BSD-3-Clause |
| Quellarchiv | https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.49/pcre2-10.49.tar.bz2 |
| Zuletzt aktualisiert | 2026-09-29T02:35:55Z |
| Pulse | updated |
| Von macOS bereitgestellte Bibliotheken | bzip2 |
| Bottle | verfügbar (auf arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pcre2 |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
libpcre2-16-0 10.46-1~deb13u1
New Perl Compatible Regular Expression Library - 16 bit runtime files
https://github.com/PCRE2Project/pcre2
sudo apt install libpcre2-16-0libpcre2-32-0 10.46-1~deb13u1
New Perl Compatible Regular Expression Library - 32 bit runtime files
https://github.com/PCRE2Project/pcre2
sudo apt install libpcre2-32-0libpcre2-8-0 10.46-1~deb13u1
New Perl Compatible Regular Expression Library- 8 bit runtime files
https://github.com/PCRE2Project/pcre2
sudo apt install libpcre2-8-0libpcre2-dev 10.46-1~deb13u1
New Perl Compatible Regular Expression Library - development files
https://github.com/PCRE2Project/pcre2
sudo apt install libpcre2-devlibpcre2-posix3 10.46-1~deb13u1
New Perl Compatible Regular Expression Library - posix-compatible runtime files
https://github.com/PCRE2Project/pcre2
sudo apt install libpcre2-posix3pcre2-utils 10.46-1~deb13u1
New Perl Compatible Regular Expression Library - utilities
https://github.com/PCRE2Project/pcre2
sudo apt install pcre2-utilspcre2
nix profile install nixpkgs#pcre2libpcre2-16-0 10.42-4ubuntu2
New Perl Compatible Regular Expression Library - 16 bit runtime files
sudo apt install libpcre2-16-0libpcre2-32-0 10.42-4ubuntu2
New Perl Compatible Regular Expression Library - 32 bit runtime files
sudo apt install libpcre2-32-0libpcre2-8-0 10.42-4ubuntu2
New Perl Compatible Regular Expression Library- 8 bit runtime files
sudo apt install libpcre2-8-0libpcre2-dev 10.42-4ubuntu2
New Perl Compatible Regular Expression Library - development files
sudo apt install libpcre2-devlibpcre2-posix3 10.42-4ubuntu2
New Perl Compatible Regular Expression Library - posix-compatible runtime files
sudo apt install libpcre2-posix3pcre2-utils 10.42-4ubuntu2
New Perl Compatible Regular Expression Library - utilities
sudo apt install pcre2-utilslibpcre2-16 10.47-r1
PCRE2 with 16 bit character support
sudo apk add libpcre2-16libpcre2-32 10.47-r1
PCRE2 with 32 bit character support
sudo apk add libpcre2-32pcre2 10.47-r1
Perl-compatible regular expression library
sudo apk add pcre2Quellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.