RE_RETURN_*** [constants]
These constants are used in re_match / re_match_all to specify the format of the return value.
If none of these are specified (flags
= 0), only the success state is returned (true/false/match count).
- RE_RETURN_CAPTURED - return the captured string
- RE_RETURN_OFFSETS - return array of start/end offsets
- RE_RETURN_BOTH - return both the captured string and the start/end offsets in an array