macOS
brew install onigurumalocal Homebrew formula metadata
brew
oniguruma のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install onigurumalocal Homebrew formula metadata
sudo apk add onigurumaAlpine Linux edge package indexes · oniguruma · ソース: dl-cdn.alpinelinux.org
sudo dnf install onigurumaFedora Rawhide package metadata · oniguruma · ソース: dl.fedoraproject.org
nix profile install nixpkgs#onigurumanixpkgs package indexes · pkgs/by-name/on/oniguruma/package.nix · ソース: api.github.com
sudo pacman -S onigurumaArch Linux sync databases · oniguruma · ソース: geo.mirror.pkgbuild.com
sudo zypper install libonig5openSUSE Tumbleweed package metadata · libonig5 · ソース: download.opensuse.org
概要
Regular expressions library
履歴
Oniguruma is a BSD-licensed C regular-expression engine known for rich syntax and unusually broad character-encoding support. It became infrastructure for language runtimes, multibyte text processing, and editor syntax-highlighting systems.
The upstream README describes Oniguruma as a modern and flexible regular-expression library that combines features traditionally found in different regex implementations. A key design point is that character encoding can be specified per regular-expression object, with supported encodings ranging from ASCII and UTF families to EUC variants, Shift_JIS, Big5, GB18030, KOI8-R, CP1251, and ISO-8859 variants.
The project continued through 6.x releases with Unicode and API work: 6.9.6 added compatibility and safety-related options, 6.9.7 added callback and Python syntax APIs, 6.9.8 updated to Unicode 14.0.0 and fixed OSS-Fuzz findings, 6.9.9 updated to Unicode 15.1.0, and 6.9.10 updated to Unicode 16.0 and added the (*SKIP) operator. The README states that the project ended on April 24, 2025.
Oniguruma's adoption came from being useful where byte-oriented regex engines were not enough. PHP's mbstring installation manual says Oniguruma is necessary for multibyte regular-expression functions and that PHP 7.4.0 switched to pkg-config detection of the external libonig library after earlier bundled use.
The editor ecosystem also standardized on Oniguruma syntax. Microsoft's vscode-textmate README says TextMate grammars use the Oniguruma dialect and that the library is used in VS Code; the VS Code extension API guide likewise says TextMate grammars rely on Oniguruma regular expressions.
C developers include oniguruma.h, link with libonig, and choose among the native Oniguruma API plus GNU and POSIX-compatible APIs. The upstream README includes sample programs for callouts, encodings, named groups, POSIX usage, scanning, syntax tests, and user-defined Unicode properties.
Downstream users often never call libonig directly. PHP developers touch it through mb_ereg and related mbstring regex functions, while editor-extension authors touch its syntax through TextMate grammar patterns consumed by VS Code and compatible tooling.
Oniguruma is a classic package-graph library: small from a user-interface perspective, but large in dependency impact. It sits under PHP multibyte regex, TextMate grammar tokenization, VS Code-related tooling, and multiple language or editor stacks, so packaging updates can ripple into builds, syntax highlighting, and security maintenance.
セキュリティ状態
library-like package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
onig-config | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/kkos/oniguruma
インストールメタデータ
| パッケージキー | brew:oniguruma |
|---|---|
| バージョン | 6.9.10 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/oniguruma |
| ホームページ | https://github.com/kkos/oniguruma/ |
| リポジトリ | https://github.com/kkos/oniguruma |
| 上流ドキュメント | https://github.com/kkos/oniguruma#readme |
| ライセンス | BSD-2-Clause |
| ソースアーカイブ | https://github.com/kkos/oniguruma/releases/download/v6.9.10/onig-6.9.10.tar.gz |
| ビルド依存関係 | autoconf, automake, libtool |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | oniguruma |
| 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 パッケージリンクとは分けて表示されます。
oniguruma
nix profile install nixpkgs#onigurumaoniguruma 6.9.10-r0
a regular expressions library
https://github.com/kkos/oniguruma
sudo apk add onigurumaoniguruma-dev 6.9.10-r0
a regular expressions library (development files)
https://github.com/kkos/oniguruma
sudo apk add oniguruma-devoniguruma 6.9.10-4.fc44
Regular expressions library
https://github.com/kkos/oniguruma/
sudo dnf install onigurumaoniguruma-devel 6.9.10-4.fc44
Development files for oniguruma
https://github.com/kkos/oniguruma/
sudo dnf install oniguruma-develoniguruma 6.9.10-1
a regular expressions library
https://github.com/kkos/oniguruma
sudo pacman -S onigurumalibonig5 6.9.10-2.3
Regex Library Supporting Different Character Encodings
https://github.com/kkos/oniguruma
sudo zypper install libonig5oniguruma-devel 6.9.10-2.3
Regex Library Supporting Different Character Encodings - Development Files
https://github.com/kkos/oniguruma
sudo zypper install oniguruma-develソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.