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 β€” Model Context Protocol (MCP) Server

This MCP server targets regex extraction and validation. It focuses on finding regex patterns in the current file, testing them, and performing ReDoS (regular expression denial of service) safety screening. Its scope includes literal patterns and RegExp constructors, with outputs intended for code review, linting, and validation workflows.

πŸ› οΈ Key Features

  • Extract regular expressions from code
  • Validate and test extracted regex patterns
  • ReDoS safety verdicts for potential catastrophic backtracking
  • Supports literal patterns and RegExp constructors

πŸš€ Use Cases

  • Regex security and validation (redos, catastrophic-backtracking)
  • Static analysis for code-review and developer-tools workflows
  • Editor/IDE usage related to validation and regex inspection (vscode, vscode-extension, cli)

⚑ Developer Benefits

  • Helps identify regex patterns quickly in the current file
  • Adds ReDoS screening to reduce security risks
  • Supports pattern matching and validation in developer workflows

⚠️ Limitations

  • Described functionality centers on extraction and screening of regex patterns in the current file

Categories / Topics

catastrophic-backtracking, cli, code-review, dos, letools, lint, mcp, pattern-matching, rust, static-analysis, typescript, developer-tools, redos, regex, regular-expression, security, validation, vscode, vscode-extension

Topics

catastrophic-backtrackingclicode-reviewdosletoolslintmcppattern-matchingruststatic-analysistypescriptdeveloper-toolsredosregexregular-expressionsecurityvalidationvscodevscode-extension

Related servers

More in Security