re2_c.cxx
/* Return the number of captures of the given pattern */
Return the number of captures of the given pattern
Return the number of captures of the given pattern
int
re2c_getncap(struct re2_pattern_t* pattern) {
    RE2* pat = reinterpret_cast<RE2*>(pattern);
    return pat->NumberOfCapturingGroups();
}
int re2c_getncap ( struct re2_pattern_t * pattern ) { RE2 * pat = reinterpret_cast < RE2 * > ( pattern ) ; return pat -> NumberOfCapturingGroups ( ) ; }
Return the number of captures of the given pattern
Return the number of captures of the given pattern