Function onig_sys::onig_number_of_capture_histories
[−]
[src]
pub unsafe extern "C" fn onig_number_of_capture_histories(
reg: OnigRegex
) -> c_int
Return the number of capture history defined in the pattern.
int onig_number_of_capture_histories(regex_t* reg)
You can't use capture history if ONIG_SYN_OP2_ATMARK_CAPTURE_HISTORY is disabled in the pattern syntax.(disabled in the default syntax)
arguments
reg
: regex object.