macOS
brew install pcre2local Homebrew formula metadata
brew / 順位 11
pcre2 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install pcre2local Homebrew formula metadata
sudo apk add pcre2Alpine Linux edge package indexes · pcre2 · ソース: dl-cdn.alpinelinux.org
sudo dnf install pcre2Fedora Rawhide package metadata · pcre2 · ソース: dl.fedoraproject.org
nix profile install nixpkgs#pcre2nixpkgs package indexes · pkgs/by-name/pc/pcre2/package.nix · ソース: api.github.com
sudo pacman -S pcre2Arch Linux sync databases · pcre2 · ソース: geo.mirror.pkgbuild.com
sudo apt install libpcre2-16-0Debian stable package indexes · libpcre2-16-0 · ソース: deb.debian.org
sudo zypper install libpcre2-16-0openSUSE Tumbleweed package metadata · libpcre2-16-0 · ソース: download.opensuse.org
scoop install main/pcre2grepScoop official bucket manifest trees · bucket/pcre2grep.json · ソース: api.github.com
概要
Perl compatible regular expressions library with a new API
履歴
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.
セキュリティ状態
library-like package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
pcre2-config | cli | グローバル実行可能ファイル | |
pcre2grep | cli | グローバル実行可能ファイル | |
pcre2test | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/PCRE2Project/pcre2
インストールメタデータ
| パッケージキー | brew:pcre2 |
|---|---|
| バージョン | 10.49 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/pcre2 |
| ホームページ | https://www.pcre.org/ |
| リポジトリ | https://github.com/PCRE2Project/pcre2 |
| 上流ドキュメント | https://www.pcre.org/ |
| ライセンス | BSD-3-Clause |
| ソースアーカイブ | https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.49/pcre2-10.49.tar.bz2 |
| 最終更新 | 2026-09-29T02:35:55Z |
| Pulse | updated |
| macOS 提供ライブラリ | bzip2 |
| Bottle | 利用可能 (対象 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 pcre2ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.