regex_debug
Debug regular expressions by testing them against input text, with visual markers and hints for unmatched patterns.
Instructions
Debug a regex pattern against input text. Shows match positions, visual markers, context, and hints when no match is found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Regular expression pattern | |
| input | Yes | Text to debug against | |
| flags | No | Regex flags. Default: g (global) |