Skip to main content

regexp_exec

Function regexp_exec 

Source
pub fn regexp_exec(recv: &Value, s: &str) -> Result<Value, String>
Expand description

re.exec(s) — returns a match array ([full, ...captures] with .index, .input, .groups), or null. Advances lastIndex under g/y.