Automic VaultAutomic Vault

brew

grex mit Homebrew, MacPorts, Nix, pacman, zypper, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für grex in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install grex

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install grex

MacPorts ports tree · textproc/grex/Portfile · Quelle: api.github.com

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#grex

nixpkgs package indexes · pkgs/by-name/gr/grex/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S grex

Arch Linux sync databases · grex · Quelle: geo.mirror.pkgbuild.com

openSUSE zypperverifiziert · 92%
sudo zypper install grex

openSUSE Tumbleweed package metadata · grex · Quelle: download.opensuse.org

Windows

Scoopverifiziert · 92%
scoop install main/grex

Scoop official bucket manifest trees · bucket/grex.json · Quelle: api.github.com

Überblick

Paketzusammenfassung

Command-line tool for generating regular expressions

Verlauf

Projektgeschichte und Nutzung

grex is a Rust command-line tool and library that generates regular expressions from user-provided test cases. It belongs to the developer-tooling tradition around regex synthesis: not replacing regex knowledge, but giving users a correct starting expression that can be inspected and refined.

Projektgeschichte

The README states that grex began as a Rust port of Devon Govett's JavaScript regexgen project after regexgen development had apparently ceased. Peter M. Stahl's project kept the regex-generation idea but used Rust's strengths for command-line tooling and expanded the feature set beyond the original port.

Official GitHub releases show public versioned releases starting with v0.1.0 on 2019-10-06, followed by v1.0.0 on 2020-02-02. Later releases added and refined library, CLI, Unicode, packaging, and binding surfaces, while the README presents grex as both a command-line executable and a Rust crate with Python bindings.

Adoptionsgeschichte

grex reached package-manager users through the Rust ecosystem first, with crates.io as the upstream registry path, and through binary/package managers such as Homebrew, MacPorts, Scoop, Chocolatey, Huber, Nix, Arch, and openSUSE as reflected by the README and batch package facts. Its packaging surface is broad because it is a single CLI binary but also a reusable library.

Wie es verwendet wird

Users pass examples directly on the command line, from a file, or through a Unix pipeline. By default grex generates a specific expression that matches the supplied test cases; flags can generalize output by converting digits, whitespace, word characters, repeated substrings, anchors, groups, escaping, case sensitivity, verbosity, and colorized display.

The README cautions that generated expressions still need human understanding. That caveat is part of the tool's identity: grex is best used to bootstrap or audit a regex, not to remove the need to understand the target language and engine.

Warum Paket-Nerds sich dafür interessieren

grex is package-nerd significant because it packages an algorithmic helper for one of the most common developer annoyances: turning examples into a regular expression. It is also a Rust CLI case study, distributed as source through cargo and as prebuilt binaries or package-manager formulas for users who do not want a Rust toolchain.

Its relationship to regexgen also makes it a small example of ecosystem migration: a JavaScript idea revived as a Rust CLI and library, then exposed through additional language bindings.

Zeitleiste

  • 2019: v0.1.0 published in the official GitHub release feed.
  • 2020: v1.0.0 published after several 0.x releases.
  • 2021: v1.2.0 and v1.3.0 releases continued the 1.x line.
  • 2022: v1.4.0 and v1.4.1 releases appeared.
  • 2024: v1.4.5 published in the official GitHub release feed.
  • 2025: v1.4.6 published with release assets for several operating-system and CPU targets.

Related projects

  • regexgen is the JavaScript project that grex began by porting.
  • Rust's regex crate is a stated compatibility target for generated expressions.
  • grex-js is the related JavaScript/WebAssembly demo and library surface linked from the repository.
  • crates.io, PyPI, Homebrew, MacPorts, Scoop, Chocolatey, and Huber are distribution surfaces named by upstream or batch package facts.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
grexcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-10
Manager-Version1.4.6
Manager aktualisiert2026-06-15
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv1.4.6

https://github.com/pemistahl/grex

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:grex
Version1.4.6
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/grex
Homepagehttps://pemistahl.github.io/grex-js/
Repositoryhttps://github.com/pemistahl/grex
Upstream-Dokumentationhttps://github.com/pemistahl/grex#readme
LizenzApache-2.0
Quellarchivhttps://github.com/pemistahl/grex/archive/refs/tags/v1.4.6.tar.gz
Zuletzt aktualisiert2026-06-15T10:20:17-04:00
Pulseupdated
Build-Abhängigkeitenrust
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

grex

nix profile install nixpkgs#grex
  • normalized package name match
  • Abgeglichen nach: Grex
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gr/grex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

grex 1.4.6-2

A command-line tool for generating regular expressions from user-provided input strings

https://github.com/pemistahl/grex

sudo pacman -S grex
  • License: Apache-2.0
  • Architecture: x86_64
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Grex
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: grex from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

grex 1.4.6-1.2

CLI regex generator

https://github.com/pemistahl/grex

sudo zypper install grex
  • License: Apache-2.0 AND MPL-2.0 AND MIT AND (Apache-2.0 OR MIT) AND BSL-1.0 AND Apache-2.0 WITH LLVM-exception
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: grex
  • 3 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Grex
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: grex from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

grex

sudo port install grex
  • normalized package name match
  • Abgeglichen nach: Grex
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/grex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/grex

scoop install main/grex
  • normalized package name match
  • Abgeglichen nach: Grex
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/grex.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

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