regex_match | Precisamento

regex_match

Searches a string for the first occurrence of a regex, and returns the match id.

Syntax

1
regex_match(regex_id, input)
Argument Type Description
regex_id real The id of the regex to use.
input string The string to search.

Returns: Match id on success; otherwise -1

References

Exceptions

  • RegexMatchTimeoutException: Returns -2