pkg.soopen package index

brew / 順位 686

pcre を Homebrew, apk, MacPorts, Nix, pacman, apt, scoop でインストール

pcre のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install pcre

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install pcre

MacPorts ports tree · devel/pcre/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add pcre

Alpine Linux edge package indexes · pcre · ソース: dl-cdn.alpinelinux.org

Nix確認済み · 92%
nix profile install nixpkgs#pcre

nixpkgs package indexes · pkgs/by-name/pc/pcre/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S pcre

Arch Linux sync databases · pcre · ソース: geo.mirror.pkgbuild.com

Ubuntu apt確認済み · 92%
sudo apt install pcregrep

Ubuntu 24.04 LTS package indexes · pcregrep · ソース: archive.ubuntu.com

Windows

Scoop確認済み · 92%
scoop install main/pcregrep

Scoop official bucket manifest trees · bucket/pcregrep.json · ソース: api.github.com

概要

パッケージ概要

Perl compatible regular expressions library

コマンドとエイリアス

  • pcre-config
  • pcregrep
  • pcretest

履歴

プロジェクトの歴史と使われ方

PCRE, now commonly called PCRE1, is Philip Hazel's C library implementing Perl-compatible regular-expression matching. The Homebrew pcre formula represents the legacy 8.x API rather than its actively maintained successor, PCRE2.

プロジェクトの歴史

Philip Hazel wrote PCRE at the University of Cambridge as a C implementation of regular-expression matching broadly compatible with Perl syntax and semantics.

The original series expanded from an 8-bit library to optional 16-bit support in release 8.30 and 32-bit support in 8.32. A redesigned API appeared as PCRE2 10.00 in January 2015.

PCRE1 concluded with release 8.45. The official documentation now describes it as obsolete and unmaintained while retaining its manuals for existing applications.

採用の歴史

PCRE became a widely packaged compatibility layer for Perl-style regular expressions in C and in software embedding a C regex engine. The supplied metadata records availability across Homebrew, Alpine, Arch, Nix, MacPorts, Scoop, and Ubuntu ecosystems.

The original API remains relevant for legacy consumers, but the official documentation marks PCRE1 end-of-life and advises new projects to use PCRE2.

使われ方

Developers link libpcre, libpcre16, or libpcre32 to compile and match Perl-style patterns from C or through language bindings. The legacy distribution also offers a restricted POSIX wrapper and a C++ wrapper.

pcregrep applies PCRE matching from the command line, pcretest exercises patterns and library behavior, and pcre-config reports build and linkage settings.

PCRE has no documented per-user credentials or runtime configuration file; its feature set is principally selected at build time and queried programmatically or with pcre-config.

パッケージ好きにとっての重要性

PCRE helped make Perl-like regex syntax available outside the Perl runtime through a small, embeddable C library. Package maintainers care about the distinction between the ABI-incompatible PCRE1 and PCRE2 families because migration requires source changes rather than a simple library replacement.

The package also supplies pcregrep, pcretest, and pcre-config, making it both a development dependency and a useful command-line regex toolkit.

タイムライン

  • 1997: Copyright and authorship notices identify the beginning of Philip Hazel's PCRE work.
  • 8.30: PCRE added an optional 16-bit library.
  • 8.32: PCRE added an optional 32-bit library.
  • 2015-01-05: PCRE2 10.00 introduced the redesigned successor API.
  • 2021: PCRE1 8.45 became the final original-series release.

Related projects

  • PCRE2 is the actively maintained successor with a redesigned, incompatible API.
  • Perl 5 provides the syntax and semantics that originally inspired PCRE.
  • The PCRE distribution includes POSIX-compatible wrapper functions and the pcregrep and pcretest tools.

ソース

  • Official PCRE homepage: https://www.pcre.org/
  • Official PCRE1 documentation index: https://www.pcre.org/original/doc/html/index.html
  • Official PCRE1 specification: https://www.pcre.org/original/doc/html/pcre.html
  • Official PCRE2 NEWS: https://github.com/PCRE2Project/pcre2/blob/main/NEWS
  • Official PCRE2 README: https://github.com/PCRE2Project/pcre2/blob/main/README
  • source_facts.package-manager

セキュリティ状態

リスクレベル: グリーン

library-like package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • library-like package without higher-risk signals

信号

  • metadata:library-like

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
pcre-configcliグローバル実行可能ファイル
pcregrepcliグローバル実行可能ファイル
pcretestcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-09-19
マネージャ版8.45
マネージャ更新日2026-09-10
ローカルデータOK
上流not checked
検出された最新未検出

https://www.pcre.org/

  • 情報Release/tag comparison is only available for GitHub repositories.https://www.pcre.org/信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:pcre
バージョン8.45
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/pcre
ホームページhttps://www.pcre.org/
上流ドキュメントhttps://www.pcre.org/
ライセンスBSD-3-Clause
ソースアーカイブhttps://downloads.sourceforge.net/project/pcre/pcre/8.45/pcre-8.45.tar.bz2
最終更新2026-09-10T23:22:41Z
Pulseupdated
macOS 提供ライブラリbzip2
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepcre
Aliases
  • pcre1
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

pcre

nix profile install nixpkgs#pcre
  • normalized package name match
  • 一致条件: Pcre
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pc/pcre/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

libpcre16 8.45-r4

PCRE with 16 bit character support

https://www.pcre.org/

sudo apk add libpcre16
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: pcre
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Pcre
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libpcre16 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libpcre32 8.45-r4

PCRE with 32 bit character support

https://www.pcre.org/

sudo apk add libpcre32
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: pcre
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Pcre
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libpcre32 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libpcrecpp 8.45-r4

C++ bindings for PCRE

https://www.pcre.org/

sudo apk add libpcrecpp
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: pcre
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Pcre
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libpcrecpp from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

pcre 8.45-r4

Perl-compatible regular expression library

https://www.pcre.org/

sudo apk add pcre
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: pcre
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Pcre
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pcre from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

pcre-dev 8.45-r4

Perl-compatible regular expression library (development files)

https://www.pcre.org/

sudo apk add pcre-dev
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: pcre
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Pcre
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pcre-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

pcre-doc 8.45-r4

Perl-compatible regular expression library (documentation)

https://www.pcre.org/

sudo apk add pcre-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: pcre
  • normalized package name match
  • 一致条件: Pcre
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pcre-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

pcre-static 8.45-r4

Perl-compatible regular expression library (static library)

https://www.pcre.org/

sudo apk add pcre-static
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: pcre
  • normalized package name match
  • 一致条件: Pcre
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pcre-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

pcre-tools 8.45-r4

Auxiliary utilities for PCRE

https://www.pcre.org/

sudo apk add pcre-tools
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: pcre
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Pcre
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pcre-tools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
pacman95%

pcre 8.45-5

A deprecated library that implements Perl 5-style regular expressions

https://www.pcre.org/

sudo pacman -S pcre
  • License: BSD
  • Architecture: x86_64
  • 7 依存関係
  • 5 提供
  • normalized package name match
  • 一致条件: Pcre
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: pcre from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
MacPorts95%

pcre

sudo port install pcre
  • normalized package name match
  • 一致条件: Pcre
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/pcre/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Ubuntu apt92%

pcregrep 2:8.39-15build1

grep utility that uses perl 5 compatible regexes.

sudo apt install pcregrep
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: pcre3
  • 2 依存関係
  • installed executable or alias match
  • 一致条件: Pcregrep
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pcregrep from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Scoop92%

main/pcregrep

scoop install main/pcregrep
  • installed executable or alias match
  • 一致条件: Pcregrep
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/pcregrep.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation