regex_test
Test a regex pattern against text and return every match with its position, helping validate patterns and inspect match results.
Instructions
Test a regex pattern against text and return all matches with positions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to test against. | |
| flags | No | Regex flags (default: g). Options: g, i, m, s. | |
| pattern | Yes | Regular expression pattern. |