Regex matching code internal code.
destruct __internal._regex_match()
: Class destructor.get_group(group)
: Get the subgroup's matched text.group
: Group number to retrieve (0 is the entire match.)get_match_begin()
: Get 0-based position in string where match occurred.get_num_groups()
: Get the number of subgroups collected.