regex_test
Test a regular expression pattern against a string. Returns all matches including groups and indices for debugging and validation.
Instructions
Test a regular expression pattern against an input string. Returns all matches with groups and indices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | The regex pattern (without delimiters) | |
| flags | No | Regex flags (default: 'g') | g |
| input | Yes | The string to test against |