macOS
brew install onigurumalocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für oniguruma in AI-Agent-Workflows.
Installation
brew install onigurumalocal Homebrew formula metadata
sudo apk add onigurumaAlpine Linux edge package indexes · oniguruma · Quelle: dl-cdn.alpinelinux.org
sudo dnf install onigurumaFedora Rawhide package metadata · oniguruma · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#onigurumanixpkgs package indexes · pkgs/by-name/on/oniguruma/package.nix · Quelle: api.github.com
sudo pacman -S onigurumaArch Linux sync databases · oniguruma · Quelle: geo.mirror.pkgbuild.com
sudo zypper install libonig5openSUSE Tumbleweed package metadata · libonig5 · Quelle: download.opensuse.org
Überblick
Regular expressions library
Verlauf
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.
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 |
|---|---|---|---|
onig-config | 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/kkos/oniguruma
Installationsmetadaten
| Paketschlüssel | brew:oniguruma |
|---|---|
| Version | 6.9.10 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/oniguruma |
| Homepage | https://github.com/kkos/oniguruma/ |
| Repository | https://github.com/kkos/oniguruma |
| Upstream-Dokumentation | https://github.com/kkos/oniguruma#readme |
| Lizenz | BSD-2-Clause |
| Quellarchiv | https://github.com/kkos/oniguruma/releases/download/v6.9.10/onig-6.9.10.tar.gz |
| Build-Abhängigkeiten | autoconf, automake, libtool |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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-develQuellspur
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.