Agent♥︎Age
Catalog

io.github.MukundaKatta/regex-test-mcp

Official

by MukundaKatta · JavaScript

Trustworthy JS regex testing. Real offsets, named groups, safe against zero-width loops.

MCP server io.github.MukundaKatta/regex-test-mcp provides trustworthy JavaScript regex testing using the actual JS regex engine to match real semantics. It supports lookahead, anchors, named groups, and Unicode escapes. The server exposes three tools: test_regex, find_all, and replace.

🛠️ Key Features

  • Uses the real JavaScript regex engine for exact behavior
  • Tests lookahead, anchors, named groups, and Unicode escapes

🚀 Use Cases

  • Verify whether a regex pattern matches (vs. relying on assumed behavior)
  • Confirm group indices and capture results, including nested capture groups
  • Check replacement outcomes rather than hand-derived edge cases

⚡ Developer Benefits

  • Avoids mistakes from hallucinated regex behavior
  • Ensures replace results account for edge-case semantics such as $&

⚠️ Limitations

  • The provided description does not list additional constraints or configuration options beyond the three tools