pkg.soopen package index

brew / rank 18294

Install rgxg with Homebrew, apk, apt, Nix

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

Additional install commands

macOS

Homebrewverified · 100%
brew install rgxg

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add rgxg

Alpine Linux edge package indexes · rgxg · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install rgxg

Debian stable package indexes · rgxg · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#rgxg

nixpkgs package indexes · pkgs/by-name/rg/rgxg/package.nix · source: api.github.com

overview

Package summary

C library and command-line tool to generate (extended) regular expressions

Commands and aliases

  • rgxg

history

Project history and usage

rgxg is a C library and command-line tool that generates extended regular expressions for ranges and network address blocks.

Project history

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.

Adoption history

The official site records downstream packages in Debian, Ubuntu, Alpine Linux, the Arch User Repository, NixOS, FreeBSD, and Homebrew.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2020-04-12: Version 0.1.2 released.
  • 2024-05-19: Official project website last updated.

Related projects

  • rgxg generates expressions for use with regex consumers such as grep, validators, and application libraries; it does not itself replace those matching engines.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

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
rgxgcliglobal 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 version0.1.2
manager updated2026-09-12
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/rgxg/rgxg

install metadata

Package metadata

Package keybrew:rgxg
Version0.1.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/rgxg
Homepagehttps://rgxg.github.io
Repositoryhttps://github.com/rgxg/rgxg
Upstream docshttps://rgxg.github.io
LicenseZlib
Source archivehttps://github.com/rgxg/rgxg/releases/download/v0.1.2/rgxg-0.1.2.tar.gz
Last updated2026-09-12T10:46:27Z
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 Namergxg
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

librgxg-dev 0.1.2-7

development files and documentation for librgxg

https://rgxg.github.io

sudo apt install librgxg-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: rgxg
  • 1 dependencies
  • normalized package name match
  • Matched by: Rgxg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: librgxg-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

librgxg0 0.1.2-7

C library to generate regular expressions

https://rgxg.github.io

sudo apt install librgxg0
  • Section: libs
  • Architecture: amd64
  • Source Package: rgxg
  • 1 dependencies
  • normalized package name match
  • Matched by: Rgxg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: librgxg0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

rgxg 0.1.2-7

command-line tool to generate regular expressions

https://rgxg.github.io

sudo apt install rgxg
  • Section: utils
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Rgxg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: rgxg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

rgxg

nix profile install nixpkgs#rgxg
  • normalized package name match
  • Matched by: Rgxg
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/rg/rgxg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

librgxg-dev 0.1.2-5

development files and documentation for librgxg

https://rgxg.github.io

sudo apt install librgxg-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: rgxg
  • 1 dependencies
  • normalized package name match
  • Matched by: Rgxg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: librgxg-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

librgxg0 0.1.2-5

C library to generate regular expressions

https://rgxg.github.io

sudo apt install librgxg0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: rgxg
  • 1 dependencies
  • normalized package name match
  • Matched by: Rgxg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: librgxg0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

rgxg 0.1.2-5

command-line tool to generate regular expressions

https://rgxg.github.io

sudo apt install rgxg
  • Section: universe/utils
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Rgxg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: rgxg from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

rgxg 0.1.2-r2

rgxg (ReGular eXpression Generator) is a C library and a command-line tool to generate (extended) regular expressions.

https://rgxg.github.io/

sudo apk add rgxg
  • License: Zlib
  • Architecture: x86_64
  • Source Package: rgxg
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Rgxg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: rgxg from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

rgxg-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)

https://rgxg.github.io/

sudo apk add rgxg-dev
  • License: Zlib
  • Architecture: x86_64
  • Source Package: rgxg
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Rgxg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: rgxg-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

rgxg-doc 0.1.2-r2

rgxg (ReGular eXpression Generator) is a C library and a command-line tool to generate (extended) regular expressions. (documentation)

https://rgxg.github.io/

sudo apk add rgxg-doc
  • License: Zlib
  • Architecture: x86_64
  • Source Package: rgxg
  • normalized package name match
  • Matched by: Rgxg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: rgxg-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

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

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