grex

Grex is a command line tool and library that produces Perl-compatible regular expressions based on test entries provided by the user. By default, it aims to create the most specific regular expression that matches only the given entries. The project also offers Python connectors and is fully compatible with Unicode Standard 16.0.

GR

pemistahl · Modern CLI & Rust Tools

STARS8.3K
FORKS200
COMMITS0
CONTRIBUTORS0
VERSIONv1.4.6
UPDATED8 mo ago
RustCLIRegExPythonApache-2.0
What can it do?
  • You can automatically generate a single regular expression from the test inputs you provide.
  • You can create more generalized expressions using command line flags or preprocessing methods.
  • By detecting frequently used prefixes and suffixes, you can convert the repeated substrings into quantifier representation.
User reviews
  • ↓ NegativeHacker News

    The Grex system will be permanently shut down

    “Somewhere between the advent of Gamergate and the advent of Trump-style fascism worldwide. Hate promoters codified abuse of the Internet’s legacy of free speech courtesies, into endorsing and accepting hate speech as a permissible form of “free” speech. They also co-opted the…”

  • • NeutralHacker News

    The Grex system will be permanently shut down

    “I was a regular on grex from the mid-90's to the mid-00's. It was a different time and a different world, both technically and socially. Every user (accounts were free and anonymous) got *nix shell access and email. Their old (but pretty feature-rich) conferencing system (think…”

My note

More in: Modern CLI & Rust Tools

  • fzf★ 83,877 · 2 days ago
  • ripgrep★ 69,586 · 3 days ago
  • fd★ 44,912 · yesterday
  • Yazi★ 43,136 · 3 days ago
  • Zellij★ 35,904 · today
  • delta★ 32,615 · 3 days ago