Automic VaultAutomic Vault

brew

使用 Homebrew 安装 onigmo

查看 onigmo 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install onigmo

local Homebrew formula metadata

概览

软件包摘要

Regular expressions library forked from Oniguruma

命令和别名

  • onigmo-config

历史

项目历史与用法

Onigmo, short for Oniguruma-mod, is a BSD-licensed regular-expression library forked from Oniguruma. It focuses on adding syntax supported by Perl 5.10 and later, including operators such as \K, \R, and conditional patterns.

项目历史

The upstream README describes Onigmo as a fork of Oniguruma with a focus on newer expression syntax. Its most important branch of influence came through Ruby: the README says Onigmo is the default regexp library of Ruby 2.0 or later and that many patches are backported from Ruby 2.x.

Ruby's own issue discussion for merging Onigmo into Ruby 2.0 framed the change as replacing the Oniguruma base used by Ruby 1.9's regular-expression and M17N infrastructure with k-takata's modified Onigmo.

采用历史

Onigmo's adoption is strongest through embedders rather than direct CLI use. Ruby made it part of the language runtime, and Fluent Bit's documentation says its Ruby-mode regular-expression parser uses the Onigmo library.

The Homebrew formula exposes Onigmo as a standalone library package with an onigmo-config helper, giving downstream C and C++ consumers a conventional way to compile and link against it.

使用方式

Developers embed Onigmo when they want Ruby-compatible or Perl-influenced regular-expression behavior in native code. The upstream build notes cover Unix/Cygwin configure builds, Windows Visual C++ builds, static and dynamic libraries, tests across encodings, and the onigmo-config flags needed by downstream builds.

为什么软件包爱好者会关心

Onigmo matters because it is both a fork and a runtime substrate: package managers carry it as a library, but many users encounter it indirectly through Ruby-compatible regex behavior. It also illustrates how language runtime needs can pull a general-purpose C library into a specialized fork.

时间线

  • Ruby 2.0 planning: Ruby issue #5820 targeted merging Onigmo as the replacement for Ruby 1.9's Oniguruma-derived regex engine.
  • Ruby 2.0 and later: the Onigmo README identifies it as Ruby's default regexp library in this era.

Related projects

  • Onigmo is directly related to Oniguruma, Ruby's regular-expression engine history, and embedders such as Fluent Bit that expose Ruby-style regular expressions.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
onigmo-configcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本6.2.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/k-takata/Onigmo

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息No cached GitHub release or tag data was available.https://github.com/k-takata/Onigmonone 置信度

安装元数据

软件包元数据

软件包键brew:onigmo
版本6.2.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/onigmo
主页https://github.com/k-takata/Onigmo
仓库https://github.com/k-takata/Onigmo
上游文档https://github.com/k-takata/Onigmo#readme
许可证BSD-2-Clause
源码归档https://github.com/k-takata/Onigmo/releases/download/Onigmo-6.2.0/onigmo-6.2.0.tar.gz
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameonigmo
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment