Agent♥︎Age
Catalog

Regex-LE

Official

by nolindnaidoo · TypeScript

Extract regular expressions from code, each with a ReDoS safety verdict.

io.github.nolindnaidoo/regex-le MCP Server

This MCP server extracts regular expressions from code and returns, for each expression, a ReDoS safety verdict. It supports developers who need to identify regex patterns, assess performance and potential Regular Expression Denial of Service (ReDoS) risk, and validate extracted patterns.

🛠️ Key Features

  • Extract regular expressions from code
  • Provide a ReDoS safety verdict per extracted regex
  • Focus on regex extraction, matching, and validation

🚀 Use Cases

  • Identify and review regex patterns in codebases
  • Validate regular expressions for ReDoS risk
  • Support testing and performance-focused scrutiny of regex usage
  • Assist workflows related to regex tooling (including VS Code contexts)

⚡ Developer Benefits

  • Enables extraction of regex patterns for analysis
  • Adds a security-oriented assessment via ReDoS safety verdicts
  • Helps classify and validate patterns using consistent extraction and testing data

⚠️ Limitations

  • Scope is limited to extracting regex from code and issuing ReDoS safety verdicts

Topics

developer-toolsextractextractionmatchpatternperformanceredosregexregexpregular-expressionsecuritytestvalidationvscodevscode-extension
Regex-LE - agentage MCP Catalog