macOS
brew install regex-optlocal Homebrew formula metadata
安装
brew install regex-optlocal Homebrew formula metadata
概览
Perl-compatible regular expression optimizer
历史
regex-opt is a command-line optimizer that rewrites supported Perl-compatible regular expressions using character-set folding, alternative combination, count simplification, parenthesis reduction, and repeated-sequence compression.
Joel Yliluoma, also known as Bisqwit, wrote regex-opt as a GPL-licensed optimizer for Perl-compatible regular expressions. The official archive documents releases spanning 2004 through 2017.
The official release archive shows a small, long-lived command-line utility distributed as source tarballs rather than a large framework. Homebrew subsequently made it convenient to install on macOS.
Run regex-opt with a regular expression as its argument; it prints an optimized expression. Because anchors, capturing semantics, Unicode-specific markup, and several advanced constructs are unsupported or transformed, users should check compatibility before substituting its output in production patterns.
regex-opt is an unusual single-purpose Unix-style filter: it transforms a regular expression into a generally shorter equivalent expression. Its explicit catalogue of supported and unsupported syntax also makes its optimization boundaries inspectable.
安全态势
没有找到 regex-opt 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
regex-opt | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://bisqwit.iki.fi/source/regexopt.html
安装元数据
| 软件包键 | brew:regex-opt |
|---|---|
| 版本 | 1.2.4 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/regex-opt |
| 主页 | https://bisqwit.iki.fi/source/regexopt.html |
| 上游文档 | https://bisqwit.iki.fi/source/regexopt.html |
| 许可证 | GPL-2.0-only |
| 源码归档 | https://bisqwit.iki.fi/src/arch/regex-opt-1.2.4.tar.gz |
| 最后更新 | 2026-09-13T07:54:11Z |
| Pulse | updated |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | regex-opt |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.