Does this regex match — and what does it capture?
regex_testRuns a regular expression against sample text and returns every match with its position and capture groups (named groups included). Use before wiring a pattern into code, instead of guessing whether the escaping survived the trip through JSON and the shell.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to test against. | |
| flags | No | Optional flags, e.g. "gi". Default "g". | |
| pattern | Yes | The regular expression, without surrounding slashes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||