RegExecEx()
Syntax
Result = RegExecEx(*Reg, String$, nmatch, @pmatch())
Description
RegExecEx matches a NULL-terminated String$ against the compiled regular expression in *Reg. It returns 1 for match and 0 when there was no match. It will attempt
to set the matching ranges into the pmatch() array, up to nmatch ranges.
The REGMATCH Struture is declared as follows:Structure REGMATCH
subexp_begin.l
subexp_end.l
EndStructuresubexp_begin is the start offset of the match (relative to @String$) and subexp_end is the offset of the character one past the end of the match. If there is no such subexpression (i.e., nmatch was greater than the number of subexpressions in the *Reg plus one), subexp_begin and subexp_end will both be -1.
Supported OS
Linux