Creates a regex object and returns it’s id.
Syntax
1
regex_create(pattern, options, timeout)
Argument | Type | Description |
---|---|---|
pattern | string | The regex pattern to use. |
options | real | A bit flag representing the regex options (RO_*) to use. |
timeout | real | How long the regex can run before timing out. |
Returns: Regex id