Searches a string for the first occurrence of a regex, beginning from the specified location, and returns the match id.
Syntax
1
regex_match_from(regex_id, input, startat)
| Argument | Type | Description |
|---|---|---|
| regex_id | real | The id of the regex to use. |
| input | string | The string to search. |
| startat | real | The position to start from. |
Returns: Match id on success; Otherwise -1
References
Exceptions
- RegexMatchTimeoutException: Returns -2.