regex_test
Test a regex pattern against input text and retrieve all matches with positions and capture groups.
Instructions
Test a regex pattern against input text. Returns all matches with positions and capture groups.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Regular expression pattern | |
| input | Yes | Text to test against | |
| flags | No | Regex flags: g (global), i (case-insensitive), m (multiline), s (dotAll), u (unicode). Default: g |