pkg.soopen package index

brew / rank 10624

Install regex-opt with Homebrew

Perl-compatible regular expression optimizer. Version 1.2.4 via Homebrew; verified 2026-09-13.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install regex-opt

local Homebrew formula metadata

overview

Package summary

Perl-compatible regular expression optimizer

Commands and aliases

  • regex-opt

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2004: Version 1.0.0 appeared in the official release archive
  • 2005–2007: The 1.1 and 1.2 release series expanded the utility
  • 2012: Version 1.2.3 was published
  • 2017: Version 1.2.4 was published

Related projects

  • Perl-compatible regular-expression engines
  • GNU make
  • Homebrew

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for regex-opt. Package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 12 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
regex-optcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-09-19
manager version1.2.4
manager updated2026-09-13
local dataok
upstreamnot checked
latest detectednot detected

https://bisqwit.iki.fi/source/regexopt.html

install metadata

Package metadata

Package keybrew:regex-opt
Version1.2.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/regex-opt
Homepagehttps://bisqwit.iki.fi/source/regexopt.html
Upstream docshttps://bisqwit.iki.fi/source/regexopt.html
LicenseGPL-2.0-only
Source archivehttps://bisqwit.iki.fi/src/arch/regex-opt-1.2.4.tar.gz
Last updated2026-09-13T07:54:11Z
Pulseupdated
Bottleavailable (on 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-installnot defined
Servicenone declared

registry facts

Source database details

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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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