Function onig_sys::onig_name_to_backref_number
[−]
[src]
pub unsafe extern "C" fn onig_name_to_backref_number(
reg: OnigRegex,
name: *const OnigUChar,
name_end: *const OnigUChar,
region: *const OnigRegion
) -> c_int
Return the group number corresponding to the named backref (\k
int onig_name_to_backref_number(regex_t* reg, const UChar* name, const UChar* name_end, OnigRegion *region)
normal return: group number.
arguments 1 reg: regex object. 2 name: group name. 3 name_end: terminate address of group name. 4 region: search/match result region.