Rgx is a regex debugger for the terminal — step-through execution, 3 engines,
code generation, and live stream filtering.
rgx is useful if you:
- Work on remote servers where opening a browser isn't practical — SSH,
containers, air-gapped environments.
- Want to pipe regex results into other commands (echo "log" | rgx -p '\d+' |
sort) — regex101 can't do this.
- Need engine-specific behavior — check whether a pattern works in Rust's
regex crate vs. PCRE2 without guessing.
- Prefer staying in the terminal and find the context switch to a browser
disruptive.
Change 15 to the FreeBSD major version you want; the rest keeps your current architecture. The files are saved under ./All/. Copy them to the other machine and install them there with pkg add. Ignore any warning that suggests pkg bootstrap -f. The quarterly or latest branch comes from your own repository configuration, not from this page.
===> The following configuration options are available for rgx-0.14.3:
DOCS=on: Build and/or install documentation
PCRE2=off: Use Perl Compatible Regular Expressions (version 2)
===> Use 'make config' to modify these settings
devel/rgx: Add new port
Rgx is a regex debugger for the terminal — step-through execution, 3 engines,
code generation, and live stream filtering.
rgx is useful if you:
- Work on remote servers where opening a browser isn't practical — SSH,
containers, air-gapped environments.
- Want to pipe regex results into other commands (echo "log" | rgx -p '\d+' |
sort) — regex101 can't do this.
- Need engine-specific behavior — check whether a pattern works in Rust's
regex crate vs. PCRE2 without guessing.
- Prefer staying in the terminal and find the context switch to a browser
disruptive.
https://github.com/brevity1swos/rgx