regex_regex_match
Match a regular expression pattern at the beginning of text. Returns match details including groups and named groups. Use for start-of-string matching.
Instructions
[regex] Match a pattern at the START of text. Returns {matched, match, start, end, groups, named_groups}. Use regex_search for matching anywhere in text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| text | Yes | ||
| flags | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |