Ross ROSS = Recommend OSS · open-source software intelligence for agents

pemistahl/grex

A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases observed · 2026-08-28

github.com/pemistahl/grex · homepage · Rust · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

59/100

  • Activity 69
  • Release rhythm 24
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2524
  • days_rel: 292
  • days_push: 187
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

8173 stars · 197 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

grex is a command-line tool and Rust library (with Python bindings) that automatically generates regular expressions from user-provided test case strings. It simplifies writing regex patterns by inferring them from examples.

Use cases

  • generate a regex from example strings
  • infer regular expression from test cases
  • simplify writing regex patterns
  • convert sample strings into a regex
  • learn regex by examples
  • automate regex creation from input samples

When to choose

  • you have example strings and need a matching regex quickly
  • you want a CLI or Rust/Python library for regex synthesis
  • you struggle with writing complex regex patterns manually

When to avoid

  • you need a regex debugger or visual regex tester
  • you need regexes optimized for specific regex engines' syntax beyond common features
  • you need to extract regexes from arbitrary text without examples

Facets

cli-tool · maturity active

parser developer-tools cli developer-tools parsers windows rust python cli cross-platform regex-generation regular-expressions rust-library python-bindings test-cases command-line linux macos

3 sources

Member repositories

RepositoryRoleHealth v2
pemistahl/grexmain59

For agents

markdown · JSON · MCP: product_card(name="pemistahl/grex")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem