macOS
brew install rgxglocal Homebrew formula metadata
brew / rank 18294
C library and command-line tool to generate (extended) regular expressions. Version 0.1.2 via Homebrew; verified 2026-09-12. Also installable with debian: sudo apt install librgxg-dev.
install
brew install rgxglocal Homebrew formula metadata
sudo apk add rgxgAlpine Linux edge package indexes · rgxg · source: dl-cdn.alpinelinux.org
sudo apt install rgxgDebian stable package indexes · rgxg · source: deb.debian.org
nix profile install nixpkgs#rgxgnixpkgs package indexes · pkgs/by-name/rg/rgxg/package.nix · source: api.github.com
overview
C library and command-line tool to generate (extended) regular expressions
history
rgxg is a C library and command-line tool that generates extended regular expressions for ranges and network address blocks.
rgxg, expanded by its project as ReGular eXpression Generator, was written and maintained by Hannes von Haugwitz as both a C library and a command-line program. Version 0.1.2 was released on 12 April 2020, and the project publishes signed source releases and Git tags.
The official site records downstream packages in Debian, Ubuntu, Alpine Linux, the Arch User Repository, NixOS, FreeBSD, and Homebrew.
Users generate expressions matching decimal or hexadecimal number ranges, IPv4 CIDR blocks, and IPv6 CIDR blocks, then pass those expressions to another matching or validation tool. Releases and repository tags can be verified with the maintainer's published OpenPGP key.
rgxg generates difficult boundary-sensitive regular expressions rather than asking users to maintain them by hand. Its dual library and CLI interfaces make the same generator useful in C programs and shell tooling.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
rgxg | cli | global executable |
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.
install metadata
| Package key | brew:rgxg |
|---|---|
| Version | 0.1.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/rgxg |
| Homepage | https://rgxg.github.io |
| Repository | https://github.com/rgxg/rgxg |
| Upstream docs | https://rgxg.github.io |
| License | Zlib |
| Source archive | https://github.com/rgxg/rgxg/releases/download/v0.1.2/rgxg-0.1.2.tar.gz |
| Last updated | 2026-09-12T10:46:27Z |
| Pulse | updated |
| Bottle | available (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-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | rgxg |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
librgxg-dev 0.1.2-7
development files and documentation for librgxg
sudo apt install librgxg-devlibrgxg0 0.1.2-7
C library to generate regular expressions
sudo apt install librgxg0rgxg 0.1.2-7
command-line tool to generate regular expressions
sudo apt install rgxgrgxg
nix profile install nixpkgs#rgxglibrgxg-dev 0.1.2-5
development files and documentation for librgxg
sudo apt install librgxg-devlibrgxg0 0.1.2-5
C library to generate regular expressions
sudo apt install librgxg0rgxg 0.1.2-5
command-line tool to generate regular expressions
sudo apt install rgxgrgxg 0.1.2-r2
rgxg (ReGular eXpression Generator) is a C library and a command-line tool to generate (extended) regular expressions.
sudo apk add rgxgrgxg-dev 0.1.2-r2
rgxg (ReGular eXpression Generator) is a C library and a command-line tool to generate (extended) regular expressions. (development files)
sudo apk add rgxg-devrgxg-doc 0.1.2-r2
rgxg (ReGular eXpression Generator) is a C library and a command-line tool to generate (extended) regular expressions. (documentation)
sudo apk add rgxg-docsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.