dsh-tool-regex
Deterministic regular expression tool for testing, finding, replacing, and statically explaining patterns with ReDoS protection in DeepSeek Harness.
Install
$ dsh plugin --profile web add github:omdsh-dev/dsh-tool-regexPlugin Overview & Capabilities
AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.
Key Capabilities
- Tests regex patterns against input strings with boolean outcomes
- Finds all matches with full capture group and named group support
- Performs safe global text replacement using standard JavaScript dollar replacement syntax
- Statically tokenizes and explains regex patterns in human-readable terms without execution
- Enforces multi-layer ReDoS defenses with a 1,000ms worker thread termination timeout
- Guards execution limits including 64KB input size, 16KB pattern/replacement size, and 1,000 match limit
Useful For
- Extracting structured fields and capture groups from logs or raw text without invoking subprocesses
- Validating user-supplied regular expressions and testing string matching deterministically
- Performing safe text substitutions in agent workflows
- Generating human-readable explanations of complex regex patterns for debugging and inspection
Who It Fits
- DeepSeek Harness agent developers
- Developers working with text extraction and log parsing
- AI automation engineers requiring safe deterministic regex execution
Documented Limitations
- Input text is capped at 64,000 bytes (UTF-8) and pattern length at 16KB
- Replacement output capped at 1,000,000 bytes
- Maximum reportable matches in find action capped at 1,000
- Nested unanchored quantifier patterns are constrained by a 1,000ms worker execution timeout
DSH Compatibility
Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
package.json declares 0 runtime, 6 development, 3 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as MIT.
A root package.json was captured and can be inspected by the registry.
Public GitHub source metadata is available for this registry snapshot.
Source & Registry Notes
Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.
- Source repository
- omdsh-dev/dsh-tool-regex
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- b9a748f · 2026-09-14
This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.
Repository Activity
- GitHub stars
- 3GitHub stars
- Forks
- 0
- Open issues
- 1
- Last commit
- 2026-09-10
- Last release
- No release detected
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Vision routing and pixel-level tools for text-only DeepSeek Harness agents with built-in free fallback.
View plugin →Security red-teaming and prompt rule management plugin for DeepSeek Harness web and desktop profiles.
View plugin →Pre-execution safety net blocking destructive shell commands and secret leaks in coding agents.
View plugin →Agent skill for DeepSeek Harness that turns ideas, plans, and codebases into interactive architecture diagrams.
View plugin →