Skip to content

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 11:51
· 15 commits to main since this release

First productized release: agent-first regex CLI with a stable JSON contract, standalone binaries and a product homepage.

Added

  • replace command with backreference substitution and replacement count
  • match JSON output now includes per-match capture groups: index, name, value, start, end; absent groups are null
  • Versioned JSON contract: every envelope carries schema: "regexmate/v1", command and ok; single-line error strings
  • Explicit exit codes: 0 ok · 1 invalid regex · 2 usage error · 3 valid pattern, zero matches/replacements
  • Bilingual human output (--lang en|zh, REGEXMATE_LANG)
  • Parser support for lookarounds, atomic groups, flag groups, backreferences, POSIX classes and unicode classes \p{…}
  • --version, --help, stdin input for match/replace, NO_COLOR support
  • Standalone binaries for Windows, Linux and macOS, with SHA-256 checksums
  • Product homepage at https://jrtx.site/regexmate/ with tool-generated railroad diagrams

Changed

  • Clean node type names in JSON output (literal, quantifier, group, lookaround, … instead of internal re-* names)
  • Compile errors cleaned to a single friendly line
  • Repackaged as an installable Racket package: raco pkg install https://github.com/turinglambdaai/regexmate.git

Fixed

  • Character-class items with symbolic escapes no longer confuse the explain/visualizer formatters
  • Empty matches no longer stall the match scan