Re.GroupSourceManipulate matching groups.
Manipulate matching groups.
Information about groups in a match. As is conventional, every match implicitly has a group 0 that covers the whole match, and explicit groups are numbered from 1.
Similar to get, but returns an option instead of using an exception.
Similar to offset, but returns an option instead of using an exception.
Return the start of the match. Raise Not_found if the group did not match.
Similar to start_opt, but returns an option instead of using an exception.
Return the end of the match. Raise Not_found if the group did not match.
Similar to stop_opt, but returns an option instead of using an exception.
Returns the total number of groups defined - matched or not. This function is experimental.