regex_validate
Validate a regular expression pattern and its flags, returning whether the syntax is correct and a description of the flags.
Instructions
Check if a regex pattern is syntactically valid and describe the flags used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Regular expression pattern to validate | |
| flags | No | Regex flags to validate |